Opened 18 years ago

Closed 18 years ago

#791 closed defect (fixed)

Mouse (Click and gesture) Support in the new UI

Reported by: mfgalizia@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: low Keywords:
Cc: Ticket locked: no

Description

The following files and patches enable mouse support in the new UI. This includes both mouse gestures, and UIType selection detection. With the exception of custom events, event handling has been moved entirely to an event filter.

For now, output is printed to the console (which thingy was clicked or what was gestured).

Comments and feedback are welcome.

Attachments (6)

new_ui_mouse_support.diff (5.8 KB) - added by mfgalizi@… 18 years ago.
Moves event handling to filter and enables gestures
mythstroke.h (4.4 KB) - added by mfgalizi@… 18 years ago.
Gesture stuff
mythstroke.cpp (8.7 KB) - added by mfgalizi@… 18 years ago.
Gesture stuff
mythstroke.2.h (5.2 KB) - added by mfgalizi@… 18 years ago.
Support for held gestures
mythstroke.2.cpp (9.3 KB) - added by mfgalizi@… 18 years ago.
Support for held gestures
new_ui_mouse_support_2.diff (7.2 KB) - added by mfgalizi@… 18 years ago.
Support for held gestures

Download all attachments as: .zip

Change History (9)

Changed 18 years ago by mfgalizi@…

Attachment: new_ui_mouse_support.diff added

Moves event handling to filter and enables gestures

Changed 18 years ago by mfgalizi@…

Attachment: mythstroke.h added

Gesture stuff

Changed 18 years ago by mfgalizi@…

Attachment: mythstroke.cpp added

Gesture stuff

comment:1 Changed 18 years ago by mfgalizi@…

The .c and .h files have to go into libs/libmythui

Changed 18 years ago by mfgalizi@…

Attachment: mythstroke.2.h added

Support for held gestures

Changed 18 years ago by mfgalizi@…

Attachment: mythstroke.2.cpp added

Support for held gestures

Changed 18 years ago by mfgalizi@…

Attachment: new_ui_mouse_support_2.diff added

Support for held gestures

comment:2 Changed 18 years ago by mfgalizi@…

Now, a gesture is processed once a mouse button is depressed without movement for a second OR when the button is released (whichever comes first). If a timeout occurs, then the gesture is raised once every second (so, holding a gesture raises it multiple times) until the button is released.

Eventually, it would be nice if the user could specify both the timeout and time between events, but that can wait.

comment:3 Changed 18 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [8534]) Close #791 - beginnings of mouse support for new ui code (unused in current UI).

Note: See TracTickets for help on using tickets.