「App:Library:FabGL:Class:InputBox」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動11行目: | 11行目: | ||
|'''[http://www.fabglib.org/classfabgl_1_1_input_box_aeed16a1f110da832346d6177acd00d07.html#aeed16a1f110da832346d6177acd00d07 InputBox]''' ('''[http://www.fabglib.org/classfabgl_1_1ui_app.html uiApp]''' *app=nullptr) | |'''[http://www.fabglib.org/classfabgl_1_1_input_box_aeed16a1f110da832346d6177acd00d07.html#aeed16a1f110da832346d6177acd00d07 InputBox]''' ('''[http://www.fabglib.org/classfabgl_1_1ui_app.html uiApp]''' *app=nullptr) | ||
:新しい '''InputBox''' インスタンスを作成します。 [[App:Library:FabGL:Class:InputBox:InputBox|More...]] | :新しい '''InputBox''' インスタンスを作成します。 [[App:Library:FabGL:Class:InputBox:InputBox|More...]] | ||
+ | |- | ||
+ | |void '''[http://www.fabglib.org/classfabgl_1_1_input_box_abaff5cb73e3c60262d8f96d4bea27fb4.html#abaff5cb73e3c60262d8f96d4bea27fb4 begin]''' ('''[http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller.html BitmappedDisplayController]''' *displayController) | ||
+ | :すでに初期化されているディスプレイコントローラから '''InputBox''' を初期化します。 More... | ||
|- | |- | ||
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_abaff5cb73e3c60262d8f96d4bea27fb4.html#abaff5cb73e3c60262d8f96d4bea27fb4 begin]''' (char const *modeline=nullptr, int viewPortWidth=-1, int viewPortHeight=-1, int displayColors=16) | |void '''[http://www.fabglib.org/classfabgl_1_1_input_box_abaff5cb73e3c60262d8f96d4bea27fb4.html#abaff5cb73e3c60262d8f96d4bea27fb4 begin]''' (char const *modeline=nullptr, int viewPortWidth=-1, int viewPortHeight=-1, int displayColors=16) | ||
− | :Initializes '''InputBox''' from VGA modeline, using a '''[http://www.fabglib.org/classfabgl_1_1_v_g_a16_controller.html VGA16Controller]'''. | + | :Initializes '''InputBox''' from VGA modeline, using a '''[http://www.fabglib.org/classfabgl_1_1_v_g_a16_controller.html VGA16Controller]'''. [http://www.fabglib.org/classfabgl_1_1_input_box_aeed16a1f110da832346d6177acd00d07.html#aeed16a1f110da832346d6177acd00d07 More...] |
− | |||
− | |||
− | |||
|- | |- | ||
|void '''[http://www.fabglib.org/classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087 end]''' () | |void '''[http://www.fabglib.org/classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087 end]''' () |
2022年6月9日 (木) 18:29時点における版
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 is an helper class which allows to create simple UI interfaces, like wizards or simple input boxes.
Definition at line 322 of file inputbox.h.
The documentation for this class was generated from the following files: