Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6614


Ignore:
Timestamp:
Mar 24, 2010, 9:11:12 AM (15 years ago)
Author:
scurcio
Message:

close button pickup

Location:
code/branches/hudelements/data/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudelements/data/gui/layouts/InGameMenu.layout

    r6599 r6614  
    3838            <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/>
    3939        </Window>
    40         <Window Type="TaharezLook/Button" Name="orxonox/InGameMenu_Test" >
    41                 <Property Name="Font" Value="BlueHighway-12" />
    42                 <Property Name="Text" Value="Test" />
    43                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    44                 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7625,0},{0.6,0},{0.8125,0}}" />
    45                 <Property Name="Alpha" Value="0.7" />
    46                 <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/>
    47         </Window>
    4840    </Window>
    4941</GUILayout>
  • code/branches/hudelements/data/gui/layouts/InGamePickupHUD.layout

    r6606 r6614  
    1717                                <Property Name="Font" Value="BlueHighway-10" />
    1818                                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    19                                 <Property Name="UnifiedAreaRect" Value="{{0,5},{0,5},{1,-5},{0,30}}" />
    20                         </Window>       
     19                                <Property Name="UnifiedAreaRect" Value="{{0,5},{0,5},{1,-40},{0,30}}" />
     20                        </Window>
     21                        <Window Type="TaharezLook/Button" Name="orxonox/InGamePickupHUD_closeButton" >
     22                        <Property Name="Font" Value="BlueHighway-12" />
     23                        <Property Name="Text" Value="X" />
     24                        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     25                        <Property Name="UnifiedAreaRect" Value="{{0,85},{0,5},{1,-5},{0,30}}" />
     26                        <Property Name="Alpha" Value="0.7" />
     27                        <Event Name="Clicked" Function="InGamePickupHUD.close_button_clicked"/>
     28                        </Window>
     29                       
    2130                </Window>
    2231               
  • code/branches/hudelements/data/gui/scripts/InGamePickupHUD.lua

    r6606 r6614  
    2626end
    2727
     28function P.close_button_clicked()
     29    hideGUI("InGamePickupHUD")
     30    openDecisionPopup( "SEMI IS absolutely the BEST")
     31end
     32
    2833return P
    2934
Note: See TracChangeset for help on using the changeset viewer.