KInterface Class Reference

Inheritance diagram for KInterface:
[legend]
Collaboration diagram for KInterface:
[legend]
List of all members.

Public Member Functions

 KInterface (HINSTANCE hInstance, HWND hWnd, u32 Adapter, u32 Width, u32 Height, u32 Bpp, u32 bFullScreen, u32 RefreshRate, bool bUseInput=true)
virtual ~KInterface ()
void Reset (u32 Adapter, u32 Width, u32 Height, u32 Bpp, u32 bFullScreen, u32 RefreshRate)
virtual bool Init ()
virtual void End ()
virtual void Display ()
virtual void Manage ()
virtual void DrawStats ()
virtual void MoveFrame ()
virtual void Resize (u32 Width, u32 Height)
virtual bool OnKeyDown (u32 VirtKey, u32 KeyData)
virtual void OnMouseMove (KPt &Pos)
virtual void OnLButtonDown (KPt &Pos)
virtual void OnRButtonDown (KPt &Pos)
virtual void OnLButtonUp (KPt &Pos)
virtual void OnRButtonUp (KPt &Pos)
void DisplayInterface ()
void ShowMouse ()
void HideMouse ()
KSoundGetpSound ()
KInputGetpInput ()
KRenderGetpRender ()
KCameraGetpCamera ()
KMouseGetpMouse ()
KKeyboardGetpKeyboard ()
u32 GetWidth ()
u32 GetHeight ()
void SetpFocus (KWin *pWin)
KWinGetpFocus ()
void AddpWin (KWin *pWin)
void RemovepWin (KWin *pWin)
HWND GethWindow ()
virtual void AddChatLine (char *pText, KCOLOR Color=KRGB_WHITE)
void SetpWin (KWin *pWin, bool bFade=true)
virtual void OnAddServersList (KServerInfo &ServerInfo)
virtual void OnFlushServersList ()
void SetInGame (bool bInGame)
bool IsInGame ()
void PlaySoundClicked ()
void PlaySoundHovered ()

Protected Member Functions

void ManageWin ()
virtual void DisplayMouse ()

Static Protected Member Functions

static void CommandDrawStats (KStr Argument, void *pContext)

Protected Attributes

HINSTANCE m_hInstance
HWND m_hWnd
KRect m_Rect
u32 m_Adapter
u32 m_Width
u32 m_Height
u32 m_Bpp
u32 m_bFullScreen
u32 m_RefreshRate
bool m_bShowMouse
KSoundm_pSound
KInputm_pInput
KRenderm_pRender
KCameram_pCamera
KMousem_pMouse
KKeyboardm_pKeyboard
KSHADER m_MouseShader
u32 m_bRendering
KTIME m_PrevTime
u32 m_nFrame
u32 m_nFps
KWinm_pFocusWin
u32 m_bDrawStats
bool m_bInGame
KWinm_pPrevWin
KWinm_pNewWin
KTRACK m_hTrackClick
KTRACK m_hTrackHover

Detailed Description

Definition at line 31 of file Interface.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:33 2007 for Zythum Project by  doxygen 1.5.1-p1