#include <Dijinni.h>
Public Methods | |
| CDijinni () | |
| Constructor. More... | |
| ~CDijinni () | |
| Destructor. More... | |
| void | setHelp (string text) |
| virtual void | onSysPowerOn () |
| Put startup stuff in here. More... | |
| virtual void | switchActiveApp (CApp *m, int auto_draw=1) |
| Switches the active application, takes pointer to the new one. auto_draw = 1 makes the screen redraw. More... | |
| virtual void | draw () |
| Clears the screens and redraws them. More... | |
| virtual void | checkLoad () |
| virtual void | onKeyPress (int key) |
| Called when a key on the front of the dijinni is pressed. More... | |
| virtual void | onMousePress (int x, int y) |
| virtual void | onMouseRelease (int x, int y) |
| virtual void | onMouseMove (int x, int y) |
| virtual void | onPhoneRing () |
| virtual void | onPhoneLostSignal () |
| virtual void | onPhoneBusySignal () |
| virtual void | onPhoneConnect () |
| virtual void | onMp3EndOfTrack () |
| virtual void | onSysMemoryFault () |
| virtual void | onSysLowBattery () |
| virtual void | onSysOpen () |
| virtual void | onSysClose () |
| unsigned char | getFlags () |
| unsigned char | getFlag (unsigned char flag) |
Public Attributes | |
| CPanel * | SysPanel |
| Pointer to system panel.. widgets/graphics that are always on the inside screens go in this panel. More... | |
| CButton * | appButton |
| Button that shows current application. More... | |
| CLabel * | helpLabel |
| Label to show helptexts. More... | |
| CApp * | TestApp |
| CApp * | ListTestApp |
| CApp * | MP3App |
| CApp * | HomeApp |
| CApp * | CalcApp |
| CApp * | RecorderApp |
| CApp * | FrontpanelApp |
| CApp * | MemoApp |
| CApp * | CalendarApp |
| CApp * | AddrbookApp |
| CApp * | SketchApp |
| CApp * | TicTacToeApp |
| CApp * | SystemApp |
| CApp * | LastApp |
| bool | m_firstload |
This class manages which application is currently active and is the bridge between the Dijinni API Service_* routines and Quintic Solution's application event model.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
Clears the screens and redraws them.
|
|
|
|
|
|
|
|
|
Called when a key on the front of the dijinni is pressed.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Put startup stuff in here.
|
|
|
|
|
||||||||||||
|
Switches the active application, takes pointer to the new one. auto_draw = 1 makes the screen redraw.
|
|
|
|
|
|
Button that shows current application.
|
|
|
|
|
|
|
|
|
|
|
|
Label to show helptexts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pointer to system panel.. widgets/graphics that are always on the inside screens go in this panel.
|
|
|
|
|
|
|
|
|
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001