Rise
The Vieneo Province
Loading...
Searching...
No Matches
Controls.cpp File Reference
Include dependency graph for Controls.cpp:

Go to the source code of this file.

Classes

struct  UI_SCREEN_VERTEX
struct  UI_SCREEN_VERTEX_UNTEX

Macros

#define WM_XBUTTONDOWN   0x020B
#define WM_XBUTTONUP   0x020C
#define WM_MOUSEWHEEL   0x020A
#define WHEEL_DELTA   120
#define SCROLLBAR_MINTHUMBSIZE   8
#define SCROLLBAR_ARROWCLICK_DELAY   0.33
#define SCROLLBAR_ARROWCLICK_REPEAT   0.05
#define UI_NEAR_BUTTON_DEPTH   0.6f
#define UI_FAR_BUTTON_DEPTH   0.8f
#define UI_MAX_GUI_SPRITES   500
#define UNISCRIBE_DLLNAME   L"usp10.dll"
#define GETPROCADDRESS(Module, APIName, Temp)
#define PLACEHOLDERPROC(APIName)
#define IMM32_DLLNAME   L"imm32.dll"
#define VER_DLLNAME   L"version.dll"
#define UI_MAX_EDITBOXLENGTH   0xFFFF
#define EDITBOX_SCROLLEXTENT   4
#define IN_FLOAT_CHARSET(c)

Functions

RiseMath::Color ColorValue (Rendering::PackedColor c)
int RectWidth (RECT &rc)
int RectHeight (RECT &rc)
 HRESULT (WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
SCRIPT_CONTROL SCRIPT_STATE * HRESULT (WINAPI *CUniBuffer::_ScriptStringAnalyse)(HDC
SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS * HRESULT (WINAPI *CUniBuffer::_ScriptStringCPtoX)(SCRIPT_STRING_ANALYSIS
SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS int * HRESULT (WINAPI *CUniBuffer::_ScriptStringXtoCP)(SCRIPT_STRING_ANALYSIS
SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS int int int * HRESULT (WINAPI *CUniBuffer::_ScriptStringFree)(SCRIPT_STRING_ANALYSIS *)

Variables

SCRIPT_CONTROL SCRIPT_STATE const void int
SCRIPT_CONTROL SCRIPT_STATE const void DWORD
SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS BOOL

Macro Definition Documentation

◆ EDITBOX_SCROLLEXTENT

#define EDITBOX_SCROLLEXTENT   4

Definition at line 5052 of file Controls.cpp.

◆ GETPROCADDRESS

#define GETPROCADDRESS ( Module,
APIName,
Temp )
Value:
Temp = GetProcAddress( Module, #APIName ); \
if( Temp ) \
*(FARPROC*)&_##APIName = Temp

Definition at line 50 of file Controls.cpp.

◆ IMM32_DLLNAME

#define IMM32_DLLNAME   L"imm32.dll"

Definition at line 58 of file Controls.cpp.

◆ IN_FLOAT_CHARSET

#define IN_FLOAT_CHARSET ( c)
Value:
( (c) == L'-' || (c) == L'.' || ( (c) >= L'0' && (c) <= L'9' ) )

Definition at line 5763 of file Controls.cpp.

◆ PLACEHOLDERPROC

#define PLACEHOLDERPROC ( APIName)
Value:
_##APIName = Dummy_##APIName

Definition at line 55 of file Controls.cpp.

◆ SCROLLBAR_ARROWCLICK_DELAY

#define SCROLLBAR_ARROWCLICK_DELAY   0.33

Definition at line 31 of file Controls.cpp.

◆ SCROLLBAR_ARROWCLICK_REPEAT

#define SCROLLBAR_ARROWCLICK_REPEAT   0.05

Definition at line 32 of file Controls.cpp.

◆ SCROLLBAR_MINTHUMBSIZE

#define SCROLLBAR_MINTHUMBSIZE   8

Definition at line 28 of file Controls.cpp.

◆ UI_FAR_BUTTON_DEPTH

#define UI_FAR_BUTTON_DEPTH   0.8f

Definition at line 35 of file Controls.cpp.

◆ UI_MAX_EDITBOXLENGTH

#define UI_MAX_EDITBOXLENGTH   0xFFFF

Definition at line 70 of file Controls.cpp.

◆ UI_MAX_GUI_SPRITES

#define UI_MAX_GUI_SPRITES   500

Definition at line 37 of file Controls.cpp.

◆ UI_NEAR_BUTTON_DEPTH

#define UI_NEAR_BUTTON_DEPTH   0.6f

Definition at line 34 of file Controls.cpp.

◆ UNISCRIBE_DLLNAME

#define UNISCRIBE_DLLNAME   L"usp10.dll"

Definition at line 48 of file Controls.cpp.

◆ VER_DLLNAME

#define VER_DLLNAME   L"version.dll"

Definition at line 59 of file Controls.cpp.

◆ WHEEL_DELTA

#define WHEEL_DELTA   120

Definition at line 24 of file Controls.cpp.

◆ WM_MOUSEWHEEL

#define WM_MOUSEWHEEL   0x020A

Definition at line 21 of file Controls.cpp.

◆ WM_XBUTTONDOWN

#define WM_XBUTTONDOWN   0x020B

Definition at line 15 of file Controls.cpp.

◆ WM_XBUTTONUP

#define WM_XBUTTONUP   0x020C

Definition at line 18 of file Controls.cpp.

Function Documentation

◆ ColorValue()

Definition at line 39 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HRESULT() [1/5]

HRESULT ( WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution ) const
Here is the call graph for this function:

◆ HRESULT() [2/5]

SCRIPT_CONTROL SCRIPT_STATE * HRESULT ( WINAPI *CUniBuffer::_ScriptStringAnalyse )

◆ HRESULT() [3/5]

SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS * HRESULT ( WINAPI *CUniBuffer::_ScriptStringCPtoX )

◆ HRESULT() [4/5]

SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS int int int * HRESULT ( WINAPI *CUniBuffer::_ScriptStringFree )
Here is the call graph for this function:

◆ HRESULT() [5/5]

SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS int * HRESULT ( WINAPI *CUniBuffer::_ScriptStringXtoCP )
Here is the call graph for this function:

◆ RectHeight()

int RectHeight ( RECT & rc)
inline

Definition at line 106 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RectWidth()

int RectWidth ( RECT & rc)
inline

Definition at line 102 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BOOL

SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS BOOL

Definition at line 5035 of file Controls.cpp.

◆ DWORD

SCRIPT_CONTROL SCRIPT_STATE const void DWORD

Definition at line 5032 of file Controls.cpp.

◆ int

SCRIPT_CONTROL SCRIPT_STATE const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS int int

Definition at line 5032 of file Controls.cpp.