#include <client.h>

Public Member Functions | |
| Client () | |
| virtual | ~Client () |
| virtual bool | OnButtonPressed (ItemClient *client, unsigned button, double x, double y, unsigned state) |
| virtual bool | OnButtonReleased (ItemClient *client, unsigned button, double x, double y, unsigned state) |
| virtual bool | OnMotion (ItemClient *client, double x, double y, unsigned state) |
| virtual bool | OnDrag (ItemClient *client, double x, double y, unsigned state) |
| virtual bool | OnLeaveNotify (unsigned state) |
| Canvas * | GetCanvas (void) |
Protected Attributes | |
| Canvas * | m_Canvas |
The Client object might represent the document or its view. This class is used to propagate mouse events to the document.
Definition at line 43 of file client.h.
| gccv::Client::Client | ( | ) |
The standard constructor.
| virtual gccv::Client::~Client | ( | ) | [virtual] |
The destructor.
| gccv::Client::GetCanvas | ( | void | ) | [inline] |
| virtual bool gccv::Client::OnButtonPressed | ( | ItemClient * | client, | |
| unsigned | button, | |||
| double | x, | |||
| double | y, | |||
| unsigned | state | |||
| ) | [virtual] |
| client | the ItemClient for the Item at the event position if any. | |
| button | the mouse button. | |
| x | horizontal event position. | |
| y | vertical event position. | |
| state | the GdkModifierType value for the event. |
Reimplemented in gcp::View.
| virtual bool gccv::Client::OnButtonReleased | ( | ItemClient * | client, | |
| unsigned | button, | |||
| double | x, | |||
| double | y, | |||
| unsigned | state | |||
| ) | [virtual] |
| client | the ItemClient for the Item at the event position if any. | |
| button | the mouse button. | |
| x | horizontal event position. | |
| y | vertical event position. | |
| state | the GdkModifierType value for the event. |
Reimplemented in gcp::View.
| virtual bool gccv::Client::OnDrag | ( | ItemClient * | client, | |
| double | x, | |||
| double | y, | |||
| unsigned | state | |||
| ) | [virtual] |
| client | the ItemClient for the Item at the event position if any. | |
| x | horizontal event position. | |
| y | vertical event position. | |
| state | the GdkModifierType value for the event. |
Reimplemented in gcp::View.
| virtual bool gccv::Client::OnLeaveNotify | ( | unsigned | state | ) | [virtual] |
| virtual bool gccv::Client::OnMotion | ( | ItemClient * | client, | |
| double | x, | |||
| double | y, | |||
| unsigned | state | |||
| ) | [virtual] |
| client | the ItemClient for the Item at the event position if any. | |
| x | horizontal event position. | |
| y | vertical event position. | |
| state | the GdkModifierType value for the event. |
Reimplemented in gcp::View.
gccv::Client::m_Canvas [protected] |
1.5.9