aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/touchmouse
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-01-12 13:32:10 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2018-03-02 12:54:04 +0000
commit73ab709ae2c0ab2bf7468b181a14ce3ec507abf4 (patch)
tree371f03c03a53f5f3710eae4b34e2298df074132a /tests/auto/quick/touchmouse
parent6479eb1967135b3b9d7c3b90501623c23d5cefa9 (diff)
allow DeviceType and PointerType enums 16 bits each; bit packing
Now in QQuickPointerDevice, the types, flags and capabilities take up 64 bits together, and we reserve enough bits to add more types later. In C++11 enums can be strongly typed by "inheriting" an integer type, so we do that. They are signed because button count and maximum touch points are signed, and because MS compilers do that by default with enums. Change-Id: I45f27bcceeef275cbee256472b35f78fbdeeaad6 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/quick/touchmouse')
0 files changed, 0 insertions, 0 deletions