MyGUI: MyGUI_DeprecatedWidgets.h Source File

MyGUI 3.2.2

MyGUI_DeprecatedWidgets.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_DEPRECATED_WIDGETS_H_
8 #define MYGUI_DEPRECATED_WIDGETS_H_
9
10 #ifndef MYGUI_DONT_USE_OBSOLETE
11
12 #include "MyGUI_DeprecatedTypes.h"
13 #include "MyGUI_ScrollBar.h"
14 #include "MyGUI_EventPair.h"
15
16 namespace MyGUI
17 {
18
19 class MYGUI_EXPORT VScroll :
20 public ScrollBar
21 {
22 MYGUI_RTTI_DERIVED( VScroll )
23
24 public:
25 VScroll()
26 {
27 mVerticalAlignment = true;
28 }
29 };
30
31 class MYGUI_EXPORT HScroll :
32 public VScroll
33 {
34 MYGUI_RTTI_DERIVED( HScroll )
35
36 public:
37 HScroll()
38 {
39 mVerticalAlignment = false;
40 }
41 };
42
43 } // namespace MyGUI
44
45 #endif // MYGUI_DONT_USE_OBSOLETE
46
47 #endif // MYGUI_DEPRECATED_WIDGETS_H_
MyGUI_DeprecatedTypes.h
MyGUI::VScroll::VScroll
VScroll()
Definition: MyGUI_DeprecatedWidgets.h:25
MyGUI::HScroll::HScroll
HScroll()
Definition: MyGUI_DeprecatedWidgets.h:37
MyGUI::ScrollBar
ScrollBar properties. Skin childs. ScrollBar widget description should be here.
Definition: MyGUI_ScrollBar.h:23
MyGUI_EventPair.h
MyGUI::VScroll
Definition: MyGUI_DeprecatedWidgets.h:19
MyGUI_ScrollBar.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:65
MyGUI::HScroll
Definition: MyGUI_DeprecatedWidgets.h:31
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:103
MyGUI
Definition: MyGUI_ActionController.h:14