Inheritance diagram for os_priv::SplitterSeparator:
Public Member Functions | |
SplitterSeparator (const Rect &cFrame, const String &cName, Splitter *splitter, uint32 nResizeMask=CF_FOLLOW_TOP|CF_FOLLOW_LEFT|CF_FOLLOW_RIGHT) | |
void | Paint (const Rect &cUpdateRect) |
Called by the system update "damaged" areas of the view. | |
void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
Hook called by the system when the mouse is moved. | |
void | MouseDown (const Point &cPosition, uint32 nButtons) |
Hook called by the system when a mouse button is pressed. | |
void | SetOrientation (orientation eOrientation) |
os_priv::SplitterSeparator::SplitterSeparator | ( | const Rect & | cFrame, | |
const String & | cName, | |||
Splitter * | splitter, | |||
uint32 | nResizeMask = CF_FOLLOW_TOP | CF_FOLLOW_LEFT | CF_FOLLOW_RIGHT | |||
) | [inline] |
void os_priv::SplitterSeparator::Paint | ( | const Rect & | cUpdateRect | ) | [inline, virtual] |
cUpdateRect | A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible. |
Reimplemented from os::View.
void os_priv::SplitterSeparator::MouseMove | ( | const Point & | cNewPos, | |
int | nCode, | |||
uint32 | nButtons, | |||
Message * | pcData | |||
) | [inline, virtual] |
cNewPos | New mouse position given in the views coordinate system. | |
nCode | Enter/exit code. This is MOUSE_ENTERED when the mouse first enter the view, MOUSE_EXITED when the mouse leaves the view, MOUSE_INSIDE whenever the mouse move withing the boundary of the view and MOUSE_OUTSIDE when the mouse move outside the view (will only happen if the view has focus). | |
nButtons | Bitmask telling which buttons that are currently pressed. Bit 0 is button 1 (left), bit 1 is button 2 (right), and bit 2 is button 3 (middle), and so on. | |
pcData | Pointer to a Message object containing the dragged data if the user is in the middle of a drag and drop operation. Otherwise this pointer is NULL. Look at BeginDrag() for a more detailed description of the drag and drop system. |
Reimplemented from os::View.
void os_priv::SplitterSeparator::MouseDown | ( | const Point & | cPosition, | |
uint32 | nButtons | |||
) | [inline, virtual] |
cPosition | Mouse position in the views coordinate system at the time the mouse was pressed. | |
nButtons | Index of the pressed button. Buttons start at 1 for the left button, 2 for the right button, 3 for the middle button. Additional buttons might be supported by the mouse driver and will then be assigned numbers from 4 and up. |
Reimplemented from os::View.
void os_priv::SplitterSeparator::SetOrientation | ( | orientation | eOrientation | ) | [inline] |