openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
ewidgetanimation.h
Go to the documentation of this file.
1 #ifndef __lib_gui_ewidgetanimation_h
2 #define __lib_gui_ewidgetanimation_h
3 
4 #include <lib/gdi/esize.h>
5 #include <lib/gdi/epoint.h>
6 
7 class eWidget;
8 
10 {
11 public:
12  eWidgetAnimation(eWidget *widget);
13 
14  void tick(int inc);
15 
16  void startMoveAnimation(ePoint start, ePoint end, int length);
17 
18  int m_active;
19 private:
20  int m_move_current_tick, m_move_length;
21  ePoint m_move_start, m_move_end;
22  eWidget *m_widget;
23 };
24 
25 #endif
Definition: epoint.h:9
Definition: ewidgetanimation.h:10
int m_active
Definition: ewidgetanimation.h:18
void startMoveAnimation(ePoint start, ePoint end, int length)
Definition: ewidgetanimation.cpp:47
eWidgetAnimation(eWidget *widget)
Definition: ewidgetanimation.cpp:4
void tick(int inc)
Definition: ewidgetanimation.cpp:9
Definition: ewidget.h:14
unsigned char length
Definition: hdmi_cec.h:1