MyGUI  3.2.1
MyGUI_DeprecatedWidgets.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_DEPRECATED_WIDGETS_H__
00008 #define __MYGUI_DEPRECATED_WIDGETS_H__
00009 
00010 #ifndef MYGUI_DONT_USE_OBSOLETE
00011 
00012 #include "MyGUI_DeprecatedTypes.h"
00013 #include "MyGUI_ScrollBar.h"
00014 #include "MyGUI_EventPair.h"
00015 
00016 namespace MyGUI
00017 {
00018 
00019     typedef delegates::CMultiDelegate2<VScroll*, size_t> EventHandle_VScrollPtrSizeT;
00020 
00021     class MYGUI_EXPORT VScroll :
00022         public ScrollBar
00023     {
00024         MYGUI_RTTI_DERIVED( VScroll )
00025 
00026     public:
00027         VScroll()
00028         {
00029             mVerticalAlignment = true;
00030         }
00031 
00032         /*events:*/
00038         EventPair<EventHandle_WidgetSizeT, EventHandle_VScrollPtrSizeT> eventScrollChangePosition;
00039     };
00040 
00041     class MYGUI_EXPORT HScroll :
00042         public VScroll
00043     {
00044         MYGUI_RTTI_DERIVED( HScroll )
00045 
00046     public:
00047         HScroll()
00048         {
00049             mVerticalAlignment = false;
00050         }
00051     };
00052 
00053 } // namespace MyGUI
00054 
00055 #endif // MYGUI_DONT_USE_OBSOLETE
00056 
00057 #endif // __MYGUI_DEPRECATED_WIDGETS_H__