2015-12-23 08:45:53 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Window : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Window();
|
|
|
|
const char* GetName() { return "Window"; };
|
|
|
|
|
|
|
|
static Dvar::Var NoBorder;
|
|
|
|
static void Window::StyleHookStub();
|
2015-12-29 08:46:17 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
static BOOL CursorVisible;
|
|
|
|
|
|
|
|
static int WINAPI ShowCursorHook(BOOL show);
|
|
|
|
static void DrawCursorStub();
|
|
|
|
|
|
|
|
static HWND MainWindow;
|
|
|
|
|
|
|
|
static HWND WINAPI CreateMainWindow(DWORD dwExStyle, LPCSTR lpClassName, LPCSTR lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam);
|
2015-12-23 08:45:53 -05:00
|
|
|
};
|
|
|
|
}
|