#include <ueventflow.hpp>
Public Member Functions | |
UEventFlow (UDisp &, int channel) | |
creates a new Event Flow on this Display. | |
int | getID () const |
returns the global ID of this Event Flow. | |
int | getChannel () const |
returns the channel of this Event Flow relatively to its Display. | |
UDisp & | getDisp () const |
returns the display that controls this event flow. | |
USelection * | getSelection () |
returns the text selection of this event flow. | |
void | setUserData (UObject *obj) |
UObject * | getUserData () |
sets/gets a handle to user data. | |
void | setCursor (UEvent &, const UCursor *) |
void | winMousePress (UWin *, UMouseEvent &) |
void | winMouseRelease (UWin *, UMouseEvent &) |
void | winMouseMove (UWin *, UMouseEvent &) |
void | winWheel (UWin *, UWheelEvent &) |
void | winKeyPress (UWin *, UKeyEvent &) |
void | winKeyRelease (UWin *, UKeyEvent &) |
void | winLeave (UWin *, UEvent &) |
void | winDestroy (UWin *, UEvent &) |
implementation. | |
UBox * | findBox (const UEvent &e, UMask, UView *&found_view) |
void | boxEnter (UEvent &, UBox *, int bstyle) |
void | boxLeave (UEvent &) |
void | boxMousePress (UMouseEvent &) |
void | boxMouseRelease (UMouseEvent &) |
void | boxMouseMove (UMouseEvent &) |
void | boxWheel (UWheelEvent &) |
void | boxKeyPress (UKeyEvent &) |
void | boxKeyRelease (UKeyEvent &) |
implementation. | |
void | startAutoRepeat (UEvent &) |
void | stopAutoRepeat (UEvent &) |
void | autoRepeatCB (UEvent &) |
void | openTipRequest (UEvent &) |
void | closeTipRequest (UEvent &) |
void | openTipCB (UEvent &) |
implementation. | |
UGroup * | getBrowsingGroup () const |
void | setBrowsingGroup (UGroup *grp) |
[impl] gets/sets current browse group. | |
UMenuManager & | getMenuManager () const |
UWin * | retrieveTelePointer (UDisp *) |
< [impl] returns the menu manager of this event flow. | |
void | showTelePointers (UMouseEvent &, int mode=0) |
[impl]. | |
void | deleteNotify (UView *deleted_view) |
void | deleteNotify (UGroup *deleted_group) |
[impl] notifies the application(s) that a view/object has been deleted | |
Friends | |
class | UAppli |
class | UEvent |
class | UControl |
a Ubit application can manage 1 or several Event Flows that are comptelety separated. This is useful for Two-handed interaction or groupware (each user controlling his own pointer on the screen(s)). See class UAppli and UAppli::getFlow().
Note: the ID of the native Event Flow is 0 on all Displays.
ubit::UEventFlow::UEventFlow | ( | UDisp & | , | |
int | channel | |||
) |
creates a new Event Flow on this Display.
the ID of the native Event Flow is 0 on all Displays.
int ubit::UEventFlow::getChannel | ( | ) | const |
returns the channel of this Event Flow relatively to its Display.
this value is NOT unique for the whole application but depends on the display that this event flow id connected to. Remarks:
int ubit::UEventFlow::getID | ( | ) | const |
returns the global ID of this Event Flow.
this is a unique ID for the whole application. returns 0 for the native Event Flow on the Default Display.