15 enum RAPI raGUIMessageType
45 enum RAPI raGUIElementType
74 raGUIElementType m_Type;
85 virtual int ReceiveMessage(
const raGUIMessage* pMsg) = 0;
89 raGUIElementType
GetType() {
return m_Type;}
97 void SetPage(
int iPage) {m_iPage = iPage;}
100 void Show(BOOL bShow) {m_bVisible = bShow;}
101 void Enable(BOOL bEnable) {m_bEnabled = bEnable;}
124 BOOL m_bIsListScrollBtn;
125 BOOL m_bIsScrollUpBtn;
134 void SetText(
char* pcText) {strcpy(m_acText, pcText);}
159 void SetText(
char* pcText) {strcpy(m_acText, pcText);}
173 ID3D11Texture2D* m_pTexture;
211 void SetText(
char* pcText) {strcpy(m_acText, pcText);}
212 void Check(BOOL bCheck) {m_bChecked = bCheck;}
230 int Check(BOOL bCheck);
236 void SetText(
char* pcText) {strcpy(m_acText, pcText);}
237 void SetGroup(
int iGroup) {m_iGroup = iGroup; Check(m_bChecked);}
263 void SetText(
char* pcText) {strcpy(m_acText, pcText); m_iCursor = strlen(m_acText);}
300 int AddEntry(
char* pcText,
void*
pData);
301 int DeleteEntry(
int iID);
302 int GetEntryOrder(
int iID);
304 int GetPrevEntry(
int iID);
305 int GetNextEntry(
int iID);
360 int Move(
const float fTime, BOOL* pbButtons,
float* pfButtons);
361 int Render(
const float fTime);
362 int RenderCursor(
const float fTime);
364 int BroadcastMessage(
raGUIMessage* pMsg,
int iPage = -1);
367 int DeleteElement(
int iID);
368 int SetCurrentPage(
int iPage);
379 int AddRects1D(
const raVector2& vTopLeft,
390 const float fNumColumns,
404 raGUIElementType Type,
410 int CreateFrame(
int iID,
416 int CreateButton(
int iID,
423 int CreateImage(
int iID,
427 ID3D11Texture2D* pTexture,
433 int CreateCheckBox(
int iID,
438 BOOL bChecked = FALSE);
441 int CreateRadioBox(
int iID,
447 BOOL bChecked = FALSE);
450 int CreateInput(
int iID,
455 BOOL bPassword = FALSE,
456 char PasswordChar =
'*');
459 int CreateList(
int iID,
480 ID3D11Buffer* m_pVertexBuffer;
482 BOOL* m_pbOldButtons;
491 int m_aiKeyRepeat[108];
ID3D11Texture2D * pSkinTexture
void SetTextSize(const raVector2 &s)
const raColor & GetColor()
const raVector2 & GetTextSize()
void SetSkin(raGUISkin *pSkin)
const raVector2 & GetSize()
ID3D11Texture2D * GetTexture()
void SetTextFlags(DWORD f)
void SetCursorPos(raVector2 v)
void SetTopLeftTex(raVector2 v)
raVector2 GetTopLeftTex()
raGUIListEntry * GetSelectedEntry()
void SetSize(raVector2 vSize)
raVector2 GetBottomRightTex()
void SetBottomRightTex(raVector2 v)
void SetText(char *pcText)
void SetTexture(ID3D11Texture2D *t)
BOOL WasButtonPressed(int b)
raColor DisabledTextColor
interface ID3DX11Effect ID3DX11Effect
void Enable(BOOL bEnable)
raColor HighlightTextColor
const raVector2 & GetPosition()
void SetText(char *pcText)
ID3D11Buffer D3D11_BUFFER_DESC void * pData
raGUIElementType GetType()
void SetGroup(int iGroup)
ID3DX11Effect * GetImageEffect()
void SetPosition(raVector2 vPos)
BOOL WasButtonReleased(int b)
void SetColor(const raColor &c)
void SetMessageProc(void *pProc)
void SetText(char *pcText)
void SetLineHeight(float f)