summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesWidget.h')
-rw-r--r--Source/CursesDialog/cmCursesWidget.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/Source/CursesDialog/cmCursesWidget.h b/Source/CursesDialog/cmCursesWidget.h
index 1f53786..2ac5bb8 100644
--- a/Source/CursesDialog/cmCursesWidget.h
+++ b/Source/CursesDialog/cmCursesWidget.h
@@ -47,30 +47,20 @@ public:
/**
* Get the type of the widget (STRING, PATH etc...)
*/
- cmState::CacheEntryType GetType()
- { return this->Type; }
+ cmState::CacheEntryType GetType() { return this->Type; }
/**
* If there are any, print the widget specific commands
* in the toolbar and return true. Otherwise, return false
* and the parent widget will print.
*/
- virtual bool PrintKeys()
- {
- return false;
- }
+ virtual bool PrintKeys() { return false; }
/**
* Set/Get the page this widget is in.
*/
- void SetPage(int page)
- {
- this->Page = page;
- }
- int GetPage()
- {
- return this->Page;
- }
+ void SetPage(int page) { this->Page = page; }
+ int GetPage() { return this->Page; }
friend class cmCursesMainForm;