mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
gui types using image_asset
This commit is contained in:
parent
fa8110ce8f
commit
f519cff6ff
25 changed files with 184 additions and 266 deletions
|
|
@ -63,8 +63,7 @@ protected:
|
|||
GFXStateBlockRef mBlendStateBlock;
|
||||
GFXStateBlockRef mSolidStateBlock;
|
||||
|
||||
DECLARE_IMAGEASSET(GuiMissionAreaCtrl, HandleBitmap, onHandleBitmapChanged, GFXDefaultGUIProfile);
|
||||
DECLARE_ASSET_SETGET(GuiMissionAreaCtrl, HandleBitmap);
|
||||
DECLARE_IMAGEASSET_REFACTOR(GuiMissionAreaCtrl, HandleBitmap, GFXDefaultGUIProfile)
|
||||
|
||||
Point2I mHandleTextureSize;
|
||||
Point2F mHandleTextureHalfSize;
|
||||
|
|
@ -110,8 +109,6 @@ protected:
|
|||
bool testWithinHandle(const Point2I & testPoint, S32 handleX, S32 handleY);
|
||||
S32 getHitHandles(const Point2I & mousePnt, const RectI & box);
|
||||
|
||||
void onHandleBitmapChanged() {}
|
||||
|
||||
public:
|
||||
GuiMissionAreaCtrl();
|
||||
virtual ~GuiMissionAreaCtrl();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue