CrystalSpace

Public API Reference

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

csButtonSkin Class Reference
[Skin support]

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

#include <csws/csskin.h>

Inheritance diagram for csButtonSkin:

csSkinSlice csDefaultButtonSkin List of all members.

Public Member Functions

virtual const char * GetName () const
 Get the identifier of the component this skin slice is for.
virtual void SuggestSize (csButton &This, int &w, int &h)=0
 Suggest the optimal size of the button, given an already filled object.

Detailed Description

This class defines the interface for a button skin slice.

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

Definition at line 213 of file csskin.h.


Member Function Documentation

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

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

Implements csSkinSlice.

Definition at line 217 of file csskin.h.

virtual void csButtonSkin::SuggestSize csButton This,
int &  w,
int &  h
[pure virtual]
 

Suggest the optimal size of the button, given an already filled object.

Implemented in csDefaultButtonSkin.


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