00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef DESKTOPGUMP_H_INCLUDED
00020 #define DESKTOPGUMP_H_INCLUDED
00021
00022 #include "Gump.h"
00023
00024 class DesktopGump : public Gump
00025 {
00026 public:
00027 ENABLE_RUNTIME_CLASSTYPE();
00028
00029 DesktopGump();
00030 DesktopGump(sint32 x, sint32 y, sint32 width, sint32 height);
00031 virtual ~DesktopGump(void);
00032
00033 virtual void PaintThis(RenderSurface *surf, sint32 lerp_factor, bool scaled);
00034
00035 virtual bool StartDraggingChild(Gump* gump, int mx, int my);
00036 virtual void DraggingChild(Gump* gump, int mx, int my);
00037 virtual void StopDraggingChild(Gump* gump);
00038
00039 bool loadData(IDataSource* ids, uint32 version);
00040
00041 void RenderSurfaceChanged(RenderSurface *surf);
00042
00043 protected:
00044 virtual void saveData(ODataSource* ods);
00045 virtual void RenderSurfaceChanged();
00046 };
00047
00048 #endif