dont open epglist when no epg is avail
[enigma2.git] / lib / gui / ewidgetanimation.h
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
9 class eWidgetAnimation
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