Rev 1786 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1786 | Rev 1899 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | 1 | ||
| 2 | Require("cLCD_MenuItems/MainMenuItem.js"); |
2 | Require("cLCD_MenuItems/MainMenuItem.js"); |
| 3 | Require("cLCD_MenuItems/DimmerMenuItem.js"); |
3 | Require("cLCD_MenuItems/DimmerMenuItem.js"); |
| 4 | Require("cLCD_MenuItems/SensorMenuItem.js"); |
4 | Require("cLCD_MenuItems/SensorMenuItem.js"); |
| 5 | Require("cLCD_MenuItems/HDMISwitchMenuItem.js"); |
5 | Require("cLCD_MenuItems/HDMISwitchMenuItem.js"); |
| 6 | Require("cLCD_MenuItems/ |
6 | Require("cLCD_MenuItems/DtmfMenuItem.js"); |
| 7 | 7 | ||
| 8 | function CLCD_Display(aliasnameLCD, aliasnameRotary) |
8 | function CLCD_Display(aliasnameLCD, aliasnameRotary) |
| 9 | { |
9 | { |
| 10 | /* We must always call the parent constructor, initialization |
10 | /* We must always call the parent constructor, initialization |
| 11 | of variables could be done here, but initialize is a better place */ |
11 | of variables could be done here, but initialize is a better place */ |
| Line 31... | Line 31... | ||
| 31 | /* create the first menu item */ |
31 | /* create the first menu item */ |
| 32 | this.MainMenuItem = new MainMenuItem(this, this.myCLCDService); |
32 | this.MainMenuItem = new MainMenuItem(this, this.myCLCDService); |
| 33 | this.SensorMenuItem = new SensorMenuItem(this, this.myCLCDService); |
33 | this.SensorMenuItem = new SensorMenuItem(this, this.myCLCDService); |
| 34 | this.DimmerMenuItem = new DimmerMenuItem(this, this.myCLCDService); |
34 | this.DimmerMenuItem = new DimmerMenuItem(this, this.myCLCDService); |
| 35 | this.HdmiMenuItem = new HDMISwitchMenuItem(this, this.myCLCDService); |
35 | this.HdmiMenuItem = new HDMISwitchMenuItem(this, this.myCLCDService); |
| 36 | this.PIDMenuItem = new |
36 | this.PIDMenuItem = new DtmfMenuItem(this, this.myCLCDService); |
| 37 | 37 | ||
| 38 | this.currentMenuItem = this.MainMenuItem; |
38 | this.currentMenuItem = this.MainMenuItem; |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | /* create the screensaver menu item */ |
41 | /* create the screensaver menu item */ |