Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/scripts/NewMouseControlsMenu.lua @ 6199

Last change on this file since 6199 was 6150, checked in by scheusso, 15 years ago

merged menu branch to presentation2 branch with some additional fixes and features ;)

  • Property svn:executable set to *
File size: 765 bytes
Line 
1-- NewMouseControlsMenu.lua
2
3BasicGUI = require("BasicGUI")
4local P = BasicGUI:new() --inherit everything from the gui package
5if _REQUIREDNAME == nil then
6    NewMouseControlsMenu = P
7else
8    _G[_REQUIREDNAME] = P
9end
10
11P.filename = "NewMouseControlsMenu"
12P.layoutString = "NewMouseControlsMenu.layout"
13
14function P.MouseControlsMouseScrollbar_clicked(e)
15    -- mouse sensitivity
16    debug("event: mouse sensitivity")
17end
18
19function P.MouseControlsDefaultButton_clicked(e)
20    -- default control mode
21    debug("event: default control mode")
22end
23
24function P.MouseControls_______Button_clicked(e)
25    -- .......
26    debug("event: .......")
27end
28
29function P.MouseControlsBackButton_clicked(e)
30    hideGUI("NewMouseControlsMenu")
31    debug("event: back")
32end
33
34return P
35
Note: See TracBrowser for help on using the repository browser.