ホーム › UI.Controls › UPSTATES
UPSTATES
列挙型メンバー 4
| 名前 | 10進 | 16進 |
|---|---|---|
| UPS_NORMAL | 1 | 0x1 |
| UPS_HOT | 2 | 0x2 |
| UPS_PRESSED | 3 | 0x3 |
| UPS_DISABLED | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum UPSTATES : int {
UPS_NORMAL = 1,
UPS_HOT = 2,
UPS_PRESSED = 3,
UPS_DISABLED = 4
} UPSTATES;public enum UPSTATES : int
{
UPS_NORMAL = 1,
UPS_HOT = 2,
UPS_PRESSED = 3,
UPS_DISABLED = 4,
}Public Enum UPSTATES As Integer
UPS_NORMAL = 1
UPS_HOT = 2
UPS_PRESSED = 3
UPS_DISABLED = 4
End Enumimport enum
class UPSTATES(enum.IntEnum):
UPS_NORMAL = 1
UPS_HOT = 2
UPS_PRESSED = 3
UPS_DISABLED = 4// UPSTATES
pub const UPS_NORMAL: i32 = 1;
pub const UPS_HOT: i32 = 2;
pub const UPS_PRESSED: i32 = 3;
pub const UPS_DISABLED: i32 = 4;// UPSTATES
const (
UPS_NORMAL int32 = 1
UPS_HOT int32 = 2
UPS_PRESSED int32 = 3
UPS_DISABLED int32 = 4
)const
UPS_NORMAL = 1;
UPS_HOT = 2;
UPS_PRESSED = 3;
UPS_DISABLED = 4;// UPSTATES
pub const UPS_NORMAL: i32 = 1;
pub const UPS_HOT: i32 = 2;
pub const UPS_PRESSED: i32 = 3;
pub const UPS_DISABLED: i32 = 4;const
UPS_NORMAL* = 1
UPS_HOT* = 2
UPS_PRESSED* = 3
UPS_DISABLED* = 4enum UPSTATES : int {
UPS_NORMAL = 1,
UPS_HOT = 2,
UPS_PRESSED = 3,
UPS_DISABLED = 4,
}#define global UPS_NORMAL 0x1
#define global UPS_HOT 0x2
#define global UPS_PRESSED 0x3
#define global UPS_DISABLED 0x4