Changeset 37412 for trunk/Ohana/src/kapa2
- Timestamp:
- Sep 19, 2014, 4:41:20 PM (12 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/kapa2/src/InterpretKeys.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
-
trunk/Ohana/src/kapa2/src/InterpretKeys.c
r25757 r37412 50 50 Z = -1; 51 51 52 if (graph) { 52 int haveGraph = graph && graph->haveGraph; 53 if (haveGraph) { 53 54 X = (event[0].x - graph[0].axis[0].fx)*(graph[0].axis[0].max - graph[0].axis[0].min)/graph[0].axis[0].dfx + graph[0].axis[0].min; 54 55 Y = (event[0].y - graph[0].axis[1].fy)*(graph[0].axis[1].max - graph[0].axis[1].min)/graph[0].axis[1].dfy + graph[0].axis[1].min; 55 56 XY_to_RD (&R, &D, X, Y, &graph[0].data.coords); 56 57 } 57 if (image && ! graph) {58 if (image && !haveGraph) { 58 59 if (event[0].x < image[0].picture.x) goto skip_cursor; 59 60 if (event[0].y < image[0].picture.y) goto skip_cursor;
Note:
See TracChangeset
for help on using the changeset viewer.
