「App:Library:FabGL:Class:InputBox」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
 
50行目: 50行目:
 
|-
 
|-
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_ab72467a63779dd88176432ff3d5b24b7.html#ab72467a63779dd88176432ff3d5b24b7 select]''' (char const *titleText, char const *messageText, char const *itemsText, char separator=';', char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_ab72467a63779dd88176432ff3d5b24b7.html#ab72467a63779dd88176432ff3d5b24b7 select]''' (char const *titleText, char const *messageText, char const *itemsText, char separator=';', char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
:Shows a dialog with a label and a list box. More...
+
:ラベルとリストボックスを含むダイアログを表示します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_ab72467a63779dd88176432ff3d5b24b7.html#ab72467a63779dd88176432ff3d5b24b7 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a8ab9323152ae5b47daea7dcabdee7e6b.html#a8ab9323152ae5b47daea7dcabdee7e6b select]''' (char const *titleText, char const *messageText, StringList *items, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a8ab9323152ae5b47daea7dcabdee7e6b.html#a8ab9323152ae5b47daea7dcabdee7e6b select]''' (char const *titleText, char const *messageText, StringList *items, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
:Shows a dialog with a label and a list box. More...
+
:ラベルとリストボックスを含むダイアログを表示します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a8ab9323152ae5b47daea7dcabdee7e6b.html#a8ab9323152ae5b47daea7dcabdee7e6b More...]'''
 
|-
 
|-
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a6c5831f0da2247fac5e74c48626c9a87.html#a6c5831f0da2247fac5e74c48626c9a87 selectedSubItem]''' ()
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a6c5831f0da2247fac5e74c48626c9a87.html#a6c5831f0da2247fac5e74c48626c9a87 selectedSubItem]''' ()
:Gets the selected item on a multichoice button. More...
+
:マルチチョイスボタンで選択したアイテムを取得します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a6c5831f0da2247fac5e74c48626c9a87.html#a6c5831f0da2247fac5e74c48626c9a87 More...]'''
 
|-
 
|-
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_ac183cebdfbacb6a523725f0cd620eb9d.html#ac183cebdfbacb6a523725f0cd620eb9d setAutoOK]''' (int timeout)
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_ac183cebdfbacb6a523725f0cd620eb9d.html#ac183cebdfbacb6a523725f0cd620eb9d setAutoOK]''' (int timeout)
:Specifies a timeout for the dialog. More...
+
:ダイアログのタイムアウトを指定します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_ac183cebdfbacb6a523725f0cd620eb9d.html#ac183cebdfbacb6a523725f0cd620eb9d More...]'''
 
|-
 
|-
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82 setBackgroundColor]''' ('''[http://www.fabglib.org/structfabgl_1_1_r_g_b888.html RGB888]''' const &value)
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82 setBackgroundColor]''' ('''[http://www.fabglib.org/structfabgl_1_1_r_g_b888.html RGB888]''' const &value)
:Sets the background color. More...
+
:背景色を設定します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82 More...]'''
 
|-
 
|-
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_a3c7b7124f7c6cd722d53e7032dce1efa.html#a3c7b7124f7c6cd722d53e7032dce1efa setMinButtonsWidth]''' (int value)
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_a3c7b7124f7c6cd722d53e7032dce1efa.html#a3c7b7124f7c6cd722d53e7032dce1efa setMinButtonsWidth]''' (int value)
:Sets minimum buttons size. More...
+
:ボタンの最小サイズを設定します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a3c7b7124f7c6cd722d53e7032dce1efa.html#a3c7b7124f7c6cd722d53e7032dce1efa More...]'''
 
|-
 
|-
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5c26d3b0f55937545f658d66d78c7067.html#a5c26d3b0f55937545f658d66d78c7067 setupButton]''' (int index, char const *text, char const *subItems=nullptr, int subItemsHeight=80)
 
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5c26d3b0f55937545f658d66d78c7067.html#a5c26d3b0f55937545f658d66d78c7067 setupButton]''' (int index, char const *text, char const *subItems=nullptr, int subItemsHeight=80)
:Setups extended button or split-button. More...
+
:拡張ボタンまたは分割ボタンを設定します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5c26d3b0f55937545f658d66d78c7067.html#a5c26d3b0f55937545f658d66d78c7067 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780.html#a0e125469676d904e23584f68c8518780 textInput]''' (char const *titleText, char const *labelText, char *inOutString, int maxLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK", bool passwordMode=false)
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780.html#a0e125469676d904e23584f68c8518780 textInput]''' (char const *titleText, char const *labelText, char *inOutString, int maxLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK", bool passwordMode=false)
:Shows a dialog with a label and a text edit box. More...
+
:ラベルとテキスト編集ボックスを含むダイアログを表示します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780.html#a0e125469676d904e23584f68c8518780 More...]'''
 
|}
 
|}
  
78行目: 78行目:
 
