「App:Library:FabGL:Enumerations:uiButtonKind」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
 
(同じ利用者による、間の1版が非表示)
1行目: 1行目:
== enum KbdMode ==
+
== enum [http://www.fabglib.org/group___enumerations_ga04e30fac21360b66bd2bfd587f9092be.html#ga04e30fac21360b66bd2bfd587f9092be uiButtonKind] ==
この列挙型は、キーボード仮想キーの処理方法を定義します。
+
ボタンの種類を指定します。
 
{| class="wikitable"
 
{| class="wikitable"
 
! colspan="2" |'''Enumerator'''
 
! colspan="2" |'''Enumerator'''
 
|-
 
|-
|NoVirtualKeys
+
|Button
|No virtual keys are generated
+
|Normal button - can have a single state. Generates only click events
 
|-
 
|-
|GenerateVirtualKeys
+
|Switch
|Virtual keys are generated. You can call Keyboard.isVKDown() only.
+
|Switch - can have two states. Generates onChange events
|-
 
|CreateVirtualKeysQueue
 
|Virtual keys are generated and put on a queue. You can call Keyboard.isVKDown(), Keyboard.virtualKeyAvailable() and Keyboard.getNextVirtualKey()
 
 
|}
 
|}
'''[http://www.fabglib.org/ps2controller_8h_source.html#l00065 line65 of file ps2controller.h]'''に定義されています。
+
'''[http://www.fabglib.org/fabui_8h_source.html#l01253 line 1253 of file fabui.h]'''に定義されています。
  
  
  
 
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る]
 
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る]

2022年3月21日 (月) 23:41時点における最新版

enum uiButtonKind

ボタンの種類を指定します。

Enumerator
Button Normal button - can have a single state. Generates only click events
Switch Switch - can have two states. Generates onChange events

line 1253 of file fabui.hに定義されています。



戻る