Rev 1899 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1899 | Rev 2300 | ||
|---|---|---|---|
| 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 |
|
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 */ |
| Line 45... | Line 45... | ||
| 45 | /* set the function that shall be executed when knob is turned */ |
45 | /* set the function that shall be executed when knob is turned */ |
| 46 | /* create the screensaver menu item */ |
46 | /* create the screensaver menu item */ |
| 47 | this.MainMenuItem.LeftItem=this.SensorMenuItem; |
47 | this.MainMenuItem.LeftItem=this.SensorMenuItem; |
| 48 | this.MainMenuItem.RightItem=this.HdmiMenuItem; |
48 | this.MainMenuItem.RightItem=this.HdmiMenuItem; |
| 49 | this.DimmerMenuItem.RightItem=this.SensorMenuItem; |
49 | this.DimmerMenuItem.RightItem=this.SensorMenuItem; |
| 50 | this.DimmerMenuItem.LeftItem=this. |
50 | this.DimmerMenuItem.LeftItem=this.HdmiMenuItem; |
| 51 | this.HdmiMenuItem.LeftItem=this.MainMenuItem |
51 | this.HdmiMenuItem.LeftItem=this.MainMenuItem |
| 52 | this.HdmiMenuItem.RightItem=this. |
52 | this.HdmiMenuItem.RightItem=this.DimmerMenuItem |
| 53 |
|
53 | //this.PIDMenuItem.LeftItem=this.HdmiMenuItem |
| 54 |
|
54 | //this.PIDMenuItem.RightItem=this.DimmerMenuItem |
| 55 | } |
55 | } |
| 56 | 56 | ||
| 57 | /* Declaration of instance variables, for static variables remove prototype */ |
57 | /* Declaration of instance variables, for static variables remove prototype */ |
| 58 | 58 | ||
| 59 | CLCD_Display.prototype.myCLCDService = null; |
59 | CLCD_Display.prototype.myCLCDService = null; |