1
0
Fork 0

EmuWindow: Add some explicit documentation and set proper minimal client area size.

This commit is contained in:
Tony Wasserka 2014-11-13 20:45:37 +01:00
parent 688a5c033e
commit 5785f764ab
1 changed files with 4 additions and 2 deletions

View File

@ -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() {}