From 8efe1fd1e558808180fb5e32cdaec2a88af52556 Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 13 Nov 2014 20:45:37 +0100 Subject: [PATCH] EmuWindow: Add some explicit documentation and set proper minimal client area size. --- src/common/emu_window.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/emu_window.h b/src/common/emu_window.h index 52c870036..4cb94fed1 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() {}