Paolo Cignoni
78c58e8d14
Yet more changes and addition to improve compatibility with high dpi devices (like retina)
2013-12-16 11:34:17 +00:00
Paolo Cignoni
999d442dda
Added 'inline' to the newly added qt event translator helpers
2013-12-13 09:29:13 +00:00
Paolo Cignoni
276438958f
Added two helper function to correctly translate QT mouse events into coords for our trackball.
...
You must use QT2VCG_X QT2VCG_Y instead of passing the event coords because on newer machines (mac but also win) with very high res monitor, qt events are no more in physical coords.
2013-12-13 07:55:43 +00:00
Paolo Cignoni
70d3ccfa23
Removed harmless warnings
2009-06-11 23:55:06 +00:00
mtarini
5704acea18
Added handling of a few more keys.
2008-11-12 16:32:18 +00:00
Paolo Cignoni
01ca6ad3a0
reformatted
2007-11-21 09:50:49 +00:00
Paolo Cignoni
75eba3e96d
made the functions static
2007-11-09 00:01:16 +00:00
Paolo Cignoni
ab34926b9f
Added QTWheel2VCG, ifndef and copyright; cleaned up.
2007-11-01 11:30:07 +00:00
Paolo Cignoni
46eb093f0f
first version
2007-10-19 22:27:50 +00:00