21 #ifndef PAWS_CONTROL_WINDOW_HEADER    22 #define PAWS_CONTROL_WINDOW_HEADER    26 #include <iutil/csinput.h>    65     bool OnButtonReleased(
int mouseButton, 
int keyModifier, 
pawsWidget* reporter);
    79     bool HandleWindow(csString widgetStr);
    87     bool HandleWindowName(csString widgetStr);
    94     bool showWindow(csString widgetStr);
   100     bool hideWindow(csString widgetStr);
   106     bool showWindowName(csString widgetStr);
   112     bool hideWindowName(csString widgetStr);
   120     bool setWindowPositionName(csString widgetStr, 
int x, 
int y);
   128     bool setWindowSizeName(csString widgetStr, 
int width, 
int height);
   133     csString getWindowNames();
   139     csString getWindowInfo(csString widgetStr);
   167     void AddWindow(csString wndName, csString btnName);
   183     pawsButton* FindButtonFromWindow(csString wndName);
   188     Icon* GetIcon(csString btnName);
   198     bool Contains( 
int x, 
int y );
   207     csString translateWidgetName(csString widgetStr);
   211        csArray<csString> alternativeNames;
   213     csArray<WindowNames> controlledWindows;  
   215     unsigned short int style;
   218     csPDelArray<Icon> buttons;
   225     csRef<iKeyboardDriver> keyboard;
   253         controller->Register( 
this );
   264         controller->WindowOpen( 
this );
   274         controller->WindowClose( 
this );
 This is a window that is controlled by a button on the control bar. 
 
pawsControlledWindow * window
 
pawsControlWindow(const pawsControlWindow &origin)
 
virtual void Register()
Called to register new window with the controller window. 
 
pawsWidget * FindWidget(const char *name, bool complain=true)
Locate a widget by name. 
 
static PawsManager & GetSingleton(void)
 
virtual void Hide()
When the window is closed let the controller window know about it. 
 
Window that drives the main interface. 
 
CREATE_PAWS_FACTORY(pawsControlWindow)
 
virtual void Show()
When the window is opened let the controller window know about it. 
 
Structure to relate windows with their buttons for lookup. 
 
Map windows to their pawsButtons on the control panel.