iw4x-client/src/Components/Modules/Window.hpp

24 lines
726 B
C++
Raw Normal View History

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;
2015-12-30 19:10:15 -05:00
static Dvar::Var NativeCursor;
2015-12-23 08:45:53 -05:00
static void Window::StyleHookStub();
private:
static BOOL CursorVisible;
static int WINAPI ShowCursorHook(BOOL show);
2015-12-30 19:10:15 -05:00
static void DrawCursorStub(void *scrPlace, float x, float y, float w, float h, int horzAlign, int vertAlign, const float *color, Game::Material *material);
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
};
}