Main window manager. Implement core funcctionality of AWind library. It is tempate class that has to be parametrized with main window class.
More...
#include <WindowsManager.h>
|
| WindowsManager (UTFT *lcd, UTouch *touch=NULL) |
| Constructor. More...
|
|
void | Initialize () |
| Initialization procedure. Has to be call once.
|
|
Window * | HitTest (int x, int y) |
| Returns topmost window that lais under x,y screen coordinate.
|
|
Window * | HitTest (Window *window, int x, int y) |
| For defined window return topmost child window that lais under x,y screen coordinate.
|
|
void | loop () |
| Main loop where drawing code only for "dirty" window is called.
|
|
T * | MainWnd () |
|
DC * | GetDC () |
| Returns device context (interface class to UTFT library)
|
|
void | Idle () |
| If nothing happens, the touch event is checked.
|
|
|
void | redraw (Window *window, bool isForceRedraw) |
| Internal draw code.
|
|
void | loopTouch () |
| Checks touch event.
|
|
template<class T = MainWindow>
class WindowsManager< T >
Main window manager. Implement core funcctionality of AWind library. It is tempate class that has to be parametrized with main window class.
template<class T = MainWindow>
Constructor.
- Parameters
-
lcd | pointer to UTFT object (see UTFT library) |
touch | pointer to UTouch object (see UTouch library) |
The documentation for this class was generated from the following file: