![]() |
Public API Reference |
#include <cssplit.h>
Inheritance diagram for csSplitter:

Public Methods | |
| csSplitter (csComponent *pParent) | |
| Create the splitter object. More... | |
| virtual void | Draw () |
| Draw the splitter. More... | |
| virtual bool | HandleEvent (iEvent &Event) |
| Handle events. More... | |
| bool | SetRect (int xmin, int ymin, int xmax, int ymax) |
| Set splitter size/position. More... | |
| void | GetPos (int &x, int &y) |
| Get the position of the splitter. More... | |
Protected Attributes | |
| bool | isSliding |
| True if it is currently sliding. More... | |
| bool | isHorizontal |
| True if the splitter is horizontal. More... | |
| int | mdx |
| Mouse delta x and y (when user grabbed the splitter). More... | |
| int | mdy |
| Mouse delta x and y (when user grabbed the splitter). More... | |
| int | mousex |
| Current mouse position within slider. More... | |
| int | mousey |
| Current mouse position within slider. More... | |
It is used to split some view into parts dynamically. Look at csGrid to see it in action.
Definition at line 56 of file cssplit.h.
|
|
Create the splitter object.
|
|
|
Draw the splitter.
Reimplemented from csComponent. |
|
||||||||||||
|
Get the position of the splitter.
|
|
|
Handle events.
Reimplemented from csComponent. |
|
||||||||||||||||||||
|
Set splitter size/position.
Reimplemented from csComponent. |
|
|
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.
|