Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2009, 12:20:57 AM (15 years ago)
Author:
cmueri
Message:

The mouse controls menu has some new buttons and the sensitivity scrollbars are enabled.

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

Legend:

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

    r6206 r6238  
    7777        </Window>
    7878        <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsAvailable" >
    79             <Property Name="Text" Value="Changes in graphics settings are not yet available." />
     79            <Property Name="Text" Value="All the graphics functions are not yet available." />
    8080            <Property Name="TextColours" Value="FFFF0000" />
    8181            <Property Name="InheritsAlpha" Value="False" />
  • code/branches/presentation2/data/gui/layouts/MouseControlsMenu.layout

    r6206 r6238  
    1616            <Property Name="VertFormatting" Value="TopAligned" />
    1717            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.325,0},{0.75,0},{0.6,0}}" />
    18             <Window Type="TaharezLook/StaticText" Name="orxonox/MouseSensitivity" >
    19                 <Property Name="Text" Value="Mouse sensitivity" />
     18            <Window Type="TaharezLook/StaticText" Name="orxonox/MouseNormalSensitivity" >
     19                <Property Name="Text" Value="Sensitivity (normal mode)                                      " />
    2020                <Property Name="InheritsAlpha" Value="False" />
    2121                <Property Name="HorzFormatting" Value="HorzCentred" />
     
    2323                <Property Name="VertFormatting" Value="TopAligned" />
    2424                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.95,0},{0.45,0}}" />
    25                 <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MouseScrollbar" >
     25                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MouseNormalScrollbar" >
    2626                    <Property Name="PageSize" Value="0" />
    2727                    <Property Name="StepSize" Value="1" />
     
    3131                    <Property Name="StepSize" Value="0.1" />
    3232                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    33                     <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.98,0},{0.8,0}}" />
    34                     <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseScrollbar_started" />
    35                     <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseScrollbar_ended" />
    36                     <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseScrollbar_changed" />
     33                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
     34                    <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_started" />
     35                    <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_ended" />
     36                    <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" />
     37                </Window>
     38                <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseNormalButton" >
     39                    <Property Name="Text" Value="Normal mouse input" />
     40                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     41                    <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
     42                    <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseNormalButton_clicked" />
    3743                </Window>
    3844            </Window>
    39             <Window Type="TaharezLook/StaticText" Name="orxonox/MouseControlMode" >
    40                 <Property Name="Text" Value="Mouse control mode" />
     45            <Window Type="TaharezLook/StaticText" Name="orxonox/MouseDeriveSensitivity" >
     46                <Property Name="Text" Value="Sensitivity (derive mode)                                      " />
    4147                <Property Name="InheritsAlpha" Value="False" />
    4248                <Property Name="HorzFormatting" Value="HorzCentred" />
    4349                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    4450                <Property Name="VertFormatting" Value="TopAligned" />
    45                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.9,0}}" />
    46                 <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseControlButton1" >
    47                     <Property Name="Text" Value="Default control mode" />
     51                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
     52                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MouseDeriveScrollbar" >
     53                    <Property Name="PageSize" Value="0" />
     54                    <Property Name="StepSize" Value="1" />
     55                    <Property Name="OverlapSize" Value="0" />
     56                    <Property Name="DocumentSize" Value="1" />
     57                    <Property Name="ScrollPosition" Value="0" />
     58                    <Property Name="StepSize" Value="0.1" />
    4859                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    49                     <Property Name="UnifiedAreaRect" Value="{{0.03,0},{0.6,0},{0.47,0},{0.8,0}}" />
    50                     <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseControlsDefaultButton_clicked" />
     60                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
     61                    <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_started" />
     62                    <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_ended" />
     63                    <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" />
    5164                </Window>
    52                 <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseControlButton2" >
    53                     <Property Name="Text" Value=".............................................." />
     65                <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseDeriveButton" >
     66                    <Property Name="Text" Value="Derive mouse input" />
    5467                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    55                     <Property Name="UnifiedAreaRect" Value="{{0.53,0},{0.6,0},{0.97,0},{0.8,0}}" />
    56                     <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseControls_______Button_clicked" />
     68                    <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
     69                    <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseDeriveButton_clicked" />
    5770                </Window>
     71            </Window>
     72            <Window Type="TaharezLook/Checkbox" Name="orxonox/MouseInvertCheckbox" >
     73                <Property Name="Text" Value="Invert mouse" />
     74                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     75                <Property Name="UnifiedAreaRect" Value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" />
     76                <Event Name="CheckStateChanged" Function="MouseControlsMenu.MouseInvertCheckbox_clicked" />
    5877            </Window>
    5978        </Window>
     
    6584        </Window>
    6685        <Window Type="TaharezLook/StaticText" Name="orxonox/MouseControlsAvailable" >
    67             <Property Name="Text" Value="Changes in mouse controls settings are not yet available." />
     86            <Property Name="Text" Value="The button functions are not yet available." />
    6887            <Property Name="TextColours" Value="FFFF0000" />
    6988            <Property Name="InheritsAlpha" Value="False" />
Note: See TracChangeset for help on using the changeset viewer.