Merge pull request #1387 from Areloch/SDL_MenuBar_Fixes

Fixes the menubar functionality when using SDL.
This commit is contained in:
Areloch 2015-08-06 18:32:11 -05:00
commit 78e4a32ad7
7 changed files with 151 additions and 75 deletions

View file

@ -5,8 +5,8 @@
new GuiPlatformGenericMenuBar()
{
internalName = "menubar";
extent = "1024 32";
minExtent = "320 32";
extent = "1024 20";
minExtent = "320 20";
horizSizing = "width";
profile = "GuiMenuBarProfile";
};

View file

@ -1067,8 +1067,10 @@ singleton GuiControlProfile( GuiCreatorIconButtonProfile )
singleton GuiControlProfile( GuiMenuBarProfile )
{
fillcolor = "255 255 255";
borderColor = "0 0 0";
border = 1;
fillcolorHL = "213 231 248";
borderColor = "98 163 229";
borderColorHL = "122 177 232";
border = 0;
borderThickness = 1;
opaque = true;
mouseOverSelected = true;

View file

@ -5,8 +5,8 @@
new GuiPlatformGenericMenuBar()
{
internalName = "menubar";
extent = "1024 32";
minExtent = "320 32";
extent = "1024 20";
minExtent = "320 20";
horizSizing = "width";
profile = "GuiMenuBarProfile";
};

View file

@ -1067,8 +1067,10 @@ singleton GuiControlProfile( GuiCreatorIconButtonProfile )
singleton GuiControlProfile( GuiMenuBarProfile )
{
fillcolor = "255 255 255";
borderColor = "0 0 0";
border = 1;
fillcolorHL = "213 231 248";
borderColor = "98 163 229";
borderColorHL = "122 177 232";
border = 0;
borderThickness = 1;
opaque = true;
mouseOverSelected = true;