8#ifndef META_OCEAN_PLATFORM_WIN_WINDOW_H
9#define META_OCEAN_PLATFORM_WIN_WINDOW_H
30class OCEAN_PLATFORM_WIN_EXPORT
Window
52 using Files = std::vector<std::wstring>;
59 using ClassMap = std::unordered_map<std::wstring, unsigned int>;
69 virtual bool initialize(
const HICON icon =
nullptr,
const std::string& windowClass =
"window");
99 virtual void repaint(
const bool eraseBackground =
false);
106 bool move(
const int x,
const int y);
126 inline const std::wstring&
name()
const;
132 inline HWND
handle()
const;
144 inline HDC
dc()
const;
236 virtual void modifyWindowStyle(DWORD& windowStyle,
int& windowLeft,
int& windowTop,
int& windowWidth,
int& windowHeight);
349 static LRESULT CALLBACK
windowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
393 ocean_assert(iconId >= 0);
This class implements a recursive lock object.
Definition Lock.h:31
The namespace covering the entire Ocean framework.
Definition Accessor.h:15