diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/vp4/vp4dialog.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/vp4/vp4dialog.h')
| -rw-r--r-- | utils/vp4/vp4dialog.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/utils/vp4/vp4dialog.h b/utils/vp4/vp4dialog.h new file mode 100644 index 0000000..9006acb --- /dev/null +++ b/utils/vp4/vp4dialog.h @@ -0,0 +1,57 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef VP4DIALOG_H +#define VP4DIALOG_H +#ifdef _WIN32 +#pragma once +#endif + +#include "vgui_controls/Frame.h" +#include "vgui_controls/ImageList.h" + +//----------------------------------------------------------------------------- +// Purpose: Main app window +//----------------------------------------------------------------------------- +class CVP4Dialog : public vgui::Frame +{ + DECLARE_CLASS_SIMPLE( CVP4Dialog, vgui::Frame ); +public: + CVP4Dialog(); + ~CVP4Dialog(); + + // overridden frame functions + virtual void Activate(); + virtual void OnClose(); + +private: + void RefreshFileList(); + void RefreshClientList(); + void RefreshChangesList(); + + MESSAGE_FUNC( OnFileSelected, "TreeViewItemSelected" ); + MESSAGE_FUNC( OnTextChanged, "TextChanged" ); + + // changes + MESSAGE_FUNC_INT( CloakFolder, "CloakFolder", item ); + MESSAGE_FUNC_INT( OpenFileForEdit, "EditFile", item ); + MESSAGE_FUNC_INT( OpenFileForDelete, "DeleteFile", item ); + + vgui::ComboBox *m_pClientCombo; + vgui::TreeView *m_pFileTree; + vgui::ImageList m_Images; + + vgui::PropertySheet *m_pViewsSheet; + vgui::PropertyPage *m_pRevisionsPage; + vgui::PropertyPage *m_pChangesPage; + + vgui::ListPanel *m_pRevisionList; + vgui::SectionedListPanel *m_pChangesList; + +}; + + +#endif // VP4DIALOG_H |