Triditizer
|
#include <cLTFX.h>
Public Member Functions | |
cMenu (int MAX_MENU, int MAX_GROUP, int MAX_DRAW) | |
~cMenu () | |
void | SetActiveMode (bool m_bMode) |
void | SetColor (int type, const D3DCOLOR color) |
void | SetInitialCoords (int x, int y) |
void | InitializeMenu (void) |
void | InitalizeFont (char *font, int size, IDirect3DDevice9 *pD3Ddev) |
void | PostReset (char *font, int size, IDirect3DDevice9 *pD3Ddev) |
void | PreReset (void) |
int | AddMenuGroup (const char title[20]) |
int | AddMenuItem (const char title[20], float *cvar, int min, int max, int GroupID, int vKey=NULL, char *Opt=NULL,...) |
int | getItemsCount () |
void | DisableAllMenuItems () |
bool | IsMouseInVector (int x, int y, int w, int h) |
void | DrawMenu (char *title, IDirect3DDevice9 *pDevice) |
void | HandleItemHotkeys (WPARAM wKey) |
void | HandleKeyNavigation (WPARAM wKey) |
void | DragMenuWindow (void) |
void | HandleKeys (WPARAM wParams, LPARAM lParams, UINT msg) |
void | DrawText1 (int x, int y, DWORD color, char *szFormat,...) |
void | DrawGameTextPixel (int x, int y, DWORD color, char *szFormat,...) |
void | FillRGB (int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9 *pDevice) |
void | FillARGB (int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9 *pDevice) |
void | FillARGBGradient (int x, int y, int w, int h, D3DCOLOR color1, DWORD color2, IDirect3DDevice9 *pDevice) |
void | DrawBorder (int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9 *pDevice) |
void | DrawBox (int x, int y, int w, int h, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9 *pDevice) |
void | DrawHealthBox (int x, int y, DWORD m_dColorOut, DWORD m_dColorIn, int m_iHealth, int m_iMaxHealth, IDirect3DDevice9 *pDevice) |
void | DrawMouse (IDirect3DDevice9 *pDevice, bool DrawIt=false) |
void | DrawRadar (int x, int y, int size, IDirect3DDevice9 *pDevice) |
void | DrawDot (int x, int y, int r, int g, int b, IDirect3DDevice9 *pDevice) |
void | DrawLine (int x1, int y1, int x2, int y2, D3DCOLOR col, IDirect3DDevice9 *pDevice) |
void | DrawCircle (int x, int y, float radius, D3DCOLOR color, IDirect3DDevice9 *pDevice) |
Public Attributes | |
bool | bMenu |
bool | FontCreated |
bool | firstInit |
bool | moving [3] |
Mouse | m_mouse |
cMenu::cMenu | ( | int | MAX_MENU, |
int | MAX_GROUP, | ||
int | MAX_DRAW | ||
) |
cMenu::~cMenu | ( | ) |
int cMenu::AddMenuGroup | ( | const char | title[20] | ) |
int cMenu::AddMenuItem | ( | const char | title[20], |
float * | cvar, | ||
int | min, | ||
int | max, | ||
int | GroupID, | ||
int | vKey = NULL , |
||
char * | Opt = NULL , |
||
... | |||
) |
void cMenu::DisableAllMenuItems | ( | ) |
void cMenu::DragMenuWindow | ( | void | ) |
void cMenu::DrawBorder | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
int | px, | ||
D3DCOLOR | BorderColor, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawBox | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
D3DCOLOR | BoxColor, | ||
D3DCOLOR | BorderColor, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawCircle | ( | int | x, |
int | y, | ||
float | radius, | ||
D3DCOLOR | color, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawDot | ( | int | x, |
int | y, | ||
int | r, | ||
int | g, | ||
int | b, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawGameTextPixel | ( | int | x, |
int | y, | ||
DWORD | color, | ||
char * | szFormat, | ||
... | |||
) |
void cMenu::DrawHealthBox | ( | int | x, |
int | y, | ||
DWORD | m_dColorOut, | ||
DWORD | m_dColorIn, | ||
int | m_iHealth, | ||
int | m_iMaxHealth, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawLine | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
D3DCOLOR | col, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawMenu | ( | char * | title, |
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawMouse | ( | IDirect3DDevice9 * | pDevice, |
bool | DrawIt = false |
||
) |
void cMenu::DrawRadar | ( | int | x, |
int | y, | ||
int | size, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::DrawText1 | ( | int | x, |
int | y, | ||
DWORD | color, | ||
char * | szFormat, | ||
... | |||
) |
void cMenu::FillARGB | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
D3DCOLOR | color, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::FillARGBGradient | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
D3DCOLOR | color1, | ||
DWORD | color2, | ||
IDirect3DDevice9 * | pDevice | ||
) |
void cMenu::FillRGB | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
D3DCOLOR | color, | ||
IDirect3DDevice9 * | pDevice | ||
) |
int cMenu::getItemsCount | ( | ) |
void cMenu::HandleItemHotkeys | ( | WPARAM | wKey | ) |
void cMenu::HandleKeyNavigation | ( | WPARAM | wKey | ) |
void cMenu::HandleKeys | ( | WPARAM | wParams, |
LPARAM | lParams, | ||
UINT | msg | ||
) |
void cMenu::InitalizeFont | ( | char * | font, |
int | size, | ||
IDirect3DDevice9 * | pD3Ddev | ||
) |
void cMenu::InitializeMenu | ( | void | ) |
bool cMenu::IsMouseInVector | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
void cMenu::PostReset | ( | char * | font, |
int | size, | ||
IDirect3DDevice9 * | pD3Ddev | ||
) |
void cMenu::PreReset | ( | void | ) |
void cMenu::SetActiveMode | ( | bool | m_bMode | ) |
void cMenu::SetColor | ( | int | type, |
const D3DCOLOR | color | ||
) |
void cMenu::SetInitialCoords | ( | int | x, |
int | y | ||
) |
bool cMenu::bMenu |
bool cMenu::firstInit |
bool cMenu::FontCreated |
Mouse cMenu::m_mouse |
bool cMenu::moving[3] |