MyGUI: MyGUI_DeprecatedWidgets.h Source File

MyGUI 3.4.3

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
16namespace MyGUI
17{
18
19 class MYGUI_EXPORT VScroll : public ScrollBar
20 {
21 MYGUI_RTTI_DERIVED(VScroll)
22
23 public:
24 VScroll()
25 {
26 mVerticalAlignment = true;
27 }
28 };
29
30 class MYGUI_EXPORT HScroll : public VScroll
31 {
32 MYGUI_RTTI_DERIVED(HScroll)
33
34 public:
35 HScroll()
36 {
37 mVerticalAlignment = false;
38 }
39 };
40
41} // namespace MyGUI
42
43#endif // MYGUI_DONT_USE_OBSOLETE
44
45#endif // MYGUI_DEPRECATED_WIDGETS_H_
MyGUI_DeprecatedTypes.h
MyGUI_EventPair.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
MyGUI_ScrollBar.h
MyGUI::HScroll::HScroll
HScroll()
Definition MyGUI_DeprecatedWidgets.h:35
MyGUI::ScrollBar
widget description should be here.
Definition MyGUI_ScrollBar.h:24
MyGUI::ScrollBar::mVerticalAlignment
bool mVerticalAlignment
Definition MyGUI_ScrollBar.h:179
MyGUI::VScroll::VScroll
VScroll()
Definition MyGUI_DeprecatedWidgets.h:24
MyGUI
Definition MyGUI_ActionController.h:15