Inheritance diagram for os::IconView::MainView:
Public Member Functions | |
| MainView (os::Rect cFrame, IconView::Private *pcPrivate) | |
| ~MainView () | |
| void | Paint (const os::Rect &cUpdateRect) |
| Called by the system update "damaged" areas of the view. | |
| void | WindowActivated (bool bFocus) |
| Hook called when the window hosting this view gain or loose focus. | |
| void | MouseDown (const os::Point &cPosition, uint32 nButtons) |
| Hook called by the system when a mouse button is pressed. | |
| void | MouseMove (const os::Point &cPosition, int nCode, uint32 nButtons, os::Message *pcData) |
| Hook called by the system when the mouse is moved. | |
| void | MouseUp (const os::Point &cPosition, uint32 nButtons, os::Message *pcData) |
| Hook called by the system when a mouse button is release. | |
| void | KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers) |
| Hook called by the system when a key is pressed while the view has focus. | |
| void | FrameSized (const os::Point &cDelta) |
| Virtual hook called by the system when the view is resized. | |
| void | WheelMoved (const os::Point &cDelta) |
| Hook called by the system when the scroll-wheel is rotated. | |
| void | TimerTick (int nID) |
| Timer dispatch member. | |
| os::IconView::MainView::MainView | ( | os::Rect | cFrame, | |
| IconView::Private * | pcPrivate | |||
| ) | [inline] |
| os::IconView::MainView::~MainView | ( | ) | [inline] |
| void os::IconView::MainView::Paint | ( | const os::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::IconView::MainView::WindowActivated | ( | bool | bFocus | ) | [inline, virtual] |
| bIsActive | - true if the window gain and false if it loose focus. |
Reimplemented from os::View.
| void os::IconView::MainView::MouseDown | ( | const os::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::IconView::MainView::MouseMove | ( | const os::Point & | cPosition, | |
| int | nCode, | |||
| uint32 | nButtons, | |||
| os::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::IconView::MainView::MouseUp | ( | const os::Point & | cPosition, | |
| uint32 | nButtons, | |||
| os::Message * | pcData | |||
| ) | [inline, virtual] |
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.
| void os::IconView::MainView::KeyDown | ( | const char * | pzString, | |
| const char * | pzRawString, | |||
| uint32 | nQualifiers | |||
| ) | [inline, virtual] |
| pzString | String containing a single UTF-8 encoded character. This is the character generated by the pressed key according to the current keymap accounting for any qualifiers that might be pressed. | |
| pzRawString | Same as pzString except that the key is converted without accounting for qualifiers. Ie. if 'A' is pressed while pressing <SHIFT> pzString will contain 'A' and pzRawString will contain 'a'. | |
| nQualifiers | Bitmask describing which qualifiers that was active when the key was pressed. |
Reimplemented from os::View.
| void os::IconView::MainView::FrameSized | ( | const os::Point & | cDelta | ) | [inline, virtual] |
cDelta calue from the current size. | cDelta | The distance the bottom/right corner was moved relative to the upper/left corner. |
Reimplemented from os::View.
| void os::IconView::MainView::WheelMoved | ( | const os::Point & | cDelta | ) | [inline, virtual] |
| cDelta | Delta movement. Normally only the y value is used but it is possible for the mouse driver to also support horizontal scroll wheel functionality. The delta value is normally +/- 1.0 for each "click" on the wheel. |
Reimplemented from os::View.
| void os::IconView::MainView::TimerTick | ( | int | nID | ) | [inline, virtual] |
nID parameter. | \return |
Reimplemented from os::Handler.
1.5.1