{| class="wikitable"
 
{| class="wikitable"
 
|Delegate< '''[http://www.fabglib.org/classfabgl_1_1_canvas.html Canvas] *''' >  '''[http://www.fabglib.org/classfabgl_1_1_input_box_af3a004aaef5d509371945a87d4239a30.html#af3a004aaef5d509371945a87d4239a30 onPaint]'''
 
|Delegate< '''[http://www.fabglib.org/classfabgl_1_1_canvas.html Canvas] *''' >  '''[http://www.fabglib.org/classfabgl_1_1_input_box_af3a004aaef5d509371945a87d4239a30.html#af3a004aaef5d509371945a87d4239a30 onPaint]'''
:Paint event delegate. More...
+
:Paintイベントの[https://ja.wikipedia.org/wiki/%E3%83%87%E3%83%AA%E3%82%B2%E3%83%BC%E3%83%88_(%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0) デリゲート]。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_af3a004aaef5d509371945a87d4239a30.html#af3a004aaef5d509371945a87d4239a30 More...]'''
 
|}
 
|}
  
 
=== Detailed Description ===
 
=== Detailed Description ===
'''InputBox''' is an helper class which allows to create simple UI interfaces, like wizards or simple input boxes.
+
'''InputBox''' は、ウィザードや単純な入力ボックスなどの単純なUIインターフェイスを作成できるヘルパークラスです。
  
 
[http://www.fabglib.org/inputbox_8h_source.html#l00322 Definition at line '''322''' of file '''inputbox.h'''].
 
[http://www.fabglib.org/inputbox_8h_source.html#l00322 Definition at line '''322''' of file '''inputbox.h'''].
----The documentation for this class was generated from the following files:
+
----このクラスのドキュメントは、次のファイルから生成されました:
  
 
* [http://www.fabglib.org/inputbox_8h_source.html '''inputbox.h''']
 
* [http://www.fabglib.org/inputbox_8h_source.html '''inputbox.h''']

2022年6月9日 (木) 19:47時点における最新版

InputBox Class Reference

InputBox は、ウィザードや単純な入力ボックスなどの単純なUIインターフェイスを作成できるヘルパークラスです。more...

#include <inputbox.h>

パブリックメンバー関数

InputBox (uiApp *app=nullptr)
新しい InputBox インスタンスを作成します。 More...
void begin (BitmappedDisplayController *displayController)
すでに初期化されているディスプレイコントローラから InputBox を初期化します。 More...
void begin (char const *modeline=nullptr, int viewPortWidth=-1, int viewPortHeight=-1, int displayColors=16)
VGA16Controller を使用して、VGAモードラインから InputBox を初期化します。 More...
void end ()
リソースをクリーンアップし、最終的にVGA出力を無効にします。More...
InputResult fileSelector (char const *titleText, char const *messageText, char *inOutDirectory, int maxDirectoryLength, char *inOutFilename, int :maxFilenameLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
指定したパスからファイルとディレクトリを選択します。 More...
InputResult folderBrowser (char const *titleText, char const *directory="/", char const *buttonOKText="Close")
新しいフォルダを作成したり、フォルダとファイルの名前を削除お​​よび変更したりするためのファイルとフォルダおよびボタンを含むダイアログを表示します。More...
BitmappedDisplayController * getDisplayController ()
作成または割り当てられたディスプレイコントローラを取得します。More...
InputResult getLastResult ()
最後のダイアログ結果を取得します。 More...
int menu (char const *titleText, char const *messageText, char const *itemsText, char separator=';')
ラベルとリストボックスを含むダイアログを表示します。メニューと同じように、項目を選択するとダイアログが終了します。 More...
int menu (char const *titleText, char const *messageText, StringList *items)
ラベルとリストボックスを含むダイアログを表示します。メニューと同じように、項目を選択するとダイアログが終了します。 More...
InputResult message (char const *titleText, char const *messageText, char const *buttonCancelText=nullptr, char const *buttonOKText="OK")
ラベルだけのダイアログを表示します。 More...
InputResult messageFmt (char const *titleText, char const *buttonCancelText, char const *buttonOKText, const char *format,...)
ラベルだけのダイアログを表示します。フォーマットされたテキストのようなprintfを許可します。 More...
template<typename Func >

InputResult progressBox (char const *titleText, char const *buttonCancelText, bool hasProgressBar, int width, Func execFunc)

ユーザー関数によって動的に更新される、ラベルと進行状況バーを含むダイアログを表示します。 More...
int select (char const *titleText, char const *messageText, char const *itemsText, char separator=';', char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
ラベルとリストボックスを含むダイアログを表示します。 More...
InputResult select (char const *titleText, char const *messageText, StringList *items, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
ラベルとリストボックスを含むダイアログを表示します。 More...
int selectedSubItem ()
マルチチョイスボタンで選択したアイテムを取得します。 More...
void setAutoOK (int timeout)
ダイアログのタイムアウトを指定します。 More...
void setBackgroundColor (RGB888 const &value)
背景色を設定します。 More...
void setMinButtonsWidth (int value)
ボタンの最小サイズを設定します。 More...
void setupButton (int index, char const *text, char const *subItems=nullptr, int subItemsHeight=80)
拡張ボタンまたは分割ボタンを設定します。 More...
InputResult textInput (char const *titleText, char const *labelText, char *inOutString, int maxLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK", bool passwordMode=false)
ラベルとテキスト編集ボックスを含むダイアログを表示します。 More...


Public Attributes

Delegate< Canvas * > onPaint
PaintイベントのデリゲートMore...

Detailed Description

InputBox は、ウィザードや単純な入力ボックスなどの単純なUIインターフェイスを作成できるヘルパークラスです。

Definition at line 322 of file inputbox.h.


このクラスのドキュメントは、次のファイルから生成されました:



戻る