Win32 API 日本語リファレンス
ホームUI.Input.GameInput › GameInputFocusPolicy

GameInputFocusPolicy

列挙型フラグ
基底型i4

メンバー 7

名前10進16進
GameInputDefaultFocusPolicy00x0
GameInputDisableBackgroundInput10x1
GameInputExclusiveForegroundInput20x2
GameInputDisableBackgroundGuideButton40x4
GameInputExclusiveForegroundGuideButton80x8
GameInputDisableBackgroundShareButton160x10
GameInputExclusiveForegroundShareButton320x20

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum GameInputFocusPolicy : int {
    GameInputDefaultFocusPolicy = 0,
    GameInputDisableBackgroundInput = 1,
    GameInputExclusiveForegroundInput = 2,
    GameInputDisableBackgroundGuideButton = 4,
    GameInputExclusiveForegroundGuideButton = 8,
    GameInputDisableBackgroundShareButton = 16,
    GameInputExclusiveForegroundShareButton = 32
} GameInputFocusPolicy;
[Flags]
public enum GameInputFocusPolicy : int
{
    GameInputDefaultFocusPolicy = 0,
    GameInputDisableBackgroundInput = 1,
    GameInputExclusiveForegroundInput = 2,
    GameInputDisableBackgroundGuideButton = 4,
    GameInputExclusiveForegroundGuideButton = 8,
    GameInputDisableBackgroundShareButton = 16,
    GameInputExclusiveForegroundShareButton = 32,
}
<Flags>
Public Enum GameInputFocusPolicy As Integer
    GameInputDefaultFocusPolicy = 0
    GameInputDisableBackgroundInput = 1
    GameInputExclusiveForegroundInput = 2
    GameInputDisableBackgroundGuideButton = 4
    GameInputExclusiveForegroundGuideButton = 8
    GameInputDisableBackgroundShareButton = 16
    GameInputExclusiveForegroundShareButton = 32
End Enum
import enum

class GameInputFocusPolicy(enum.IntFlag):
    GameInputDefaultFocusPolicy = 0
    GameInputDisableBackgroundInput = 1
    GameInputExclusiveForegroundInput = 2
    GameInputDisableBackgroundGuideButton = 4
    GameInputExclusiveForegroundGuideButton = 8
    GameInputDisableBackgroundShareButton = 16
    GameInputExclusiveForegroundShareButton = 32
// GameInputFocusPolicy (flags)
pub const GameInputDefaultFocusPolicy: i32 = 0;
pub const GameInputDisableBackgroundInput: i32 = 1;
pub const GameInputExclusiveForegroundInput: i32 = 2;
pub const GameInputDisableBackgroundGuideButton: i32 = 4;
pub const GameInputExclusiveForegroundGuideButton: i32 = 8;
pub const GameInputDisableBackgroundShareButton: i32 = 16;
pub const GameInputExclusiveForegroundShareButton: i32 = 32;
// GameInputFocusPolicy
const (
	GameInputDefaultFocusPolicy int32 = 0
	GameInputDisableBackgroundInput int32 = 1
	GameInputExclusiveForegroundInput int32 = 2
	GameInputDisableBackgroundGuideButton int32 = 4
	GameInputExclusiveForegroundGuideButton int32 = 8
	GameInputDisableBackgroundShareButton int32 = 16
	GameInputExclusiveForegroundShareButton int32 = 32
)
const
  GameInputDefaultFocusPolicy = 0;
  GameInputDisableBackgroundInput = 1;
  GameInputExclusiveForegroundInput = 2;
  GameInputDisableBackgroundGuideButton = 4;
  GameInputExclusiveForegroundGuideButton = 8;
  GameInputDisableBackgroundShareButton = 16;
  GameInputExclusiveForegroundShareButton = 32;
// GameInputFocusPolicy
pub const GameInputDefaultFocusPolicy: i32 = 0;
pub const GameInputDisableBackgroundInput: i32 = 1;
pub const GameInputExclusiveForegroundInput: i32 = 2;
pub const GameInputDisableBackgroundGuideButton: i32 = 4;
pub const GameInputExclusiveForegroundGuideButton: i32 = 8;
pub const GameInputDisableBackgroundShareButton: i32 = 16;
pub const GameInputExclusiveForegroundShareButton: i32 = 32;
const
  GameInputDefaultFocusPolicy* = 0
  GameInputDisableBackgroundInput* = 1
  GameInputExclusiveForegroundInput* = 2
  GameInputDisableBackgroundGuideButton* = 4
  GameInputExclusiveForegroundGuideButton* = 8
  GameInputDisableBackgroundShareButton* = 16
  GameInputExclusiveForegroundShareButton* = 32
enum GameInputFocusPolicy : int {
    GameInputDefaultFocusPolicy = 0,
    GameInputDisableBackgroundInput = 1,
    GameInputExclusiveForegroundInput = 2,
    GameInputDisableBackgroundGuideButton = 4,
    GameInputExclusiveForegroundGuideButton = 8,
    GameInputDisableBackgroundShareButton = 16,
    GameInputExclusiveForegroundShareButton = 32,
}
#define global GameInputDefaultFocusPolicy             0x0
#define global GameInputDisableBackgroundInput         0x1
#define global GameInputExclusiveForegroundInput       0x2
#define global GameInputDisableBackgroundGuideButton   0x4
#define global GameInputExclusiveForegroundGuideButton 0x8
#define global GameInputDisableBackgroundShareButton   0x10
#define global GameInputExclusiveForegroundShareButton 0x20
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。