|
ubit
|
Event Flow. More...
#include <ueventflow.hpp>
Public Member Functions | |
| UEventFlow (UDisp &, int channel) | |
| creates a new Event Flow on this Display. More... | |
| int | getID () const |
| returns the global ID of this Event Flow. More... | |
| int | getChannel () const |
| returns the channel of this Event Flow relatively to its Display. More... | |
| UDisp & | getDisp () const |
| returns the display that controls this event flow. | |
| void | setFocus (UView *) |
| gives the input focus to this view. More... | |
| USelection * | getSelection () |
| returns the text selection of this event flow. | |
| UMenuManager & | getMenuManager () const |
| UObject * | getUserData () |
| gets a handle to user data. | |
| void | setUserData (UObject *obj) |
| sets a handle to user data. | |
| void | closeAllMenus () |
| close all menus related to this eventflow. | |
| void | deleteNotify (UView *deleted_view) |
| void | deleteNotify (UElem *deleted_group) |
| void | redirectMousePress (UMouseEvent &, UView *winview) |
| void | mousePress (UView *win_view, unsigned long time, int state, const UPoint &win_pos, const UPoint &abs_pos, int btn) |
| void | mouseRelease (UView *win_view, unsigned long time, int state, const UPoint &win_pos, const UPoint &abs_pos, int btn) |
| void | mouseMotion (UView *win_view, unsigned long time, int state, const UPoint &win_pos, const UPoint &abs_pos) |
| void | wheelMotion (UView *win_view, unsigned long time, int state, const UPoint &win_pos, const UPoint &abs_pos, int type, int delta) |
| void | keyPress (UView *win_view, unsigned long time, int state, int keycode, short keychar) |
| void | keyRelease (UView *win_view, unsigned long time, int state, int keycode, short keychar) |
| void | winEnter (UView *win_view, unsigned long time) |
| void | winLeave (UView *win_view, unsigned long time) |
| void | setCursor (UEvent &, const UCursor *) |
| void | startAutoRepeat (UEvent &) |
| void | stopAutoRepeat (UEvent &) |
Protected Member Functions | |
| void | boxCross (UView *box_view, unsigned long time, int state, const UCursor *, bool is_browsing) |
| bool | mustCloseMenus (UView *source_view) |
| void | autoRepeatCB (UTimerEvent &) |
| void | openTipCB (UTimerEvent &) |
| void | openTipRequest (UEvent &) |
| void | closeTipRequest (UEvent &) |
| UWin * | retrieveTelePointer (UDisp *) |
| void | showTelePointers (UMouseEvent &, int mode=0) |
Friends | |
| class | UAppli |
| class | UEvent |
| class | UElem |
Event Flow.
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.
| UEventFlow::UEventFlow | ( | UDisp & | _d, |
| int | channel | ||
| ) |
creates a new Event Flow on this Display.
the ID of the native Event Flow is 0 on all Displays.
|
inline |
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:
|
inline |
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.
| void UEventFlow::setFocus | ( | UView * | v | ) |
gives the input focus to this view.
no object gets the focus if argument is null. The focus is reset when the user clicks on a the view of widget that can handle input from the keyboard
| void UEventFlow::winEnter | ( | UView * | win_view, |
| unsigned long | time | ||
| ) |
!! should be the entered box PAS WINVIEW !!!@@
1.8.12