CrystalSpace

Public API Reference

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

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.

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 Methods

void RebuildList ()
 Rebuild window list.


Static Protected Methods

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


Protected Attributes

csDialog * dialog
 client dialog component

csListBox * list
 listbox containing window list

csButton * butshow
 The buttons.

csButton * butmaximize
 The buttons.

csButton * butclose
 The buttons.

csComponent * focusedwindow
 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.2.18