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

提供: robot-jp wiki
ナビゲーションに移動検索に移動
 
(同じ利用者による、間の1版が非表示)
9行目: 9行目:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|'''[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_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087 InputBox]''' ('''[http://www.fabglib.org/classfabgl_1_1ui_app.html uiApp]''' *app=nullptr)
:新しい '''InputBox''' インスタンスを作成します。 [[App:Library:FabGL:Class:InputBox:InputBox|More...]]
+
:新しい '''InputBox''' インスタンスを作成します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_aeed16a1f110da832346d6177acd00d07.html#aeed16a1f110da832346d6177acd00d07 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)
 
|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...
+
:すでに初期化されているディスプレイコントローラから '''InputBox''' を初期化します。 [http://www.fabglib.org/classfabgl_1_1_input_box_a09d6c04dbe3aa0bc7220b4ebd8323746.html#a09d6c04dbe3aa0bc7220b4ebd8323746 '''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]'''. [http://www.fabglib.org/classfabgl_1_1_input_box_aeed16a1f110da832346d6177acd00d07.html#aeed16a1f110da832346d6177acd00d07 More...]
+
:'''[http://www.fabglib.org/classfabgl_1_1_v_g_a16_controller.html VGA16Controller]''' を使用して、VGAモードラインから '''InputBox''' を初期化します。 [http://www.fabglib.org/classfabgl_1_1_input_box_abaff5cb73e3c60262d8f96d4bea27fb4.html#abaff5cb73e3c60262d8f96d4bea27fb4 '''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]''' ()
:Cleanup resources and eventually disable VGA output. More...
+
:リソースをクリーンアップし、最終的にVGA出力を無効にします。[http://www.fabglib.org/classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087 '''More...''']
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a6241937ae9870d37f4947ef9b4cde1f4.html#a6241937ae9870d37f4947ef9b4cde1f4 fileSelector]''' (char const *titleText, char const *messageText, char *inOutDirectory, int maxDirectoryLength, char *inOutFilename, int :maxFilenameLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a6241937ae9870d37f4947ef9b4cde1f4.html#a6241937ae9870d37f4947ef9b4cde1f4 fileSelector]''' (char const *titleText, char const *messageText, char *inOutDirectory, int maxDirectoryLength, char *inOutFilename, int :maxFilenameLength, char const *buttonCancelText="Cancel", char const *buttonOKText="OK")
:Selects a file and directory starting from the specified path. More...
+
:指定したパスからファイルとディレクトリを選択します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_aef83632569a1995f12f701922106d827.html#aef83632569a1995f12f701922106d827 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_aef83632569a1995f12f701922106d827.html#aef83632569a1995f12f701922106d827 folderBrowser]''' (char const *titleText, char const *directory="/", char const *buttonOKText="Close")
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_aef83632569a1995f12f701922106d827.html#aef83632569a1995f12f701922106d827 folderBrowser]''' (char const *titleText, char const *directory="/", char const *buttonOKText="Close")
:Shows a dialog with files and folders and buttons to create new folders, delete and rename folders and files. More...
+
:新しいフォルダを作成したり、フォルダとファイルの名前を削除お​​よび変更したりするためのファイルとフォルダおよびボタンを含むダイアログを表示します。'''[http://www.fabglib.org/classfabgl_1_1_input_box_aef83632569a1995f12f701922106d827.html#aef83632569a1995f12f701922106d827 More...]'''
 
|-
 
|-
 
|'''[http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller.html BitmappedDisplayController] *''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a68e646a3e168d23dc088dd1922e0801f.html#a68e646a3e168d23dc088dd1922e0801f getDisplayController]''' ()
 
|'''[http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller.html BitmappedDisplayController] *''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a68e646a3e168d23dc088dd1922e0801f.html#a68e646a3e168d23dc088dd1922e0801f getDisplayController]''' ()
:Gets created or assigned display controller. More...
+
:作成または割り当てられたディスプレイコントローラを取得します。'''[http://www.fabglib.org/classfabgl_1_1_input_box_a0788e9d707a2308fc26567a56802d523.html#a0788e9d707a2308fc26567a56802d523 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a03a8ca3293dfb3946f6dd5a0d69c3d26.html#a03a8ca3293dfb3946f6dd5a0d69c3d26 getLastResult]''' ()
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a03a8ca3293dfb3946f6dd5a0d69c3d26.html#a03a8ca3293dfb3946f6dd5a0d69c3d26 getLastResult]''' ()
:Gets last dialog result. More...
+
:最後のダイアログ結果を取得します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a03a8ca3293dfb3946f6dd5a0d69c3d26.html#a03a8ca3293dfb3946f6dd5a0d69c3d26 More...]'''
 
|-
 
|-
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0 menu]''' (char const *titleText, char const *messageText, char const *itemsText, char separator=';')
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0 menu]''' (char const *titleText, char const *messageText, char const *itemsText, char separator=';')
:Shows a dialog with a label and a list box. The dialog exits when an item is selected, just like a menu. More...
+
:ラベルとリストボックスを含むダイアログを表示します。メニューと同じように、項目を選択するとダイアログが終了します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0 More...]'''
 
|-
 
|-
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0 menu]''' (char const *titleText, char const *messageText, StringList *items)
 
|int '''[http://www.fabglib.org/classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0 menu]''' (char const *titleText, char const *messageText, StringList *items)
:Shows a dialog with a label and a list box. The dialog exits when an item is selected, just like a menu. More...
+
:ラベルとリストボックスを含むダイアログを表示します。メニューと同じように、項目を選択するとダイアログが終了します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_abbfa60003c83722f3fa22fe0d870ee23.html#abbfa60003c83722f3fa22fe0d870ee23 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3.html#a28a9108d1cfab33a1b1054f0c22782a3 message]''' (char const *titleText, char const *messageText, char const *buttonCancelText=nullptr, char const *buttonOKText="OK")
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3.html#a28a9108d1cfab33a1b1054f0c22782a3 message]''' (char const *titleText, char const *messageText, char const *buttonCancelText=nullptr, char const *buttonOKText="OK")
:Shows a dialog with just a label. More...
+
:ラベルだけのダイアログを表示します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3.html#a28a9108d1cfab33a1b1054f0c22782a3 More...]'''
 
|-
 
|-
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5.html#aa16a7bd46cbf4f1a3b9ce6f46d8c49e5 messageFmt]''' (char const *titleText, char const *buttonCancelText, char const *buttonOKText, const char *format,...)
 
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5.html#aa16a7bd46cbf4f1a3b9ce6f46d8c49e5 messageFmt]''' (char const *titleText, char const *buttonCancelText, char const *buttonOKText, const char *format,...)
:Shows a dialog with a just a label. Allows printf like formatted text. More...
+
:ラベルだけのダイアログを表示します。フォーマットされたテキストのようなprintfを許可します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5.html#aa16a7bd46cbf4f1a3b9ce6f46d8c49e5 More...]'''
 
|-
 
|-
 
|template<typename Func >
 
|template<typename Func >
|-
+
'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501 progressBox]''' (char const *titleText, char const *buttonCancelText, bool hasProgressBar, int '''[http://www.fabglib.org/fabutils_8h_ae0ffb42440f0305b6d22a1c6106b6e6f.html#ae0ffb42440f0305b6d22a1c6106b6e6f width]''', Func execFunc)
|'''[[App:Library:FabGL:Enumerations:InputResult|InputResult]]''' '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501 progressBox]''' (char const *titleText, char const *buttonCancelText, bool hasProgressBar, int '''[http://www.fabglib.org/fabutils_8h_ae0ffb42440f0305b6d22a1c6106b6e6f.html#ae0ffb42440f0305b6d22a1c6106b6e6f width]''', Func execFunc)
+
:ユーザー関数によって動的に更新される、ラベルと進行状況バーを含むダイアログを表示します。 '''[http://www.fabglib.org/classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501 More...]'''
:Shows a dialog with a label and a progress bar, updated dynamically by a user function. More...
 
 
|-
 
|-
 
|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...]'''
 
|}
 
|}
  
79行目: 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.


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



戻る