00001 // /////////////////////////////////////////////////////////////////////////// 00002 // xrb_modalwidget.hpp by Victor Dods, created 2005/02/20 00003 // /////////////////////////////////////////////////////////////////////////// 00004 // Unless a different license was explicitly granted in writing by the 00005 // copyright holder (Victor Dods), this software is freely distributable under 00006 // the terms of the GNU General Public License, version 2. Any works deriving 00007 // from this work must also be released under the GNU GPL. See the included 00008 // file LICENSE for details. 00009 // /////////////////////////////////////////////////////////////////////////// 00010 00011 #if !defined(_XRB_MODALWIDGET_HPP_) 00012 #define _XRB_MODALWIDGET_HPP_ 00013 00014 #include "xrb.hpp" 00015 00016 #include "xrb_containerwidget.hpp" 00017 00018 namespace Xrb 00019 { 00020 00035 class ModalWidget : public ContainerWidget 00036 { 00037 public: 00038 00041 ModalWidget ( 00042 ContainerWidget *parent, 00043 std::string const &name = "ModalWidget"); 00046 virtual ~ModalWidget () { } 00047 00051 void Shutdown (); 00052 00053 protected: 00054 00058 virtual void UpdateRenderBackground (); 00063 virtual void HandleChangedModalWidgetBackground (); 00068 virtual void HandleChangedWidgetSkinWidgetBackground ( 00069 WidgetSkin::WidgetBackgroundType widget_background_type); 00070 }; // end of class ModalWidget 00071 00072 } // end of namespace Xrb 00073 00074 #endif // !defined(_XRB_MODALWIDGET_HPP_) 00075