CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csWindowList Class Reference
[Crystal Space Windowing System]

Window List class. More...

#include <csws/cswsutil.h>

Inheritance diagram for csWindowList:

csWindow csComponent List of all members.

Public Member Functions

 csWindowList (csComponent *iParent)
 Create a "window list" object.
virtual bool SetRect (int xmin, int ymin, int xmax, int ymax)
 Set children positions on resize.
virtual void SetState (int mask, bool enable)
 Override SetState method.
virtual bool HandleEvent (iEvent &Event)
 Handle input events.

Protected Member Functions

void RebuildList ()
 Rebuild window list.

Static Protected Member Functions

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

Protected Attributes

csDialogdialog
 client dialog component
csListBoxlist
 listbox containing window list
csButtonbutshow
 The buttons.
csButtonbutmaximize
 The buttons.
csButtonbutclose
 The buttons.
csComponentfocusedwindow
 Window that was focused before WindowList itself.
bool shouldclose
 Set to true when window list should close as soon as possible.

Detailed Description

Window List class.

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

Definition at line 38 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 46 of file cswsutil.h.

csButton * csWindowList::butmaximize [protected]
 

The buttons.

Definition at line 46 of file cswsutil.h.

csButton* csWindowList::butshow [protected]
 

The buttons.

Definition at line 46 of file cswsutil.h.

csDialog* csWindowList::dialog [protected]
 

client dialog component

Definition at line 42 of file cswsutil.h.

csComponent* csWindowList::focusedwindow [protected]
 

Window that was focused before WindowList itself.

Definition at line 48 of file cswsutil.h.

csListBox* csWindowList::list [protected]
 

listbox containing window list

Definition at line 44 of file cswsutil.h.

bool csWindowList::shouldclose [protected]
 

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

Definition at line 50 of file cswsutil.h.


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