|
raSystem
1.0 bata
|
#include <raGui.h>
Public Member Functions | |
| raGUI (raDirectX *dx) | |
| ~raGUI () | |
| int | Init (raGUISkin *pSkin, void *pMsgProc, raVector2 vSize, raVector2 vScaling=raVector2(1.0f)) |
| int | Exit () |
| int | Move (const float fTime, BOOL *pbButtons, float *pfButtons) |
| int | Render (const float fTime) |
| int | RenderCursor (const float fTime) |
| int | PostMessage (int iID, raGUIMessage *pMsg) |
| int | BroadcastMessage (raGUIMessage *pMsg, int iPage=-1) |
| raListEntry< raGUIElement * > * | GetElementListEntry (int iID) |
| raGUIElement * | GetElement (int iID) |
| int | DeleteElement (int iID) |
| int | SetCurrentPage (int iPage) |
| int | AddRect (const raVector2 &vTopLeft, const raVector2 &vSize, const raColor &Color, const raVector2 &vTopLeftTex, const raVector2 &vSizeOnTex, raGUIVertex *pOut=NULL) |
| int | AddRects1D (const raVector2 &vTopLeft, const raVector2 &vSize, float fNumRects, const raVector2 &vTranslation, const raColor &Color, const raVector2 &vTopLeftTex, const raVector2 &vSizeOnTex) |
| int | AddRects2D (raVector2 vTopLeft, const raVector2 &vSize, const float fNumColumns, float fNumRows, const raColor &Color, const raVector2 &vTopLeftTex, const raVector2 &vSizeOnTex) |
| int | AddFrame (const raVector2 &vTopLeft, const raVector2 &vSize, const raColor &Color, const raVector2 &vTopLeftOnTex) |
| raGUIElement * | CreateElement (int iID, raGUIElementType Type, int iPage, raVector2 vPosition, raVector2 vSize) |
| int | CreateFrame (int iID, int iPage, raVector2 vPosition, raVector2 vSize) |
| int | CreateButton (int iID, int iPage, raVector2 vPosition, raVector2 vSize, char *pcText) |
| int | CreateImage (int iID, int iPage, raVector2 vPosition, raVector2 vSize, ID3D11Texture2D *pTexture, raVector2 vTopLeftTex=raVector2(0.0f, 0.0f), raVector2 vBottomRightTex=raVector2(1.0f, 1.0f), raColor Color=raColor(1.0f)) |
| int | CreateCheckBox (int iID, int iPage, raVector2 vPosition, raVector2 vSize, char *pcText, BOOL bChecked=FALSE) |
| int | CreateRadioBox (int iID, int iPage, raVector2 vPosition, raVector2 vSize, char *pcText, int iGroup=0, BOOL bChecked=FALSE) |
| int | CreateInput (int iID, int iPage, raVector2 vPosition, raVector2 vSize, char *pcText="", BOOL bPassword=FALSE, char PasswordChar=' *') |
| int | CreateList (int iID, int iPage, raVector2 vPosition, raVector2 vSize, float fLineHeight) |
| BOOL | WasButtonPressed (int b) |
| BOOL | WasButtonReleased (int b) |
| raGUISkin | GetSkin () |
| ID3DX11Effect * | GetImageEffect () |
| int | GetCurrentPage () |
| raVector2 | GetCursorPos () |
| void * | GetMessageProc () |
| void | SetSkin (raGUISkin *pSkin) |
| void | SetCursorPos (raVector2 v) |
| void | SetMessageProc (void *pProc) |
Friends | |
| class | raGUIElement |
| class | raGUIFrame |
| class | raGUIText |
| class | raGUIImage |
| class | raGUIButton |
| class | raGUICheckBox |
| class | raGUIRadioBox |
| class | raGUIInput |
| class | raGUIList |
| raSystem::raGUI::raGUI | ( | raDirectX * | dx | ) |
| int raSystem::raGUI::AddFrame | ( | const raVector2 & | vTopLeft, |
| const raVector2 & | vSize, | ||
| const raColor & | Color, | ||
| const raVector2 & | vTopLeftOnTex | ||
| ) |
| int raSystem::raGUI::AddRect | ( | const raVector2 & | vTopLeft, |
| const raVector2 & | vSize, | ||
| const raColor & | Color, | ||
| const raVector2 & | vTopLeftTex, | ||
| const raVector2 & | vSizeOnTex, | ||
| raGUIVertex * | pOut = NULL |
||
| ) |
| int raSystem::raGUI::AddRects1D | ( | const raVector2 & | vTopLeft, |
| const raVector2 & | vSize, | ||
| float | fNumRects, | ||
| const raVector2 & | vTranslation, | ||
| const raColor & | Color, | ||
| const raVector2 & | vTopLeftTex, | ||
| const raVector2 & | vSizeOnTex | ||
| ) |
| int raSystem::raGUI::AddRects2D | ( | raVector2 | vTopLeft, |
| const raVector2 & | vSize, | ||
| const float | fNumColumns, | ||
| float | fNumRows, | ||
| const raColor & | Color, | ||
| const raVector2 & | vTopLeftTex, | ||
| const raVector2 & | vSizeOnTex | ||
| ) |
| int raSystem::raGUI::BroadcastMessage | ( | raGUIMessage * | pMsg, |
| int | iPage = -1 |
||
| ) |
| int raSystem::raGUI::CreateButton | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| char * | pcText | ||
| ) |
| int raSystem::raGUI::CreateCheckBox | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| char * | pcText, | ||
| BOOL | bChecked = FALSE |
||
| ) |
| raGUIElement* raSystem::raGUI::CreateElement | ( | int | iID, |
| raGUIElementType | Type, | ||
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize | ||
| ) |
| int raSystem::raGUI::CreateImage | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| ID3D11Texture2D * | pTexture, | ||
| raVector2 | vTopLeftTex = raVector2(0.0f, 0.0f), |
||
| raVector2 | vBottomRightTex = raVector2(1.0f, 1.0f), |
||
| raColor | Color = raColor(1.0f) |
||
| ) |
| int raSystem::raGUI::CreateInput | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| char * | pcText = "", |
||
| BOOL | bPassword = FALSE, |
||
| char | PasswordChar = ' *' |
||
| ) |
| int raSystem::raGUI::CreateList | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| float | fLineHeight | ||
| ) |
| int raSystem::raGUI::CreateRadioBox | ( | int | iID, |
| int | iPage, | ||
| raVector2 | vPosition, | ||
| raVector2 | vSize, | ||
| char * | pcText, | ||
| int | iGroup = 0, |
||
| BOOL | bChecked = FALSE |
||
| ) |
| int raSystem::raGUI::DeleteElement | ( | int | iID | ) |
| int raSystem::raGUI::Exit | ( | ) |
| raGUIElement* raSystem::raGUI::GetElement | ( | int | iID | ) |
| raListEntry<raGUIElement*>* raSystem::raGUI::GetElementListEntry | ( | int | iID | ) |
|
inline |
| int raSystem::raGUI::Init | ( | raGUISkin * | pSkin, |
| void * | pMsgProc, | ||
| raVector2 | vSize, | ||
| raVector2 | vScaling = raVector2(1.0f) |
||
| ) |
| int raSystem::raGUI::Move | ( | const float | fTime, |
| BOOL * | pbButtons, | ||
| float * | pfButtons | ||
| ) |
| int raSystem::raGUI::PostMessage | ( | int | iID, |
| raGUIMessage * | pMsg | ||
| ) |
| int raSystem::raGUI::Render | ( | const float | fTime | ) |
| int raSystem::raGUI::RenderCursor | ( | const float | fTime | ) |
| int raSystem::raGUI::SetCurrentPage | ( | int | iPage | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |