mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add pen support for OSR (issue #1059)
This commit is contained in:
committed by
Marshall Greenblatt
parent
4cbcb4615a
commit
7b5d30e9a9
@ -1715,6 +1715,17 @@ typedef enum {
|
||||
CEF_TET_CANCELLED
|
||||
} cef_touch_event_type_t;
|
||||
|
||||
///
|
||||
// The device type that caused the event.
|
||||
///
|
||||
typedef enum {
|
||||
CEF_POINTER_TYPE_TOUCH = 0,
|
||||
CEF_POINTER_TYPE_MOUSE,
|
||||
CEF_POINTER_TYPE_PEN,
|
||||
CEF_POINTER_TYPE_ERASER,
|
||||
CEF_POINTER_TYPE_UNKNOWN
|
||||
} cef_pointer_type_t;
|
||||
|
||||
///
|
||||
// Structure representing touch event information.
|
||||
///
|
||||
@ -1771,6 +1782,11 @@ typedef struct _cef_touch_event_t {
|
||||
///
|
||||
uint32 modifiers;
|
||||
|
||||
///
|
||||
// The device type that caused the event.
|
||||
///
|
||||
cef_pointer_type_t pointer_type;
|
||||
|
||||
} cef_touch_event_t;
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user