2022-08-29 23:40:51 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2022-08-29 21:43:14 -05:00
|
|
|
#include "SoundAsset.h"
|
2022-08-29 23:40:51 +01:00
|
|
|
|
|
|
|
|
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
|
|
|
#include "gui/editor/guiInspectorTypes.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef TORQUE_TOOLS
|
|
|
|
|
class GuiInspectorTypeSoundAssetPtr : public GuiInspectorTypeFileName
|
|
|
|
|
{
|
|
|
|
|
typedef GuiInspectorTypeFileName Parent;
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
GuiBitmapButtonCtrl* mEditButton;
|
|
|
|
|
|
|
|
|
|
DECLARE_CONOBJECT(GuiInspectorTypeSoundAssetPtr);
|
|
|
|
|
static void consoleInit();
|
|
|
|
|
|
2024-03-18 18:13:00 +00:00
|
|
|
GuiControl* constructEditControl() override;
|
|
|
|
|
bool updateRects() override;
|
2022-08-29 23:40:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class GuiInspectorTypeSoundAssetId : public GuiInspectorTypeSoundAssetPtr
|
|
|
|
|
{
|
|
|
|
|
typedef GuiInspectorTypeSoundAssetPtr Parent;
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
DECLARE_CONOBJECT(GuiInspectorTypeSoundAssetId);
|
|
|
|
|
static void consoleInit();
|
|
|
|
|
};
|
|
|
|
|
#endif
|