From 1c7474b32cfea1e45147d29432d6c32371168227 Mon Sep 17 00:00:00 2001 From: Exosk Date: Fri, 22 Aug 2008 09:39:11 +0000 Subject: [PATCH] if i got a chance i will do this, this fixes the resize problem --- src/Client/GUI/SceneLogin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Client/GUI/SceneLogin.cpp b/src/Client/GUI/SceneLogin.cpp index ef7d514..2b3734c 100644 --- a/src/Client/GUI/SceneLogin.cpp +++ b/src/Client/GUI/SceneLogin.cpp @@ -45,6 +45,8 @@ public: //TODO: Reposition elements on resize +//the code happens only ones, We need to, in the main loop ( usually while(driver->run()) ) set the +//positions of each gui element based on the current screensize ( gotten with driver->getScreenSize(); ) SceneLogin::SceneLogin(PseuGUI *gui) : Scene(gui) {