Changeset 6251
- Timestamp:
- Dec 5, 2009, 9:33:56 PM (15 years ago)
- Location:
- code/branches/presentation2/data/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/layouts/MouseControlsMenu.layout
r6238 r6251 72 72 <Window Type="TaharezLook/Checkbox" Name="orxonox/MouseInvertCheckbox" > 73 73 <Property Name="Text" Value="Invert mouse" /> 74 <Property Name="Disabled" Value="true" /> 74 75 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 75 76 <Property Name="UnifiedAreaRect" Value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" /> … … 84 85 </Window> 85 86 <Window Type="TaharezLook/StaticText" Name="orxonox/MouseControlsAvailable" > 86 <Property Name="Text" Value="The button functions arenot yet available." />87 <Property Name="Text" Value="The invert mouse button is not yet available." /> 87 88 <Property Name="TextColours" Value="FFFF0000" /> 88 89 <Property Name="InheritsAlpha" Value="False" /> -
code/branches/presentation2/data/gui/scripts/MouseControlsMenu.lua
r6239 r6251 86 86 derivewindow:setSelected(false) 87 87 block = false 88 -- normal mouse input89 88 orxonox.CommandExecutor:execute("config KeyBinder bDeriveMouseInput_ false") 90 89 end … … 96 95 normalwindow:setSelected(false) 97 96 block = false 98 -- derive mouse input99 97 orxonox.CommandExecutor:execute("config KeyBinder bDeriveMouseInput_ true") 100 98 end … … 103 101 function P.MouseInvertCheckbox_clicked(e) 104 102 -- invert mouse 105 debug("event: invert mouse")106 103 end 107 104
Note: See TracChangeset
for help on using the changeset viewer.