CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csWindowList Class Reference
[Crystal Space Windowing System]

Window List class. More...

#include <cswsutil.h>

Inheritance diagram for csWindowList:

csWindow csComponent List of all members.

Public Methods

 csWindowList (csComponent *iParent)
 Create a "window list" object. More...

virtual bool SetRect (int xmin, int ymin, int xmax, int ymax)
 Set children positions on resize. More...

virtual void SetState (int mask, bool enable)
 Override SetState method. More...

virtual bool HandleEvent (iEvent &Event)
 Handle input events. More...


Protected Methods

void RebuildList ()
 Rebuild window list. More...


Static Protected Methods

bool do_addtowindowlist (csComponent *child, void *param)
 Used in RebuildList (). More...


Protected Attributes

csDialogdialog
 client dialog component. More...

csListBoxlist
 listbox containing window list. More...

csButtonbutshow
 The buttons. More...

csButtonbutmaximize
 The buttons. More...

csButtonbutclose
 The buttons. More...

csComponentfocusedwindow
 Window that was focused before WindowList itself. More...

bool shouldclose
 Set to true when window list should close as soon as possible. More...


Detailed Description

Window List class.

A window of this type is created when user clicks both mouse buttons on application canvas.

Definition at line 36 of file cswsutil.h.


Constructor & Destructor Documentation

csWindowList::csWindowList csComponent   iParent
 

Create a "window list" object.


Member Function Documentation

bool csWindowList::do_addtowindowlist csComponent   child,
void *    param
[static, protected]
 

Used in RebuildList ().

virtual bool csWindowList::HandleEvent iEvent   Event [virtual]
 

Handle input events.

Reimplemented from csWindow.

void csWindowList::RebuildList   [protected]
 

Rebuild window list.

virtual bool csWindowList::SetRect int    xmin,
int    ymin,
int    xmax,
int    ymax
[virtual]
 

Set children positions on resize.

Reimplemented from csWindow.

virtual void csWindowList::SetState int    mask,
bool    enable
[virtual]
 

Override SetState method.

Reimplemented from csWindow.


Member Data Documentation

csButton * csWindowList::butclose [protected]
 

The buttons.

Definition at line 44 of file cswsutil.h.

csButton * csWindowList::butmaximize [protected]
 

The buttons.

Definition at line 44 of file cswsutil.h.

csButton* csWindowList::butshow [protected]
 

The buttons.

Definition at line 44 of file cswsutil.h.

csDialog* csWindowList::dialog [protected]
 

client dialog component.

Definition at line 40 of file cswsutil.h.

csComponent* csWindowList::focusedwindow [protected]
 

Window that was focused before WindowList itself.

Definition at line 46 of file cswsutil.h.

csListBox* csWindowList::list [protected]
 

listbox containing window list.

Definition at line 42 of file cswsutil.h.

bool csWindowList::shouldclose [protected]
 

Set to true when window list should close as soon as possible.

Definition at line 48 of file cswsutil.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14