CrystalSpace

Public API Reference

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

csWindowSkin Class Reference
[Skin support]

This class defines the interface for a window skin slice. More...

#include <csws/csskin.h>

Inheritance diagram for csWindowSkin:

csSkinSlice csDefaultWindowSkin List of all members.

Public Member Functions

virtual const char * GetName () const
 Get the identifier of the component this skin slice is for.
virtual csButtonCreateButton (csWindow &This, int ButtonID)=0
 Create a button for window's titlebar.
virtual void PlaceGadgets (csWindow &This)=0
 Place all gadgets (titlebar, buttons, menu and toolbar).
virtual void SetState (csWindow &This, int Which, bool State)=0
 Called to reflect some specific window state change on gagdets.
virtual void SetBorderSize (csWindow &This)=0
 Set window border width and height depending on frame style.

Detailed Description

This class defines the interface for a window skin slice.

Every skin slice that is meant for windows should inherit from this interface.

Definition at line 229 of file csskin.h.


Member Function Documentation

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

Create a button for window's titlebar.

Implemented in csDefaultWindowSkin.

virtual const char* csWindowSkin::GetName  )  const [inline, virtual]
 

Get the identifier of the component this skin slice is for.

Implements csSkinSlice.

Definition at line 233 of file csskin.h.

virtual void csWindowSkin::PlaceGadgets csWindow This  )  [pure virtual]
 

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

Implemented in csDefaultWindowSkin.

virtual void csWindowSkin::SetBorderSize csWindow This  )  [pure virtual]
 

Set window border width and height depending on frame style.

Implemented in csDefaultWindowSkin.

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

Called to reflect some specific window state change on gagdets.

Implemented in csDefaultWindowSkin.


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