Closed Bug 552026 Opened 14 years ago Closed 14 years ago

Pinch zoom support for Mozilla Qt port

Categories

(Core Graveyard :: Widget: Qt, defect)

1.9.2 Branch
Other
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: romaxa, Unassigned)

References

Details

Attachments

(1 file)

Attached patch Touch supportSplinter Review
Patch for supporting Pinch multitouch based on QT API.
Attachment #432199 - Flags: review?(dougt)
Comment on attachment 432199 [details] [diff] [review]
Touch support

you can probably just make DistanceBetweenPoints an inline function outside of the nsWindow class. 

Could you put:

+#if (QT_VERSION >= QT_VERSION_CHECK(4, 6, 0))
+#include <QPinchGesture>
+#endif // QT version check
+

Up with the other qt include lines?

With nits fixed, r+
Attachment #432199 - Flags: review?(dougt) → review+
Pushed in:
http://hg.mozilla.org/mozilla-central/rev/20b11ab90560
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
FYI: If you generate NS_SIMPLE_GESTURE_MAGNIFY_START and NS_SIMPLE_GESTURE_MAGNIFY_UPDATE, you should also send NS_SIMPLE_GESTURE_MAGNIFY at the end of the gesture with the cumulative delta value (if at all possible).
Depends on: 583872
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: