Rise
The Vieneo Province
Loading...
Searching...
No Matches
Controls.h File Reference
#include "../Rendering/ClientRuntime11.h"
#include "ControlArray.h"
#include <usp10.h>
#include <dimm.h>
Include dependency graph for Controls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UIBlendColor
class  RiseElement
class  RiseDialog
struct  UITextureNode
struct  UIFontNode
class  RiseDialogResourceManager
class  RiseControl
struct  UIElementHolder
class  RiseStatic
class  RiseButton
class  RiseCheckBox
class  RiseRadioButton
class  RiseScrollBar
struct  UIListBoxItem
class  RiseListBox
struct  UIComboBoxItem
class  RiseComboBox
class  RiseSlider
class  CUniBuffer
class  RiseEditBox

Macros

#define UI_GUI_H
#define MAX_TEXT   512
#define EVENT_BUTTON_CLICKED   0x0101
#define EVENT_COMBOBOX_SELECTION_CHANGED   0x0201
#define EVENT_RADIOBUTTON_CHANGED   0x0301
#define EVENT_CHECKBOX_CHANGED   0x0401
#define EVENT_SLIDER_VALUE_CHANGED   0x0501
#define EVENT_EDITBOX_STRING   0x0601
#define EVENT_EDITBOX_CHANGE   0x0602
#define EVENT_EDITBOX_CANCEL   0x0603
#define EVENT_LISTBOX_ITEM_DBLCLK   0x0701
#define EVENT_LISTBOX_SELECTION   0x0702
#define EVENT_LISTBOX_SELECTION_END   0x0703
#define passwordcharC   L'·'
#define MAX_CONTROL_STATES   6

Typedefs

typedef VOID(CALLBACK *) UICallback(UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)

Enumerations

enum  UI_CONTROL_TYPE {
  UI_CONTROL_BUTTON , UI_CONTROL_STATIC , UI_CONTROL_CHECKBOX , UI_CONTROL_RADIOBUTTON ,
  UI_CONTROL_COMBOBOX , UI_CONTROL_SLIDER , UI_CONTROL_EDITBOX , UI_CONTROL_IMEEDITBOX ,
  UI_CONTROL_LISTBOX , UI_CONTROL_SCROLLBAR
}
enum  UI_CONTROL_STATE {
  UI_STATE_NORMAL = 0 , UI_STATE_DISABLED , UI_STATE_HIDDEN , UI_STATE_FOCUS ,
  UI_STATE_MOUSEOVER , UI_STATE_PRESSED
}

Macro Definition Documentation

◆ EVENT_BUTTON_CLICKED

#define EVENT_BUTTON_CLICKED   0x0101

Definition at line 22 of file Controls.h.

◆ EVENT_CHECKBOX_CHANGED

#define EVENT_CHECKBOX_CHANGED   0x0401

Definition at line 25 of file Controls.h.

◆ EVENT_COMBOBOX_SELECTION_CHANGED

#define EVENT_COMBOBOX_SELECTION_CHANGED   0x0201

Definition at line 23 of file Controls.h.

◆ EVENT_EDITBOX_CANCEL

#define EVENT_EDITBOX_CANCEL   0x0603

Definition at line 31 of file Controls.h.

◆ EVENT_EDITBOX_CHANGE

#define EVENT_EDITBOX_CHANGE   0x0602

Definition at line 30 of file Controls.h.

◆ EVENT_EDITBOX_STRING

#define EVENT_EDITBOX_STRING   0x0601

Definition at line 27 of file Controls.h.

◆ EVENT_LISTBOX_ITEM_DBLCLK

#define EVENT_LISTBOX_ITEM_DBLCLK   0x0701

Definition at line 32 of file Controls.h.

◆ EVENT_LISTBOX_SELECTION

#define EVENT_LISTBOX_SELECTION   0x0702

Definition at line 35 of file Controls.h.

◆ EVENT_LISTBOX_SELECTION_END

#define EVENT_LISTBOX_SELECTION_END   0x0703

Definition at line 36 of file Controls.h.

◆ EVENT_RADIOBUTTON_CHANGED

#define EVENT_RADIOBUTTON_CHANGED   0x0301

Definition at line 24 of file Controls.h.

◆ EVENT_SLIDER_VALUE_CHANGED

#define EVENT_SLIDER_VALUE_CHANGED   0x0501

Definition at line 26 of file Controls.h.

◆ MAX_CONTROL_STATES

#define MAX_CONTROL_STATES   6

Definition at line 89 of file Controls.h.

◆ MAX_TEXT

#define MAX_TEXT   512

Definition at line 17 of file Controls.h.

◆ passwordcharC

#define passwordcharC   L'·'

Definition at line 38 of file Controls.h.

◆ UI_GUI_H

#define UI_GUI_H

Definition at line 12 of file Controls.h.

Typedef Documentation

◆ UICallback

typedef VOID(CALLBACK *) UICallback(UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)

Definition at line 58 of file Controls.h.

Enumeration Type Documentation

◆ UI_CONTROL_STATE

Enumerator
UI_STATE_NORMAL 
UI_STATE_DISABLED 
UI_STATE_HIDDEN 
UI_STATE_FOCUS 
UI_STATE_MOUSEOVER 
UI_STATE_PRESSED 

Definition at line 79 of file Controls.h.

◆ UI_CONTROL_TYPE

Enumerator
UI_CONTROL_BUTTON 
UI_CONTROL_STATIC 
UI_CONTROL_CHECKBOX 
UI_CONTROL_RADIOBUTTON 
UI_CONTROL_COMBOBOX 
UI_CONTROL_SLIDER 
UI_CONTROL_EDITBOX 
UI_CONTROL_IMEEDITBOX 
UI_CONTROL_LISTBOX 
UI_CONTROL_SCROLLBAR 

Definition at line 65 of file Controls.h.