Torque3D Documentation / _generateds / guiChunkedBitmapCtrl.h

guiChunkedBitmapCtrl.h

Engine/source/gui/game/guiChunkedBitmapCtrl.h

More...

Classes:

Detailed Description

 1
 2#include "console/console.h"
 3#include "console/consoleTypes.h"
 4#include "gfx/bitmap/gBitmap.h"
 5#include "gui/core/guiControl.h"
 6#include "gfx/gfxDevice.h"
 7#include "gfx/gfxTextureHandle.h"
 8#include "gfx/gfxDrawUtil.h"
 9#include "console/engineAPI.h"
10
11class GuiChunkedBitmapCtrl : public GuiControl
12{
13private:
14   typedef GuiControl Parent;
15   void renderRegion(const Point2I &offset, const Point2I &extent);
16
17protected:
18   StringTableEntry mBitmapName;
19   GFXTexHandle mTexHandle;
20   bool  mUseVariable;
21   bool  mTile;
22
23public:
24   //creation methods
25   DECLARE_CONOBJECT(GuiChunkedBitmapCtrl);
26   DECLARE_CATEGORY( "Gui Images" );
27   
28   GuiChunkedBitmapCtrl();
29   static void initPersistFields();
30
31   //Parental methods
32   bool onWake();
33   void onSleep();
34
35   void setBitmap(const char *name);
36
37   void onRender(Point2I offset, const RectI &updateRect);
38};
39