mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
34 lines
801 B
C++
34 lines
801 B
C++
#pragma once
|
|
|
|
#include "ImageAsset.h"
|
|
|
|
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
#include "gui/editor/guiInspectorTypes.h"
|
|
#endif
|
|
|
|
#ifdef TORQUE_TOOLS
|
|
class GuiInspectorTypeImageAssetPtr : public GuiInspectorTypeFileName
|
|
{
|
|
typedef GuiInspectorTypeFileName Parent;
|
|
public:
|
|
|
|
GuiBitmapButtonCtrl* mImageEdButton;
|
|
|
|
DECLARE_CONOBJECT(GuiInspectorTypeImageAssetPtr);
|
|
static void consoleInit();
|
|
|
|
virtual GuiControl* constructEditControl();
|
|
virtual bool updateRects();
|
|
bool renderTooltip(const Point2I& hoverPos, const Point2I& cursorPos, const char* tipText = NULL);
|
|
};
|
|
|
|
class GuiInspectorTypeImageAssetId : public GuiInspectorTypeImageAssetPtr
|
|
{
|
|
typedef GuiInspectorTypeImageAssetPtr Parent;
|
|
public:
|
|
|
|
DECLARE_CONOBJECT(GuiInspectorTypeImageAssetId);
|
|
static void consoleInit();
|
|
};
|
|
#endif
|