MyGUI 3.2.0

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

MyGUI_DeprecatedWidgets.h
Go to the documentation of this file.
1
6 /*
7 This file is part of MyGUI.
8
9 MyGUI is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 MyGUI is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with MyGUI. If not, see <http://www.gnu.org/licenses/>.
21 */
22 #ifndef __MYGUI_DEPRECATED_WIDGETS_H__
23 #define __MYGUI_DEPRECATED_WIDGETS_H__
24
25 #ifndef MYGUI_DONT_USE_OBSOLETE
26
27 #include "MyGUI_DeprecatedTypes.h"
28 #include "MyGUI_ScrollBar.h"
29 #include "MyGUI_EventPair.h"
30
31 namespace MyGUI
32 {
33
34 typedef delegates::CMultiDelegate2<VScroll*, size_t> EventHandle_VScrollPtrSizeT;
35
36 class MYGUI_EXPORT VScroll :
37 public ScrollBar
38 {
39 MYGUI_RTTI_DERIVED( VScroll )
40
41 public:
42 VScroll()
43 {
44 mVerticalAlignment = true;
45 }
46
47 /*events:*/
53 EventPair<EventHandle_WidgetSizeT, EventHandle_VScrollPtrSizeT>
54 eventScrollChangePosition;
55 };
56
57 class MYGUI_EXPORT HScroll :
58 public VScroll
59 {
60 MYGUI_RTTI_DERIVED( HScroll )
61
62 public:
63 HScroll()
64 {
65 mVerticalAlignment = false;
66 }
67 };
68
69 } // namespace MyGUI
70
71 #endif // MYGUI_DONT_USE_OBSOLETE
72
73 #endif // __MYGUI_DEPRECATED_WIDGETS_H__
MyGUI::HScroll
Definition: MyGUI_DeprecatedWidgets.h:57
MyGUI::VScroll::eventScrollChangePosition
EventPair< EventHandle_WidgetSizeT, EventHandle_VScrollPtrSizeT > eventScrollChangePosition
Definition: MyGUI_DeprecatedWidgets.h:54
MyGUI_DeprecatedTypes.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:88
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:120
MyGUI_ScrollBar.h
MyGUI::EventPair
Definition: MyGUI_EventPair.h:31
MyGUI::delegates::CMultiDelegate2
Definition: MyGUI_Delegate.h:239
MyGUI_EventPair.h
MyGUI::ScrollBar
Definition: MyGUI_ScrollBar.h:33
MyGUI::VScroll
Definition: MyGUI_DeprecatedWidgets.h:36
MyGUI::EventHandle_VScrollPtrSizeT
delegates::CMultiDelegate2< VScroll *, size_t > EventHandle_VScrollPtrSizeT
Definition: MyGUI_DeprecatedWidgets.h:34