17 #ifndef _ueventflow_hpp_ 18 #define _ueventflow_hpp_ 1 19 #include <ubit/uappli.hpp> 20 #include <ubit/uevent.hpp> 21 #include <ubit/uviewImpl.hpp> 84 void deleteNotify(
UView* deleted_view);
85 void deleteNotify(
UElem* deleted_group);
91 void mousePress(
UView* win_view,
unsigned long time,
int state,
93 void mouseRelease(
UView* win_view,
unsigned long time,
int state,
95 void mouseMotion(
UView* win_view,
unsigned long time,
int state,
97 void wheelMotion(
UView* win_view,
unsigned long time,
int state,
98 const UPoint& win_pos,
const UPoint& abs_pos,
int type,
int delta);
99 void keyPress(
UView* win_view,
unsigned long time,
int state,
int keycode,
short keychar);
100 void keyRelease(
UView* win_view,
unsigned long time,
int state,
int keycode,
short keychar);
102 void winLeave(
UView* win_view,
unsigned long time);
105 void startAutoRepeat(
UEvent&);
106 void stopAutoRepeat(
UEvent&);
109 void boxCross(
UView* box_view,
unsigned long time,
int state,
const UCursor*,
bool is_browsing);
110 bool mustCloseMenus(
UView* source_view);
113 void openTipRequest(
UEvent&);
114 void closeTipRequest(
UEvent&);
123 static int TIP_X_SHIFT;
128 LastPressed() {reset();}
139 UView *lastEntered, *currentFocus;
140 UElem *lastArmed, *beingClicked, *dragSource, *dropTarget;
143 unsigned long click_time;
144 const class UCursor* lastCursor;
150 std::vector<class UWin*> tele_pointers;
UDisp & getDisp() const
returns the display that controls this event flow.
Definition: ueventflow.hpp:61
Definition: uviewImpl.hpp:92
text selection.
Definition: uselection.hpp:25
Box container.
Definition: ubox.hpp:64
2D Point.
Definition: ugeom.hpp:25
Ubit Event class.
Definition: uevent.hpp:30
Definition: uviewImpl.hpp:30
Display Context.
Definition: udisp.hpp:44
UEventFlow(UDisp &, int channel)
creates a new Event Flow on this Display.
Definition: ueventflow.cpp:64
The Application Context.
Definition: uappli.hpp:79
USelection * getSelection()
returns the text selection of this event flow.
Definition: ueventflow.hpp:70
int getID() const
returns the global ID of this Event Flow.
Definition: ueventflow.hpp:43
lightweight general purpose container.
Definition: uelem.hpp:44
[Instable/OpenGL] 3D position.
Definition: u3d.hpp:129
Smart Pointer for UObject instances (.
Definition: uobject.hpp:365
int getChannel() const
returns the channel of this Event Flow relatively to its Display.
Definition: ueventflow.hpp:50
void winEnter(UView *win_view, unsigned long time)
Definition: ueventflow.cpp:514
Event Flow.
Definition: ueventflow.hpp:34
Box View.
Definition: uview.hpp:65
Definition: uhardfont.hpp:31
void setFocus(UView *)
gives the input focus to this view.
Definition: ueventflow.cpp:131
UObject * getUserData()
gets a handle to user data.
Definition: ueventflow.hpp:75
Base class for windows and menus.
Definition: uwin.hpp:47
void closeAllMenus()
close all menus related to this eventflow.
Definition: ueventflow.cpp:125
timer event.
Definition: uevent.hpp:485
Mouse cursor property.
Definition: ucursor.hpp:31
void setUserData(UObject *obj)
sets a handle to user data.
Definition: ueventflow.hpp:78
mouse events
Definition: uevent.hpp:172
Base class of most Ubit objects (SEE DETAILS!).
Definition: uobject.hpp:113