Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2016, 3:04:10 PM (3 years ago)
Author:
marvinh
Message:

Finale Version. Die Buttons sind unsichtbar und darueber ist ein TextButton. Sachen von Data_extern muessen noch geschickt werden

Location:
code/branches/StoryModeMap_HS16/data/gui
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/StoryModeMap_HS16/data/gui/layouts/CampaignMenu.layout

    r11316 r11330  
    1010
    1111        <!-- Misson 1************************************* -->
    12         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission1Text" >
     12        <Window Type="MenuWidgets/Button" Name="orxonox/Mission1Text" >
    1313            <Property Name="Text" Value="Mission One" />
    1414            <Property Name="Visible" Value="False"/>
    1515            <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.6,0},{0.3,0},{0.65,0}}" />
     16            <Event Name="Clicked" Function="CampaignMenu.Mission1Button_clicked"/>
    1617        </Window>
    1718
    18         <Window Type="MenuWidgets/Button" Name="orxonox/Mission1Button" >
     19        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission1Button" >
    1920            <Property Name="Visible" Value="False"/>
    2021            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     
    2425
    2526        <!-- Misson 2************************************* -->
    26         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission2Text" >
     27        <Window Type="MenuWidgets/Button" Name="orxonox/Mission2Text" >
    2728            <Property Name="Text" Value="Fight in our Back" />
    2829            <Property Name="Visible" Value="False"/>
    2930            <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.6,0},{0.55,0},{0.65,0}}" />
     31            <Property Name="Disabled" Value="True" />
     32            <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
    3033        </Window>
    3134
    32         <Window Type="MenuWidgets/Button" Name="orxonox/Mission2Button" >
     35        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission2Button" >
    3336            <Property Name="Visible" Value="False"/>
    3437            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     
    3942
    4043        <!-- Misson 3************************************* -->
    41         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission3Text" >
     44        <Window Type="MenuWidgets/Button" Name="orxonox/Mission3Text" >
    4245            <Property Name="Text" Value="Pirate Attack" />
    4346            <Property Name="Visible" Value="False"/>
    4447            <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.75,0},{0.8,0},{0.8,0}}" />
     48            <Property Name="Disabled" Value="True" />
     49            <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
    4550        </Window>
    46         <Window Type="MenuWidgets/Button" Name="orxonox/Mission3Button" >
     51        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission3Button" >
    4752
    4853            <Property Name="Visible" Value="False"/>
     
    5459
    5560        <!-- Misson 4************************************* -->
    56         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission4Text" >
     61        <Window Type="MenuWidgets/Button" Name="orxonox/Mission4Text" >
    5762            <Property Name="Text" Value="Trip to Area 51" />
    5863            <Property Name="Visible" Value="False"/>
    5964            <Property Name="UnifiedAreaRect" Value="{{0.575,0},{0.5,0},{0.775,0},{0.55,0}}" />
     65            <Property Name="Disabled" Value="True" />
     66            <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
    6067        </Window>
    61         <Window Type="MenuWidgets/Button" Name="orxonox/Mission4Button" >
     68        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission4Button" >
    6269
    6370            <Property Name="Visible" Value="False"/>
     
    6976
    7077        <!-- Misson 5************************************* -->
    71         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission5Text" >
     78        <Window Type="MenuWidgets/Button" Name="orxonox/Mission5Text" >
    7279            <Property Name="Text" Value="Area 51 under Fire" />
    7380            <Property Name="Visible" Value="False"/>
    7481            <Property Name="UnifiedAreaRect" Value="{{0.625,0},{0.4,0},{0.825,0},{0.45,0}}" />
     82            <Property Name="Disabled" Value="True" />
     83            <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
    7584        </Window>
    76         <Window Type="MenuWidgets/Button" Name="orxonox/Mission5Button" >
     85        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission5Button" >
    7786
    7887            <Property Name="Visible" Value="False"/>
     
    8493
    8594        <!-- Misson 6************************************* -->
    86         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission6Text" >
     95        <Window Type="MenuWidgets/Button" Name="orxonox/Mission6Text" >
    8796            <Property Name="Text" Value="Escape the Bastards" />
    8897            <Property Name="Visible" Value="False"/>
    8998            <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.1,0},{0.725,0},{0.15,0}}" />
     99            <Property Name="Disabled" Value="True" />
     100            <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
    90101        </Window>
    91         <Window Type="MenuWidgets/Button" Name="orxonox/Mission6Button" >
     102        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission6Button" >
    92103
    93104            <Property Name="Visible" Value="False"/>
     
    99110
    100111        <!-- Misson 7************************************* -->
    101         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission7Text" >
     112        <Window Type="MenuWidgets/Button" Name="orxonox/Mission7Text" >
    102113            <Property Name="Text" Value="Expedition to Sector 5C" />
    103114            <Property Name="Visible" Value="False"/>
     115            <Property Name="Disabled" Value="True" />
     116            <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
    104117            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.025,0},{0.6,0},{0.075,0}}" />
    105118        </Window>
    106         <Window Type="MenuWidgets/Button" Name="orxonox/Mission7Button" >
     119        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission7Button" >
    107120
    108121            <Property Name="Visible" Value="False"/>
     
    114127
    115128        <!-- Misson 8************************************* -->
    116         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission8Text" >
     129        <Window Type="MenuWidgets/Button" Name="orxonox/Mission8Text" >
    117130            <Property Name="Text" Value="Shuttle under Attack" />
    118131            <Property Name="Visible" Value="False"/>
     132            <Property Name="Disabled" Value="True" />
    119133            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2,0},{0.45,0},{0.25,0}}" />
     134            <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
    120135        </Window>
    121         <Window Type="MenuWidgets/Button" Name="orxonox/Mission8Button" >
     136        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission8Button" >
    122137
    123138            <Property Name="Visible" Value="False"/>
     
    129144
    130145        <!-- Misson 9************************************* -->
    131         <Window Type="MenuWidgets/StaticText" Name="orxonox/Mission9Text" >
     146        <Window Type="MenuWidgets/Button" Name="orxonox/Mission9Text" >
    132147            <Property Name="Text" Value="Retaliation" />
    133148            <Property Name="Visible" Value="False"/>
     149            <Property Name="Disabled" Value="True" />
    134150            <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.145,0},{0.3,0},{0.195,0}}" />
     151            <Event Name="Clicked" Function="CampaignMenu.Mission9Button_clicked"/>
    135152        </Window>
    136         <Window Type="MenuWidgets/Button" Name="orxonox/Mission9Button" >
     153        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission9Button" >
    137154
    138155            <Property Name="Visible" Value="False"/>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/OrxonoxMenuWidgets.scheme

    r11308 r11330  
    4141    <WindowAlias Alias="MenuWidgets/Tree"                     Target="OrxonoxLook/Tree" />
    4242
    43     <WindowAlias Alias="MenuWidgets/JuuButton"              Target="OrxonoxLook/JuuButton" />
     43    <WindowAlias Alias="MenuWidgets/JuuButton"                Target="OrxonoxLook/JuuButton" />
    4444</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/TaharezGreenHUDWidgets.scheme

    r6746 r11330  
    4040    <WindowAlias Alias="HUDWidgets/Tooltip"                  Target="TaharezGreenLook/Tooltip" />
    4141    <WindowAlias Alias="HUDWidgets/Tree"                     Target="TaharezGreenLook/Tree" />
     42
     43     <WindowAlias Alias="HUDWidgets/ImageButton"              Target="TaharezGreenLook/JuuButton" />
    4244</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/TaharezGreenLook.scheme

    r8079 r11330  
    5151    <FalagardMapping WindowType="TaharezGreenLook/LargeVerticalScrollbar"      TargetType="CEGUI/Scrollbar"         Renderer="Falagard/Scrollbar"         LookNFeel="TaharezGreenLook/LargeVerticalScrollbar" />
    5252    <FalagardMapping WindowType="TaharezGreenLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb"             Renderer="Falagard/Button"            LookNFeel="TaharezGreenLook/LargeVerticalScrollbarThumb" />
     53
     54    <!-- Special Button for CampaignMenu -->
     55    <FalagardMapping WindowType="TaharezGreenLook/JuuButton"              TargetType="CEGUI/PushButton"        Renderer="Falagard/Button"            LookNFeel="TaharezGreenLook/JuuButton" />
    5356</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/TaharezGreenMenuWidgets.scheme

    r6746 r11330  
    4040    <WindowAlias Alias="MenuWidgets/Tooltip"                  Target="TaharezGreenLook/Tooltip" />
    4141    <WindowAlias Alias="MenuWidgets/Tree"                     Target="TaharezGreenLook/Tree" />
     42
     43        <WindowAlias Alias="MenuWidgets/JuuButton"                Target="TaharezGreenLook/JuuButton" />
    4244</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/TaharezLook.scheme

    r8079 r11330  
    5151    <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbar"      TargetType="CEGUI/Scrollbar"         Renderer="Falagard/Scrollbar"         LookNFeel="TaharezLook/LargeVerticalScrollbar" />
    5252    <FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb"             Renderer="Falagard/Button"            LookNFeel="TaharezLook/LargeVerticalScrollbarThumb" />
     53   
    5354</GUIScheme>
Note: See TracChangeset for help on using the changeset viewer.