aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-13 18:17:39 +0100
committerGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-18 13:09:01 +0100
commit182476c96a6c75e90a90cbb52048bf754fdd786d (patch)
treec6ce8fc723e9c702a3bc3bf3c1a6788b6faee486 /src/common/emu_window.h
parentded9c8a826b2b69b4c7a63bf4cea9805b5244788 (diff)
EmuWindow: Remove window title getters/setters.
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway.
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 1465743f..3817a773 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -89,20 +89,8 @@ public:
return std::make_pair(client_area_width, client_area_height);
}
- // TODO: Remove
- std::string GetWindowTitle() const {
- return window_title;
- }
-
- // TODO: Remove
- void SetWindowTitle(const std::string& val) {
- window_title = val;
- }
-
protected:
- // TODO: Remove window title initialization
- EmuWindow() :
- window_title(Common::StringFromFormat("Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc))
+ EmuWindow()
{
// TODO
config.min_client_area_size = std::make_pair(300u, 500u);
@@ -145,9 +133,6 @@ private:
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
}
- // TODO: Remove
- std::string window_title; ///< Current window title, should be used by window impl.
-
std::pair<unsigned,unsigned> framebuffer_size;
unsigned client_area_width; ///< Current client width, should be set by window impl.