「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") | ||
− | : | + | :ラベルとリストボックスを含むダイアログを表示します。 '''[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") | ||
− | : | + | :ラベルとリストボックスを含むダイアログを表示します。 '''[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]''' () | ||
− | : | + | :マルチチョイスボタンで選択したアイテムを取得します。 '''[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) | ||
− | : | + | :ダイアログのタイムアウトを指定します。 '''[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) | ||
− | : | + | :背景色を設定します。 '''[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) | ||
− | : | + | :ボタンの最小サイズを設定します。 '''[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) | ||
− | : | + | :拡張ボタンまたは分割ボタンを設定します。 '''[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) | ||
− | : | + | :ラベルとテキスト編集ボックスを含むダイアログを表示します。 '''[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イベントの[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''' | + | '''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''']. | ||
− | ---- | + | ----このクラスのドキュメントは、次のファイルから生成されました: |
* [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)
|
void begin (BitmappedDisplayController *displayController)
|
void begin (char const *modeline=nullptr, int viewPortWidth=-1, int viewPortHeight=-1, int displayColors=16)
|
void end ()
|
InputResult fileSelector (char const *titleText, char const *messageText, char *inOutDirectory, int maxDirectoryLength, char *inOutFilename, int :maxFilenameLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
|
InputResult folderBrowser (char const *titleText, char const *directory="/", char const *buttonOKText="Close")
|
BitmappedDisplayController * getDisplayController ()
|
InputResult getLastResult ()
|
int menu (char const *titleText, char const *messageText, char const *itemsText, char separator=';')
|
int menu (char const *titleText, char const *messageText, StringList *items)
|
InputResult message (char const *titleText, char const *messageText, char const *buttonCancelText=nullptr, char const *buttonOKText="OK")
|
InputResult messageFmt (char const *titleText, char const *buttonCancelText, char const *buttonOKText, const char *format,...)
|
template<typename Func >
InputResult progressBox (char const *titleText, char const *buttonCancelText, bool hasProgressBar, int width, Func execFunc)
|
int select (char const *titleText, char const *messageText, char const *itemsText, char separator=';', char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
|
InputResult select (char const *titleText, char const *messageText, StringList *items, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
|
int selectedSubItem ()
|
void setAutoOK (int timeout)
|
void setBackgroundColor (RGB888 const &value)
|
void setMinButtonsWidth (int value)
|
void setupButton (int index, char const *text, char const *subItems=nullptr, int subItemsHeight=80)
|
InputResult textInput (char const *titleText, char const *labelText, char *inOutString, int maxLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK", bool passwordMode=false)
|
Public Attributes
Delegate< Canvas * > onPaint |
Detailed Description
InputBox は、ウィザードや単純な入力ボックスなどの単純なUIインターフェイスを作成できるヘルパークラスです。
Definition at line 322 of file inputbox.h.
このクラスのドキュメントは、次のファイルから生成されました: