Commit 0960eab3 authored by Gerhard Stein's avatar Gerhard Stein Committed by Gerhard Stein

GUI refinements

parent 3d482c2f
......@@ -14,13 +14,11 @@ public:
CBaseMenu( rect, CGUIDialog::FXKind(0) ),
mStyle(style)
{
//GsRect<float> localRect(0.30f, 0.282f, 0.5f, 0.5f);
GsRect<float> localRect(0.25f, 0.282f, 0.6f, 0.5f);
mpMenuDialog->setRect(localRect);
if(style == GsControl::GALAXY)
{
GsRect<float> localRect(0.25f, 0.282f, 0.6f, 0.5f);
mpMenuDialog->setRect(localRect);
mpReturnButton = new GameButton( "x",
new CloseMenuEvent(),
style);
......@@ -33,6 +31,10 @@ public:
}
else if(style == GsControl::VORTICON)
{
GsRect<float> localRect(0.15f, 0.282f, 0.70f, 0.5f);
mpMenuDialog->setRect(localRect);
mpReturnButton = new GsButton( "x",
new CloseMenuEvent(),
GsControl::Style::UNSET);
......
......@@ -14,7 +14,6 @@
#include "SelectionMenu.h"
#include "LoadMenu.h"
#include "SaveMenu.h"
//#include "CHelpMenu.h"
#include "engine/core/CBehaviorEngine.h"
#include "widgets/Button.h"
......
include_directories(${SDL_INCLUDE_DIR})
FILE(GLOB INCLUDES *.h)
#FILE(GLOB SOURCES *.c)
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wswitch")
add_definitions(-DREFKEEN_VER_KDREAMS)
add_definitions(-DREFKEEN_VER_KDREAMS_ANYEGA_ALL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment