You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
860 B
42 lines
860 B
1 year ago
|
#ifndef THEMEEDITDIALOG_H
|
||
|
#define THEMEEDITDIALOG_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include <vgui_controls/Frame.h>
|
||
|
|
||
|
namespace vgui {
|
||
|
class PanelListPanel;
|
||
|
class Label;
|
||
|
class ImagePanel;
|
||
|
class TextEntry;
|
||
|
class RichText;
|
||
|
class CheckButton;
|
||
|
};
|
||
|
|
||
|
class CLevelTheme;
|
||
|
|
||
|
// this dialog allows you to edit a theme's properties
|
||
|
|
||
|
class CThemeEditDialog : public vgui::Frame
|
||
|
{
|
||
|
DECLARE_CLASS_SIMPLE( CThemeEditDialog, vgui::Frame );
|
||
|
|
||
|
public:
|
||
|
|
||
|
CThemeEditDialog( vgui::Panel *parent, const char *name, CLevelTheme *pTheme, bool bCreatingNew );
|
||
|
virtual ~CThemeEditDialog();
|
||
|
|
||
|
virtual void OnCommand( const char *command );
|
||
|
|
||
|
vgui::TextEntry* m_pThemeNameEdit;
|
||
|
vgui::TextEntry* m_pThemeDescriptionEdit;
|
||
|
vgui::TextEntry* m_pThemeAmbientEdit;
|
||
|
vgui::CheckButton* m_pVMFTweakCheck;
|
||
|
|
||
|
CLevelTheme* m_pLevelTheme;
|
||
|
bool m_bCreatingNew;
|
||
|
};
|
||
|
|
||
|
#endif // THEMEEDITDIALOG_H
|