SoundAssetInspectors.h 698 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include "SoundAsset.h"
  3. #ifndef _GUI_INSPECTOR_TYPES_H_
  4. #include "gui/editor/guiInspectorTypes.h"
  5. #endif
  6. #ifdef TORQUE_TOOLS
  7. class GuiInspectorTypeSoundAssetPtr : public GuiInspectorTypeFileName
  8. {
  9. typedef GuiInspectorTypeFileName Parent;
  10. public:
  11. GuiBitmapButtonCtrl* mEditButton;
  12. DECLARE_CONOBJECT(GuiInspectorTypeSoundAssetPtr);
  13. static void consoleInit();
  14. GuiControl* constructEditControl() override;
  15. bool updateRects() override;
  16. };
  17. class GuiInspectorTypeSoundAssetId : public GuiInspectorTypeSoundAssetPtr
  18. {
  19. typedef GuiInspectorTypeSoundAssetPtr Parent;
  20. public:
  21. DECLARE_CONOBJECT(GuiInspectorTypeSoundAssetId);
  22. static void consoleInit();
  23. };
  24. #endif