CrystalSpace

Public API Reference

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

csDefaultWindowSkin Class Reference
[Skin support]

This is the default skin for windows. More...

#include <csws/sdefault.h>

Inheritance diagram for csDefaultWindowSkin:

csWindowSkin csSkinSlice List of all members.

Public Member Functions

 csDefaultWindowSkin ()
 Initialize the window skin slice.
virtual void Initialize (csApp *iApp, csSkin *Parent)
 Query the required resources from application.
virtual void Deinitialize ()
 Free the resources allocated in Initialize().
virtual void Draw (csComponent &iComp)
 Draw the component we are responsible for.
virtual void PlaceGadgets (csWindow &This)
 Place all gadgets (titlebar, buttons, menu and toolbar).
virtual csButtonCreateButton (csWindow &This, int ButtonID)
 Create a button for window's titlebar.
virtual void SetState (csWindow &This, int Which, bool State)
 Called to reflect some specific window state change on gagdets.
virtual void SetBorderSize (csWindow &This)
 Set window border width and height depending on frame style.

Detailed Description

This is the default skin for windows.

Definition at line 63 of file sdefault.h.


Constructor & Destructor Documentation

csDefaultWindowSkin::csDefaultWindowSkin  )  [inline]
 

Initialize the window skin slice.

Definition at line 74 of file sdefault.h.


Member Function Documentation

virtual csButton* csDefaultWindowSkin::CreateButton csWindow This,
int  ButtonID
[virtual]
 

Create a button for window's titlebar.

Implements csWindowSkin.

virtual void csDefaultWindowSkin::Deinitialize  )  [virtual]
 

Free the resources allocated in Initialize().

Reimplemented from csSkinSlice.

virtual void csDefaultWindowSkin::Draw csComponent iComp  )  [virtual]
 

Draw the component we are responsible for.

Implements csSkinSlice.

virtual void csDefaultWindowSkin::Initialize csApp iApp,
csSkin Parent
[virtual]
 

Query the required resources from application.

Reimplemented from csSkinSlice.

virtual void csDefaultWindowSkin::PlaceGadgets csWindow This  )  [virtual]
 

Place all gadgets (titlebar, buttons, menu and toolbar).

Implements csWindowSkin.

virtual void csDefaultWindowSkin::SetBorderSize csWindow This  )  [virtual]
 

Set window border width and height depending on frame style.

Implements csWindowSkin.

virtual void csDefaultWindowSkin::SetState csWindow This,
int  Which,
bool  State
[virtual]
 

Called to reflect some specific window state change on gagdets.

Implements csWindowSkin.


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