X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgui%2Fewindowstyle.h;fp=lib%2Fgui%2Fewindowstyle.h;h=02f155af7a2bb3adc20fd8aa40d8741024e31e6e;hp=0000000000000000000000000000000000000000;hb=ddc3964ed95d01e72229dc9af968a327cd84e56c;hpb=1aeefd997cc362c3b37c1587c5f08891b35c3a75 diff --git a/lib/gui/ewindowstyle.h b/lib/gui/ewindowstyle.h new file mode 100644 index 0000000..02f155a --- /dev/null +++ b/lib/gui/ewindowstyle.h @@ -0,0 +1,24 @@ +#ifndef __lib_gui_ewindowstyle_h +#define __lib_gui_ewindowstyle_h + +class eWindow; +class eSize; + +#include + +class eWindowStyle: public iObject +{ +public: + virtual void handleNewSize(eWindow *wnd, const eSize &size) = 0; +}; + +class eWindowStyleSimple: public eWindowStyle +{ + DECLARE_REF; +public: + eWindowStyleSimple(); + void handleNewSize(eWindow *wnd, const eSize &size); + int m_border_top, m_border_left, m_border_right, m_border_bottom; +}; + +#endif