Inheritance diagram for os::ListViewCol:
Public Member Functions | |
ListViewCol (ListViewContainer *pcParent, const Rect &cFrame, const String &cTitle) | |
~ListViewCol () | |
virtual void | Paint (const Rect &cUpdateRect) |
Called by the system update "damaged" areas of the view. | |
void | Refresh (const Rect &cUpdateRect) |
virtual void | MouseDown (const Point &, uint32) |
Hook called by the system when a mouse button is pressed. | |
virtual void | MouseMove (const Point &, int, uint32, Message *) |
Hook called by the system when the mouse is moved. | |
virtual void | MouseUp (const Point &, uint32, Message *) |
Hook called by the system when a mouse button is release. | |
Friends | |
class | ListViewHeader |
class | ListViewContainer |
ListViewCol::ListViewCol | ( | ListViewContainer * | pcParent, | |
const Rect & | cFrame, | |||
const String & | cTitle | |||
) |
ListViewCol::~ListViewCol | ( | ) |
void ListViewCol::Paint | ( | const Rect & | cUpdateRect | ) | [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 ListViewCol::Refresh | ( | const Rect & | cUpdateRect | ) |
void ListViewCol::MouseDown | ( | const Point & | cPos, | |
uint32 | nButtons | |||
) | [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 ListViewCol::MouseMove | ( | const Point & | cPos, | |
int | nCode, | |||
uint32 | nButtons, | |||
Message * | pcData | |||
) | [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.
pcData
member will point to a Message containing the dragged data. Look at BeginDrag() for a more detailed description of the drag and drop system. 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. | |
pcData | Pointer to a Message object containing the dragged data if this mouse-up was the end of a drag and drop operation. If no data was dragged it will be NULL. |
Reimplemented from os::View.
friend class ListViewHeader [friend] |
friend class ListViewContainer [friend] |