os_priv::SplitterSeparator Class Reference

Inheritance diagram for os_priv::SplitterSeparator:

os::View os::Handler List of all members.

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)

Constructor & Destructor Documentation

os_priv::SplitterSeparator::SplitterSeparator ( const Rect cFrame,
const String cName,
Splitter splitter,
uint32  nResizeMask = CF_FOLLOW_TOP | CF_FOLLOW_LEFT | CF_FOLLOW_RIGHT 
) [inline]


Member Function Documentation

void os_priv::SplitterSeparator::Paint ( const Rect cUpdateRect  )  [inline, virtual]

Description:
Note:
Warning:
Parameters:
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.
See also:
Invalidate(), Flush()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

void os_priv::SplitterSeparator::MouseMove ( const Point cNewPos,
int  nCode,
uint32  nButtons,
Message pcData 
) [inline, virtual]

Description:
This member is called from the window thread whenever the mouse is moved above the view or if the view has focus.
Oveload this member if your view need to handle mouse-move events.
The default implementation of this member will call MouseMove() on it's parent view if one exists.
Parameters:
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.
See also:
MouseDown(), MouseUp(), WheelMoved(), BeginDrag()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

void os_priv::SplitterSeparator::MouseDown ( const Point cPosition,
uint32  nButtons 
) [inline, virtual]

Description:
This member is called from the window thread whenever a mouse button is clicked above the view. You can overload this member if your view need to know about mouse-down events.
A view will not automatically take focus when clicked so if you want that behaviour you must call MakeFocus() from an overloaded version of this member.
The default implementation of this member will call MouseDown() on it's parent view if one exists.
Parameters:
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.
See also:
MouseUp(), MouseMove(), WheelMoved()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

void os_priv::SplitterSeparator::SetOrientation ( orientation  eOrientation  )  [inline]


Generated on Sat May 9 22:52:01 2009 for Syllable higlevel API by  doxygen 1.5.1