csSplitter Class Reference
[Splitter]
This is a splitter control that draws vertical and/or horizontal lines in its parent canvas.
More...
#include <cssplit.h>
Inheritance diagram for csSplitter:

Public Methods | |
csSplitter (csComponent *pParent) | |
Create the splitter object. | |
virtual void | Draw () |
Draw the splitter. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle events. | |
bool | SetRect (int xmin, int ymin, int xmax, int ymax) |
Set splitter size/position. | |
void | GetPos (int &x, int &y) |
Get the position of the splitter. | |
Protected Attributes | |
bool | isSliding |
True if it is currently sliding. | |
bool | isHorizontal |
True if the splitter is horizontal. | |
int | mdx |
Mouse delta x and y (when user grabbed the splitter). | |
int | mdy |
Mouse delta x and y (when user grabbed the splitter). | |
int | mousex |
Current mouse position within slider. | |
int | mousey |
Current mouse position within slider. |
Detailed Description
This is a splitter control that draws vertical and/or horizontal lines in its parent canvas.It is used to split some view into parts dynamically. Look at csGrid to see it in action.
Definition at line 58 of file cssplit.h.
Constructor & Destructor Documentation
|
Create the splitter object.
|
Member Function Documentation
|
Draw the splitter.
Reimplemented from csComponent. |
|
Get the position of the splitter.
|
|
Handle events.
Reimplemented from csComponent. |
|
Set splitter size/position.
Reimplemented from csComponent. |
Member Data Documentation
|
True if the splitter is horizontal.
|
|
True if it is currently sliding.
|
|
Mouse delta x and y (when user grabbed the splitter).
|
|
Mouse delta x and y (when user grabbed the splitter).
|
|
Current mouse position within slider.
|
|
Current mouse position within slider.
|
The documentation for this class was generated from the following file:
- csws/cssplit.h
Generated for Crystal Space by doxygen 1.2.18