Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2009, 1:46:28 PM (15 years ago)
Author:
dafrick
Message:

Removed empty lines.
Adjusted size of boxes in KeyBindMenu so that the text is displayed properly.
Regarding the bug: Found the reason why this happens. The problem is, that apparently CEGUI doesn't allow for windows bigger than the displayed screen, which means, that any window that is bigger than the scrren size isn'f fully displayed. I have no idea how to circumvent this, but I'll keep looking.

Location:
code/branches/presentation2/data/gui/layouts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/layouts/DecisionPopup.layout

    r6334 r6335  
    11<?xml version="1.0" encoding="UTF-8"?>
    22
    3 
    4 
    53<GUILayout >
    6 
    74    <Window Type="DefaultWindow" Name="orxonox/DecisionPopup_RootWindow" >
    8 
    95        <Property Name="InheritsAlpha" Value="False" />
    10 
    116        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12 
    137        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    14 
    158        <Window Type="TaharezLook/StaticImage" Name="orxonox/DecisionPopup_Background" >
    16 
    17             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    18 
     9            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /
    1910            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    20 
    2111            <Property Name="Alpha" Value="0.6" />
    22 
    2312            <Window Type="TaharezLook/Button" Name="orxonox/DecisionPopup_button_yes" >
    24 
    2513                <Property Name="Font" Value="BlueHighway-12" />
    26 
    2714                <Property Name="Text" Value="Yes" />
    28 
    2915                <Property Name="Alpha" Value="0.7" />
    30 
    3116                <Property Name="InheritsAlpha" Value="False" />
    32  
    3317                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    34 
    3518                <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.5625,0},{0.4875,0},{0.6125,0}}" />
    36 
    3719                <Event Name="Clicked" Function="DecisionPopup.button_yes"/>
    38 
    3920            </Window>
    40 
    4121            <Window Type="TaharezLook/Button" Name="orxonox/DecisionPopup_button_no" >
    42 
    4322                <Property Name="Font" Value="BlueHighway-12" />
    44 
    4523                <Property Name="Text" Value="No" />
    46 
    4724                <Property Name="Alpha" Value="0.8" />
    48 
    4925                <Property Name="InheritsAlpha" Value="False" />
    50  
    5126                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    52 
    5327                <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.5625,0},{0.7125,0},{0.6125,0}}" />
    54 
    5528                <Event Name="Clicked" Function="DecisionPopup.button_no"/>
    56 
    5729            </Window>
    58 
    5930            <Window Type="TaharezLook/StaticText" Name="orxonox/DecisionPopup_text" >
    60 
    6131                <Property Name="Text" Value="Template text" />
    62 
    6332                <Property Name="HorzFormatting" Value="WordWrapCentred" />
    64 
    6533                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    66 
    6734                <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.4375,0},{0.75,0},{0.5375,0}}" />
    68 
    6935                <Property Name="InheritsAlpha" Value="False" />
    70  
    7136                <Property Name="Alpha" Value="0.8" />
    72 
    7337            </Window>
    74 
    7538        </Window>
    76 
    7739    </Window>
    78 
    7940</GUILayout>
  • code/branches/presentation2/data/gui/layouts/InGameMenu.layout

    r6334 r6335  
    11<?xml version="1.0" encoding="UTF-8"?>
    22
    3 
    4 
    53<GUILayout >
    6 
    74    <Window Type="DefaultWindow" Name="orxonox/InGameMenu_RootWindow" >
    8 
    95        <Property Name="InheritsAlpha" Value="False" />
    10 
    116        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12 
    137        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    14 
    158        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_ReturnButton" >
    16 
    179            <Property Name="Font" Value="BlueHighway-12" />
    18 
    1910            <Property Name="Text" Value="Return to Game" />
    20 
    2111            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22 
    2312            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
    24 
    2513            <Property Name="Alpha" Value="0.7" />
    26 
    2714            <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/>
    28 
    2915        </Window>
    30 
    3116        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_MainMenuButton" >
    32 
    3317            <Property Name="Font" Value="BlueHighway-12" />
    34 
    3518            <Property Name="Text" Value="Main Menu" />
    36 
    3719            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    38 
    3920            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4625,0},{0.6,0},{0.5125,0}}" />
    40 
    4121            <Property Name="Alpha" Value="0.7" />
    42 
    4322            <Event Name="Clicked" Function="InGameMenu.button_mainmenu_clicked"/>
    44 
    4523        </Window>
    46 
    4724        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_SettingsButton" >
    48 
    4925            <Property Name="Font" Value="BlueHighway-12" />
    50 
    5126            <Property Name="Text" Value="Settings" />
    52 
    5327            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    54 
    5528            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5625,0},{0.6,0},{0.6125,0}}" />
    56 
    5729            <Property Name="Alpha" Value="0.7" />
    58 
    5930            <Event Name="Clicked" Function="InGameMenu.button_settings_clicked"/>
    60 
    6131        </Window>
    62 
    6332        <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_QuitButton" >
    64 
    6533            <Property Name="Font" Value="BlueHighway-12" />
    66 
    6734            <Property Name="Text" Value="Quit" />
    68 
    6935            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    70 
    7136            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    72 
    7337            <Property Name="Alpha" Value="0.7" />
    74 
    7538            <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/>
    76 
    7739        </Window>
    78 
    7940    </Window>
    80 
    8141</GUILayout>
  • code/branches/presentation2/data/gui/layouts/InfoPopup.layout

    r6334 r6335  
    11<?xml version="1.0" encoding="UTF-8"?>
    22
    3 
    4 
    53<GUILayout >
    6 
    74    <Window Type="DefaultWindow" Name="orxonox/InfoPopup_RootWindow" >
    8 
    95        <Property Name="InheritsAlpha" Value="False" />
    10 
    116        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12 
    137        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    14 
    158        <Window Type="TaharezLook/StaticImage" Name="orxonox/InfoPopup_Background" >
    16 
    179            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    18 
    1910            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    20 
    2111            <Property Name="Alpha" Value="0.7" />
    22 
    2312            <Window Type="TaharezLook/Button" Name="orxonox/InfoPopup_close" >
    24 
    2513                <Property Name="Font" Value="BlueHighway-12" />
    26 
    2714                <Property Name="Text" Value="Close" />
    28 
    2915                <Property Name="Alpha" Value="0.7" />
    30 
    3116                <Property Name="InheritsAlpha" Value="False" />
    32  
    33                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    34 
     17                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    3518                <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5,0},{0.6,0},{0.55,0}}" />
    36 
    3719                <Event Name="Clicked" Function="InfoPopup.close"/>
    38 
    3920            </Window>
    40 
    4121            <Window Type="TaharezLook/StaticText" Name="orxonox/InfoPopup_text" >
    42 
    4322                <Property Name="Text" Value="Template text" />
    44 
    4523                <Property Name="TextColours" Value="FF4444FF" />
    4624                <Property Name="HorzFormatting" Value="WordWrapCentred" />
    47 
    4825                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    49 
    5026                <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.375,0},{0.75,0},{0.475,0}}" />
    51 
    5227                <Property Name="InheritsAlpha" Value="False" />
    53  
    5428               <Property Name="Alpha" Value="0.8" />
    55 
    5629            </Window>
    57 
    5830        </Window>
    59 
    6031    </Window>
    61 
    6232</GUILayout>
  • code/branches/presentation2/data/gui/layouts/KeyBindMenu.layout

    r6334 r6335  
    11<?xml version="1.0" encoding="UTF-8"?>
    22
    3 
    4 
    53<GUILayout >
    6 
    74    <Window Type="DefaultWindow" Name="orxonox/KeyBindMenu/Background" >
    8 
    95        <Property Name="InheritsAlpha" Value="False" />
    10 
    116        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12 
    137        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    14 
    158        <Window Type="TaharezLook/StaticText" Name="orxonox/KeyBindWindow" >
    16 
    179            <Property Name="Text" Value="Keybindings" />
    18 
    1910            <Property Name="Alpha" Value="0.8" />
    20 
    2111            <Property Name="InheritsAlpha" Value="False" />
    22 
    2312            <Property Name="HorzFormatting" Value="HorzCentred" />
    24 
    2513            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    26 
    2714            <Property Name="VertFormatting" Value="TopAligned" />
    28 
    2915            <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
    30 
    3116            <Window Type="TaharezLook/StaticText" Name="orxonox/KeyBindWrapper" >
    32 
    3317                <Property Name="TextColours" Value="FF4444FF" />
    34 
    3518                <Property Name="InheritsAlpha" Value="False" />
    36 
    3719                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    38 
    3920                <Property Name="HorzFormatting" Value="HorzCentred" />
    40 
    4121                <Property Name="VertFormatting" Value="TopAligned" />
    42 
    4322                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    44 
    4523                <Window Type="TaharezLook/ScrollablePane" Name="orxonox/KeyBindPane" >
    46 
    4724                    <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    48 
    4925                    <Property Name="HorzStepSize" Value="0.1" />
    50 
    5126                    <Property Name="VertStepSize" Value="0.1" />
    52 
    5327                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    54 
    5528                    <Property Name="HorzOverlapSize" Value="0.01" />
    56 
    5729                    <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
    58 
    5930                    <Property Name="VertOverlapSize" Value="0.01" />
    60 
    6131                    <Property Name="HorzScrollPosition" Value="0" />
    62 
    6332                    <Property Name="VertScrollPosition" Value="0" />
    64 
    6533                </Window>
    66 
    6734            </Window>
    68 
    6935        </Window>
    70 
    7136        <Window Type="TaharezLook/Button" Name="orxonox/KeyBindBackButton" >
    7237            <Property Name="Text" Value="Back" />
    73 
    7438            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    75 
    7639            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    77 
    7840            <Event Name="Clicked" Function="KeyBindMenu.KeyBindBackButton_clicked"/>
    79 
    8041        </Window>
    81 
    8242    </Window>
    83 
    8443</GUILayout>
Note: See TracChangeset for help on using the changeset viewer.