Changeset 21060 for trunk/Ohana/src/kapa2/src/Center.c
- Timestamp:
- Dec 30, 2008, 10:15:32 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/kapa2/src/Center.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kapa2/src/Center.c
r16256 r21060 31 31 } 32 32 33 int Parity (int sock) { 34 35 int X, Y; 36 Graphic *graphic; 37 Section *section; 38 KapaImageWidget *image; 39 40 KiiScanMessage (sock, "%d %d", &X, &Y); 41 42 graphic = GetGraphic(); 43 section = GetActiveSection(); 44 image = section->image; 45 if (image == NULL) return (TRUE); 46 47 image[0].picture.flipx = X; 48 image[0].picture.flipy = Y; 49 50 image[0].zoom.flipx = X; 51 image[0].zoom.flipy = Y; 52 53 image[0].wide.flipx = X; 54 image[0].wide.flipy = Y; 55 56 if (USE_XWINDOW) { 57 Remap (graphic, image); 58 Refresh (); 59 XFlush (graphic[0].display); 60 } 61 62 return (TRUE); 63 } 64
Note:
See TracChangeset
for help on using the changeset viewer.
