Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ButtonEffectBase.c File Reference

Go to the source code of this file.

Enumerations

enum  EModularButtonEventFlag : EModularButtonState {
  EVENT_CLICKED = 1 << 10, EVENT_FOCUS_GAINED = 1 << 11, EVENT_FOCUS_LOST = 1 << 12, EVENT_TOGGLED_ON = 1 << 13,
  EVENT_TOGGLED_OFF = 1 << 14, EVENT_MOUSE_ENTER = 1 << 15, EVENT_MOUSE_LEAVE = 1 << 16
}
 

Variables

enum EModularButtonEventFlag KEYBOARD = 1 << 0
 Flags for device input types. More...
 
enum EModularButtonEventFlag MOUSE = 1 << 1
 
enum EModularButtonEventFlag GAMEPAD = 1 << 2
 

Enumeration Type Documentation

◆ EModularButtonEventFlag

Flags for events We inherit state flags in this enum, because state transitions are also used for events

Enumerator
EVENT_CLICKED 

Start with bit 10 to reserve some space for prev. enum.

EVENT_FOCUS_GAINED 
EVENT_FOCUS_LOST 
EVENT_TOGGLED_ON 
EVENT_TOGGLED_OFF 
EVENT_MOUSE_ENTER 
EVENT_MOUSE_LEAVE 

Definition at line 5 of file SCR_ButtonEffectBase.c.

Variable Documentation

◆ GAMEPAD

enum EModularButtonEventFlag GAMEPAD = 1 << 2

◆ KEYBOARD

enum EModularButtonEventFlag KEYBOARD = 1 << 0

Flags for device input types.

◆ MOUSE

enum EModularButtonEventFlag MOUSE = 1 << 1