Set the window icon from the module resource pool

Makes use of the stb_image library
Conversion to HICON seems to have broken somewhere
This commit is contained in:
x1nixmzeng
2016-01-07 01:32:56 +00:00
parent 321e2d8873
commit 92c8409b0a
6 changed files with 60 additions and 13 deletions

View File

@@ -53,6 +53,8 @@ class Window {
return true;
}
virtual bool set_icon_from_buffer(void *buffer, size_t size) = 0;
virtual bool is_fullscreen() const { return false; }
virtual void ToggleFullscreen(bool fullscreen) {}