GUI
- const int MOUSE_LEFT
- マウスの左ボタンを表す定数です。
- const int MOUSE_MIDDLE
- マウスの中央ボタンを表す定数です。
- const int MOUSE_RIGHT
- マウスの右ボタンを表す定数です。
- const int MOUSE_SINGLE
- マウスのシングルクリックを表す定数です。
- const int MOUSE_DOUBLE
- マウスのダブルクリックを表す定数です。
- const int KEY_SPACE
- スペースキーを表す定数です。
- const int KEY_ENTER
- エンターキーを表す定数です。
- const int KEY_SHIFT
- シフトキーを表す定数です。
- const int KEY_ALT
- Alt キーを表す定数です。
- const int KEY_AT
- @ キーを表す定数です。
- const int KEY_TAB
- Tab キーを表す定数です。
- const int KEY_CONTROL
- Ctrl キーを表す定数です。
- const int KEY_BACK_SPACE
- Backspace キーを表す定数です。
- const int KEY_A
- A キーを表す定数です。
- const int KEY_B
- B キーを表す定数です。
- const int KEY_C
- C キーを表す定数です。
- const int KEY_D
- D キーを表す定数です。
- const int KEY_E
- E キーを表す定数です。
- const int KEY_F
- F キーを表す定数です。
- const int KEY_G
- G キーを表す定数です。
- const int KEY_H
- H キーを表す定数です。
- const int KEY_I
- I キーを表す定数です。
- const int KEY_J
- J キーを表す定数です。
- const int KEY_K
- K キーを表す定数です。
- const int KEY_L
- L キーを表す定数です。
- const int KEY_M
- M キーを表す定数です。
- const int KEY_N
- N キーを表す定数です。
- const int KEY_O
- O キーを表す定数です。
- const int KEY_P
- P キーを表す定数です。
- const int KEY_Q
- Q キーを表す定数です。
- const int KEY_R
- R キーを表す定数です。
- const int KEY_S
- S キーを表す定数です。
- const int KEY_T
- T キーを表す定数です。
- const int KEY_U
- U キーを表す定数です。
- const int KEY_V
- V キーを表す定数です。
- const int KEY_W
- W キーを表す定数です。
- const int KEY_X
- X キーを表す定数です。
- const int KEY_Y
- Y キーを表す定数です。
- const int KEY_Z
- Z キーを表す定数です。
- const int KEY_0
- 0 キーを表す定数です。
- const int KEY_1
- 1 キーを表す定数です。
- const int KEY_2
- 2 キーを表す定数です。
- const int KEY_3
- 3 キーを表す定数です。
- const int KEY_4
- 4 キーを表す定数です。
- const int KEY_5
- 5 キーを表す定数です。
- const int KEY_6
- 6 キーを表す定数です。
- const int KEY_7
- 7 キーを表す定数です。
- const int KEY_8
- 8 キーを表す定数です。
- const int KEY_9
- 9 キーを表す定数です。
- const int KEY_NUMPAD0
- 0 キーを表す定数です。
- const int KEY_NUMPAD1
- 1 キーを表す定数です。
- const int KEY_NUMPAD2
- 2 キーを表す定数です。
- const int KEY_NUMPAD3
- 3 キーを表す定数です。
- const int KEY_NUMPAD4
- 4 キーを表す定数です。
- const int KEY_NUMPAD5
- 5 キーを表す定数です。
- const int KEY_NUMPAD6
- 6 キーを表す定数です。
- const int KEY_NUMPAD7
- 7 キーを表す定数です。
- const int KEY_NUMPAD8
- 8 キーを表す定数です。
- const int KEY_NUMPAD9
- 9 キーを表す定数です。
- const int KEY_UP
- 上 キーを表す定数です。
- const int KEY_DOWN
- 下 キーを表す定数です。
- const int KEY_RIGHT
- 右 キーを表す定数です。
- const int KEY_LEFT
- 左 キーを表す定数です。
- const int KEY_INSERT
- Insert キーを表す定数です。
- const int KEY_HOME
- Home キーを表す定数です。
- const int KEY_DELETE
- Delete キーを表す定数です。
- const int KEY_END
- End キーを表す定数です。
- const int KEY_PAGE_UP
- Page Up キーを表す定数です。
- const int KEY_PAGE_DOWN
- Page Down キーを表す定数です。
- const int KEY_CAPS_LOCK
- Caps Lock キーを表す定数です。
- const int KEY_BACK_SLASH
- バックスラッシュ キーを表す定数です。
- const int KEY_SLASH
- / キーを表す定数です。
- const int KEY_MINUS
- - キーを表す定数です。
- const int KEY_PLUS
- + キーを表す定数です。
- const int KEY_NUMBER
- lib/GUI.html# キーを表す定数です。
- const int KEY_SEMICOLON
- ; キーを表す定数です。
- const int KEY_COLON
- : キーを表す定数です。
- const int KEY_COMMA
- , キーを表す定数です。
- const int KEY_PERIOD
- . キーを表す定数です。
- const int KEY_UNDERSCORE
- _ キーを表す定数です。
- const int KEY_EXCLAMATION
- ! キーを表す定数です。
- const int KEY_EQUALS
- = キーを表す定数です。
- const int KEY_DOLLAR
- $ キーを表す定数です。
- const int KEY_CIRCUMFLEX
- ^ キーを表す定数です。
- const int KEY_LEFT_SQUARE_BRACKET
- [ キーを表す定数です。
- const int KEY_RIGHT_SQUARE_BRACKET
- ] キーを表す定数です。
- const int KEY_LEFT_PARENTHESIS
- ( キーを表す定数です。
- const int KEY_RIGHT_PARENTHESIS
- ) キーを表す定数です。
- const int KEY_SEPARATOR
- | キーを表す定数です。
- const int KEY_ADD
- 加算キーを表す定数です。
- const int KEY_SUBTRACT
- 減算キーを表す定数です。
- const int KEY_DIVIDE
- 除算キーを表す定数です。
- const int KEY_MULTIPLY
- 乗算キーを表す定数です。
- const int KEY_F1
- F1 キーを表す定数です。
- const int KEY_F2
- F2 キーを表す定数です。
- const int KEY_F3
- F3 キーを表す定数です。
- const int KEY_F4
- F4 キーを表す定数です。
- const int KEY_F5
- F5 キーを表す定数です。
- const int KEY_F6
- F6 キーを表す定数です。
- const int KEY_F7
- F7 キーを表す定数です。
- const int KEY_F8
- F8 キーを表す定数です。
- const int KEY_F9
- F9 キーを表す定数です。
- const int KEY_F10
- F10 キーを表す定数です。
- const int KEY_F11
- F11 キーを表す定数です。
- const int KEY_F12
- F12 キーを表す定数です。
- const int KEY_F13
- F13 キーを表す定数です。
- const int KEY_F14
- F14 キーを表す定数です。
- const int KEY_F15
- F15 キーを表す定数です。
- const int KEY_F16
- F16 キーを表す定数です。
- const int KEY_F17
- F17 キーを表す定数です。
- const int KEY_F18
- F18 キーを表す定数です。
- const int KEY_F19
- F19 キーを表す定数です。
- const int KEY_F20
- F20 キーを表す定数です。
- const int INNER
- GUIコンポーネントの内側を指定するための定数です。getComponentSize 関数で使用します。
- const int OUTER
- GUIコンポーネントの外側を指定するための定数です。getComponentSize 関数で使用します。
- const int LISTED
- リストアップされている項目全てを指定するための定数です。setComponentStringArray 関数や getComponentStringArray 関数で使用します。
- const int SELECTED
- 選択されている項目全てを指定するための定数です。setComponentStringArray 関数や getComponentStringArray 関数で使用します。
- void mountComponent( int componentID, int parentComponentID )
- GUIコンポーネントを、別のGUIコンポーネント上に配置します。
- void demountComponent( int componentID, int parentComponentID )
- GUIコンポーネントを配置解除します。
- void deleteComponent( int componentID )
- GUIコンポーネントを破棄します。
- int newWindow( int x, int y, int w, int h, string title )
- ウィンドウを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newButton( int x, int y, int w, int h, string text )
- ボタンを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newTextField( int x, int y, int w, int h, string text )
- テキストフィールド( 1行のテキストを入力するコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newTextArea( int x, int y, int w, int h, string text )
- テキストエリア( 複数行のテキストを入力するコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newTextLabel( int x, int y, int w, int h, string text )
- テキストラベル( 1行のテキストを表示するコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newImageLabel( int x, int y, int w, int h, int graphicsID )
- 画像ラベルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newCheckBox( int x, int y, int w, int h, string text, boolean b )
- チェックボックスを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newSelectField( int x, int y, int w, int h, string str[ ] )
- セレクトフィールド( 選択肢から1つの項目を選択可能な、1行のコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newSelectArea( int x, int y, int w, int h, string str[ ] )
- セレクトエリア( 選択肢から複数項目を選択可能な、複数行のコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newVerticalSlider( int x, int y, int w, int h, float value )
- 0.0 ~ 1.0 の範囲でfloat 値を操作する垂直スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newVerticalSlider( int x, int y, int w, int h, float value, float min, float max )
- float 値を操作する垂直スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newVerticalSlider( int x, int y, int w, int h, int value, int min, int max )
- int 値を操作する垂直スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newHorizontalSlider( int x, int y, int w, int h, float value )
- 0.0 ~ 1.0 の範囲でfloat 値を操作する水平スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newHorizontalSlider( int x, int y, int w, int h, float value, float min, float max )
- float 値を操作する水平スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newHorizontalSlider( int x, int y, int w, int h, int value, int min, int max )
- int 値を操作する水平スライダーを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newPanel( int x, int y, int w, int h, string title )
- 任意座標レイアウト用のパネルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newGridPanel( int x, int y, int w, int h, string title, int rows, int columns )
- グリッド配置用のパネルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newFlowPanel( int x, int y, int w, int h, string title )
- フロー配置用のパネルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。
- int newTabPanel( int x, int y, int w, int h, string title )
- タブ表示用のパネルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。このパネルの上に、別のパネルを配置して使用します。
- int newScrollPanel( int x, int y, int w, int h, string title )
- スクロール表示用のパネルを生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。このパネルの上に、別のパネルを配置して使用します。
- macro paintComponent( int componentID )
- GUIコンポーネントを再描画します。再描画は、表示内容のテキストやグラフィックスデータが変化した際に必要です。及び自身に配置されている子コンポーネントの表示内容が変化した際にも必要となります。
- void setComponentLocation( int componentID, int x, int y )
- GUIコンポーネントの位置を設定します。
- int[ ] getComponentLocation( int componentID )
- GUIコンポーネントの位置を取得します。
- void setComponentSize( int componentID, int width, int height )
- GUIコンポーネントの大きさを設定します。
- int[ ] getComponentSize( int componentID )
- GUIコンポーネントの大きさを取得します。
- int[ ] getComponentSize( int componentID, int option )
- GUIコンポーネントの特定部分の大きさを取得します。
- void setComponentColor( int componentID, int fr, int fg, int fb, int fa, int br, int bg, int bb, int ba )
- GUIコンポーネントの色を設定します。
- void setComponentColor( int componentID, int fgRGBA[ ], int bgRGBA[ ] )
- GUIコンポーネントの色を設定します。
- macro getComponentColor( int componentID )
- GUIコンポーネントの色を返します。
- void setComponentText( int componentID, string text )
- GUIコンポーネントのテキスト情報を設定します。
- string getComponentText( int componentID )
- GUIコンポーネントのテキスト情報を取得します。
- void setComponentText( int componentID, string text[ ], int option )
- GUIコンポーネントのテキスト情報を設定します。
- string[ ] getComponentText( int componentID, int option )
- GUIコンポーネントのテキスト情報を設定します。
- void setComponentImage( int componentID, int graphicsID )
- GUIコンポーネントの画像を設定します。
- int getComponentGraphics( int componentID )
- GUIコンポーネントの画像を格納する、グラフィックスデータのIDを返します。
- void showComponent( int componentID )
- GUIコンポーネントの非表示にします。
- void hideComponent( int componentID )
- GUIコンポーネントの表示します。
- void setComponentFont( int componentID, string name )
- GUIコンポーネントのフォントを設定します
- void setComponentFontSize( int componentID, int size )
- GUIコンポーネントのフォントサイズを設定します
- void setComponentFontBold( int componentID, bool isBold )
- GUIコンポーネントのフォントを太字に設定または解除します。イタリック体と併用はできません。
- void setComponentFontItalic( int componentID, bool isItalic )
- GUIコンポーネントのフォントをイタリック体に設定または解除します。太字と併用はできません。
- void setComponentFloat( int componentID, float value )
- GUIコンポーネントが保持する float 型の値を設定します。
- float getComponentFloat( int componentID )
- GUIコンポーネントが保持する float 型の値を返します。
- void setComponentInt( int componentID, int value )
- GUIコンポーネントが保持する int 型の値を設定します。
- int getComponentInt( int componentID )
- GUIコンポーネントが保持する int 型の値を返します。
- void setComponentBool( int componentID, bool state )
- GUIコンポーネントが保持する bool 型の値を設定します。
- bool getComponentBool( int componentID )
- GUIコンポーネントが保持する bool 型の値を返します。
- void setComponentString( int componentID, string text )
- GUIコンポーネントが保持する string 型の値を設定します。
- string getComponentString( int componentID )
- GUIコンポーネントが保持する string 型の値を返します。
- void setComponentStringArray( int componentID, string text[ ], int option )
- GUIコンポーネントが保持する string 型配列の値を設定します。
- string[ ] getComponentStringArray( int componentID, int option )
- GUIコンポーネントが保持する string 型配列の値を返します。
- void setComponentIntArray( int componentID, int value[ ] )
- GUIコンポーネントが保持する int 型配列の値を設定します。
- int[ ] getComponentIntArray( int componentID )
- GUIコンポーネントが保持する int 型配列の値を返します。
- void addComponent( int componentID, int parentComponentID )
- GUIコンポーネントを、別のGUIコンポーネント上に配置します。VCSSL 3 以降では、より新しい mountComponent 関数がサポートされています。この関数は互換目的でサポートされています。
- void removeComponent( int componentID, int parentComponentID )
- GUIコンポーネントを配置解除します。VCSSL 3 以降では、より新しい demountComponent 関数がサポートされています。この関数は互換目的でサポートされています。
- int newGraphicsLabel( int x, int y, int w, int h, int graphicsID )
- グラフィックスラベル( 描画内容や画像を表示するコンポーネント )を生成し、固有の識別番号(GUIコンポーネントID)を割り振って返します。VCSSL 3.3.24 以降では、より新しい newImageLabel 関数がサポートされています。この関数は互換目的でサポートされています。
- void setComponentGraphics( int componentID, int graphicsID )
- GUIコンポーネントのグラフィックスデータIDを設定します。VCSSL 3.3.24 以降では、より新しい setComponentImage 関数がサポートされています。この関数は互換目的でサポートされています。
- int getComponentGraphics( int componentID )
- GUIコンポーネントのグラフィックスデータIDを返します。VCSSL 3.3.24 以降では、より新しい getComponentGraphics 関数がサポートされています。この関数は互換目的でサポートされています。
- void setComponentVisible( int componentID, bool b )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- bool getComponentVisible( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- int[ ] getComponentInnerSize( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- int[ ] getComponentInner( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentValue( int componentID, float value )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- float getComponentValue( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentState( int componentID, bool state )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- bool getComponentState( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentValueFloat( int componentID, float value )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- float getComponentValueFloat( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentValueInt( int componentID, int value )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- int getComponentValueInt( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentValueBool( int componentID, bool state )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- bool getComponentValueBool( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void setComponentValueString( int componentID, string text )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- string getComponentValueString( int componentID )
- この関数の使用は推奨されません。この関数は、互換目的でサポートされています。
- void onWindowOpen( int componentID )
- ウィンドウが開いた際にコールされます。
- void onWindowClose( int componentID )
- ウィンドウが閉じられた際にコールされます。
- void onWindowMove( int componentID, int x, int y )
- ウィンドウが動かされた際にコールされます。
- void onWindowResize( int componentID, int width, int height )
- ウィンドウがリサイズされた際にコールされます。
- void onWindowShow( int componentID )
- ウィンドウが可視化された際にコールされます。
- void onWindowHide( int componentID )
- ウィンドウが不可視化された際にコールされます。
- void onButtonClick( int componentID, string text )
- ボタンが押された際にコールされます。
- void onSelectFieldClick( int componentID, string text )
- セレクトフィールドの項目が選択された際にコールされます。
- void onCheckBoxClick( int componentID, bool value )
- チェックボックスの項目が選択または解除された際にコールされます。
- void onSliderMove( int componentID, int value )
- int値のスライダーが操作された際にコールされます。
- void onSliderMove( int componentID, float value )
- float値のスライダーが操作された際にコールされます。
- void onKeyDown( int componentID, string keyLabel )
- キーボードのキーが押された際にコールされます。
- void onKeyDown( int componentID, string keyConstant )
- キーボードのキーが押された際にコールされます。
- void onKeyUp( int componentID, string keyLabel )
- キーボードのキーが離された際にコールされます。
- void onKeyUp( int componentID, string keyConstant )
- キーボードのキーが離された際にコールされます。
- void onMouseDown( int componentID, int x, int y, int button )
- マウスのボタンが押された際にコールされます。
- void onMouseUp( int componentID, int x, int y, int button )
- マウスのボタンが離された際にコールされます。
- void onMouseClick( int componentID, int x, int y, int button, int count )
- マウスがクリックされた際にコールされます。
- void onMouseClick( int componentID, int x, int y, int button, int count )
- マウスがドラッグされた際にコールされます。
- void onMouseScroll( int componentID, int degree )
- マウスホイールがスクロールされた際にコールされます。