diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/vgui_controls/PropertyPage.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/vgui_controls/PropertyPage.h')
| -rw-r--r-- | sp/src/public/vgui_controls/PropertyPage.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/sp/src/public/vgui_controls/PropertyPage.h b/sp/src/public/vgui_controls/PropertyPage.h index 74b37e7c..8120ed06 100644 --- a/sp/src/public/vgui_controls/PropertyPage.h +++ b/sp/src/public/vgui_controls/PropertyPage.h @@ -1,58 +1,58 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef PROPERTYPAGE_H
-#define PROPERTYPAGE_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui_controls/EditablePanel.h>
-#include <vgui_controls/PHandle.h>
-
-namespace vgui
-{
-
-//-----------------------------------------------------------------------------
-// Purpose: Property page, as held by a set of property sheets
-//-----------------------------------------------------------------------------
-class PropertyPage : public EditablePanel
-{
- DECLARE_CLASS_SIMPLE( PropertyPage, EditablePanel );
-
-public:
- PropertyPage(Panel *parent, const char *panelName);
- ~PropertyPage();
-
- // Called when page is loaded. Data should be reloaded from document into controls.
- MESSAGE_FUNC( OnResetData, "ResetData" );
-
- // Called when the OK / Apply button is pressed. Changed data should be written into document.
- MESSAGE_FUNC( OnApplyChanges, "ApplyChanges" );
-
- // called when the page is shown/hidden
- MESSAGE_FUNC( OnPageShow, "PageShow" );
- MESSAGE_FUNC( OnPageHide, "PageHide" );
-
- virtual void OnKeyCodeTyped(KeyCode code);
- virtual bool HasUserConfigSettings() { return true; }
-
- virtual void SetVisible(bool state);
-
-protected:
- // called to be notified of the tab button used to Activate this page
- // if overridden this must be chained back to
- MESSAGE_FUNC_PTR( OnPageTabActivated, "PageTabActivated", panel );
-
-private:
- PHandle _pageTab;
-};
-
-} // namespace vgui
-
-#endif // PROPERTYPAGE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef PROPERTYPAGE_H +#define PROPERTYPAGE_H + +#ifdef _WIN32 +#pragma once +#endif + +#include <vgui_controls/EditablePanel.h> +#include <vgui_controls/PHandle.h> + +namespace vgui +{ + +//----------------------------------------------------------------------------- +// Purpose: Property page, as held by a set of property sheets +//----------------------------------------------------------------------------- +class PropertyPage : public EditablePanel +{ + DECLARE_CLASS_SIMPLE( PropertyPage, EditablePanel ); + +public: + PropertyPage(Panel *parent, const char *panelName); + ~PropertyPage(); + + // Called when page is loaded. Data should be reloaded from document into controls. + MESSAGE_FUNC( OnResetData, "ResetData" ); + + // Called when the OK / Apply button is pressed. Changed data should be written into document. + MESSAGE_FUNC( OnApplyChanges, "ApplyChanges" ); + + // called when the page is shown/hidden + MESSAGE_FUNC( OnPageShow, "PageShow" ); + MESSAGE_FUNC( OnPageHide, "PageHide" ); + + virtual void OnKeyCodeTyped(KeyCode code); + virtual bool HasUserConfigSettings() { return true; } + + virtual void SetVisible(bool state); + +protected: + // called to be notified of the tab button used to Activate this page + // if overridden this must be chained back to + MESSAGE_FUNC_PTR( OnPageTabActivated, "PageTabActivated", panel ); + +private: + PHandle _pageTab; +}; + +} // namespace vgui + +#endif // PROPERTYPAGE_H |