Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2016, 4:00:23 PM (8 years ago)
Author:
marvinh
Message:

Ein neuer Button wurde kreiert. Der JuuButton funktioniert nicht schlecht. Mit dem orxonox looknfeel und dem imageset wird er kreiert und gestaltet. Es braucht noch die richtige Formatierung, dass er richtig skaliert. Zudem muss der Text irgendwo noch erscheinen. entweder in einem anderen Button oder im selben. Studie des CEGUI waere hilfreich. Zudem muss der Diabled State noch machen, welcher die Planeten dunkler macht, dass man sieht welches Level schon gespielt wurde.

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

Legend:

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

    r11299 r11308  
    88        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.0,0},{1.0,0}}" />
    99        <Property Name="BackgroundEnabled" Value="False" />
    10         <Window Type="MenuWidgets/Button" Name="orxonox/Mission1Button" >
     10        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission1Button" >
    1111            <Property Name="Text" Value="Mission One" />
    1212            <Property Name="Visible" Value="False"/>
     
    1515            <Event Name="Clicked" Function="CampaignMenu.Mission1Button_clicked"/>
    1616        </Window>
    17         <Window Type="MenuWidgets/Button" Name="orxonox/Mission2Button" >
     17        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission2Button" >
    1818            <Property Name="Text" Value="Fight in our Back" />
    1919            <Property Name="Visible" Value="False"/>
     
    2323            <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
    2424        </Window>
    25         <Window Type="MenuWidgets/ImageButton" Name="orxonox/Mission3Button" >
     25        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission3Button" >
    2626            <Property Name="Text" Value="Pirate Attack" />
    2727            <Property Name="Visible" Value="False"/>
     
    3131            <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
    3232        </Window>
    33         <Window Type="MenuWidgets/Button" Name="orxonox/Mission4Button" >
     33        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission4Button" >
    3434            <Property Name="Text" Value="Trip to Area 51" />
    3535            <Property Name="Visible" Value="False"/>
     
    3939            <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
    4040        </Window>
    41         <Window Type="MenuWidgets/Button" Name="orxonox/Mission5Button" >
     41        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission5Button" >
    4242            <Property Name="Text" Value="Area 51 under Fire" />
    4343            <Property Name="Visible" Value="False"/>
     
    4747            <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
    4848        </Window>
    49         <Window Type="MenuWidgets/Button" Name="orxonox/Mission6Button" >
     49        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission6Button" >
    5050            <Property Name="Text" Value="Escape the Bastards" />
    5151            <Property Name="Visible" Value="False"/>
     
    5555            <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
    5656        </Window>
    57         <Window Type="MenuWidgets/Button" Name="orxonox/Mission7Button" >
     57        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission7Button" >
    5858            <Property Name="Text" Value="Expedition to Sector 5C" />
    5959            <Property Name="Visible" Value="False"/>
     
    6363            <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
    6464        </Window>
    65         <Window Type="MenuWidgets/Button" Name="orxonox/Mission8Button" >
     65        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission8Button" >
    6666            <Property Name="Text" Value="Shuttle under Attack" />
    6767            <Property Name="Visible" Value="False"/>
     
    7171            <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
    7272        </Window>
    73         <Window Type="MenuWidgets/Button" Name="orxonox/Mission9Button" >
     73        <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission9Button" >
    7474            <Property Name="Text" Value="Retaliation" />
    7575            <Property Name="Visible" Value="False"/>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/OrxonoxHUDWidgets.scheme

    r7887 r11308  
    4040    <WindowAlias Alias="HUDWidgets/Tooltip"                  Target="OrxonoxLook/Tooltip" />
    4141    <WindowAlias Alias="HUDWidgets/Tree"                     Target="OrxonoxLook/Tree" />
     42
     43    <WindowAlias Alias="HUDWidgets/JuuButton"              Target="OrxonoxLook/JuuButton" />
    4244</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/OrxonoxLook.scheme

    r8079 r11308  
    5050    <FalagardMapping WindowType="OrxonoxLook/VUMeter"                     TargetType="CEGUI/ProgressBar"       Renderer="Falagard/ProgressBar"       LookNFeel="OrxonoxLook/VUMeter" />
    5151    <FalagardMapping WindowType="OrxonoxLook/LargeVerticalScrollbar"      TargetType="CEGUI/Scrollbar"         Renderer="Falagard/Scrollbar"         LookNFeel="OrxonoxLook/LargeVerticalScrollbar" />
    52     <FalagardMapping WindowType="OrxonoxLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb"             Renderer="Falagard/Button"            LookNFeel="OrxonoxLook/LargeVerticalScrollbarThumb" />
     52    <FalagardMapping WindowType="OrxonoxLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb"             Renderer="Falagard/Button"         LookNFeel="OrxonoxLook/LargeVerticalScrollbarThumb" />
     53
     54    <FalagardMapping WindowType="OrxonoxLook/JuuButton"              TargetType="CEGUI/PushButton"        Renderer="Falagard/Button"            LookNFeel="OrxonoxLook/JuuButton" />
     55
    5356</GUIScheme>
  • code/branches/StoryModeMap_HS16/data/gui/schemes/OrxonoxMenuWidgets.scheme

    r7887 r11308  
    4040    <WindowAlias Alias="MenuWidgets/Tooltip"                  Target="OrxonoxLook/Tooltip" />
    4141    <WindowAlias Alias="MenuWidgets/Tree"                     Target="OrxonoxLook/Tree" />
     42
     43    <WindowAlias Alias="MenuWidgets/JuuButton"              Target="OrxonoxLook/JuuButton" />
    4244</GUIScheme>
Note: See TracChangeset for help on using the changeset viewer.