aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-13 20:45:37 +0100
committerGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-18 13:16:02 +0100
commit5785f764aba431967881df01acc08a3405c97097 (patch)
tree43b0a83967465e53b62fe09d1e6f8bddb395b5f9 /src/common/emu_window.h
parent688a5c033ec68bb45cde824885ce8d64384c237d (diff)
EmuWindow: Add some explicit documentation and set proper minimal client area size.
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 52c87003..4cb94fed 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -24,6 +24,8 @@
* - EmuWindow may expose some of its state as read-only to the emulation core, however care
* should be taken to make sure the provided information is self-consistent. This requires
* some sort of synchronization (most of this is still a TODO).
+ * - DO NOT TREAT THIS CLASS AS A GUI TOOLKIT ABSTRACTION LAYER. That's not what it is. Please
+ * re-read the upper points again and think about it if you don't see this.
*/
class EmuWindow
{
@@ -92,8 +94,8 @@ public:
protected:
EmuWindow()
{
- // TODO
- config.min_client_area_size = std::make_pair(300u, 500u);
+ // TODO: Find a better place to set this.
+ config.min_client_area_size = std::make_pair(400u, 480u);
active_config = config;
}
virtual ~EmuWindow() {}