Community feedback
Updated naming convention Exposed the game name to Emulator for other uses Fixed bug with XDBF parsing
This commit is contained in:
@@ -53,7 +53,7 @@ class Window {
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool set_icon_from_buffer(void *buffer, size_t size) = 0;
|
||||
virtual bool SetIconFromBuffer(void *buffer, size_t size) = 0;
|
||||
|
||||
virtual bool is_fullscreen() const { return false; }
|
||||
virtual void ToggleFullscreen(bool fullscreen) {}
|
||||
|
||||
@@ -32,8 +32,8 @@ Win32Window::~Win32Window() {
|
||||
hwnd_ = nullptr;
|
||||
}
|
||||
if (icon_ != nullptr) {
|
||||
DestroyIcon(icon_);
|
||||
icon_ = nullptr;
|
||||
DestroyIcon(icon_);
|
||||
icon_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ bool Win32Window::set_title(const std::wstring& title) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Win32Window::set_icon_from_buffer(void* buffer, size_t size) {
|
||||
bool Win32Window::SetIconFromBuffer(void *buffer, size_t size) {
|
||||
if (icon_ != nullptr) {
|
||||
DestroyIcon(icon_);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class Win32Window : public Window {
|
||||
HWND hwnd() const { return hwnd_; }
|
||||
|
||||
bool set_title(const std::wstring& title) override;
|
||||
bool set_icon_from_buffer(void *buffer, size_t size) override;
|
||||
bool SetIconFromBuffer(void *buffer, size_t size) override;
|
||||
|
||||
bool is_fullscreen() const override;
|
||||
void ToggleFullscreen(bool fullscreen) override;
|
||||
|
||||
Reference in New Issue
Block a user