Changeset 29539 for trunk/Ohana/src/kapa2/src/ButtonFunctions.c
- Timestamp:
- Oct 25, 2010, 12:44:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/kapa2/src/ButtonFunctions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kapa2/src/ButtonFunctions.c
r25757 r29539 1 1 # include "Ximage.h" 2 # include "hms_buttons.h" 2 3 3 4 int PSfunction (Graphic *graphic, KapaImageWidget *image) { … … 103 104 104 105 image[0].DecimalDegrees = image[0].DecimalDegrees ^ TRUE; 106 image[0].hms_button.bitmap = (image[0].DecimalDegrees) ? hms_bits : ddd_bits; 107 StatusBox (graphic, image); 108 DrawButton (graphic, &image[0].hms_button); 109 FlushDisplay (); 110 return (TRUE); 111 } 112 113 int ToggleHEX (Graphic *graphic, KapaImageWidget *image) { 114 115 image[0].HexValue = image[0].HexValue ^ TRUE; 105 116 StatusBox (graphic, image); 106 117 FlushDisplay (); 107 118 return (TRUE); 108 109 119 } 110 120
Note:
See TracChangeset
for help on using the changeset viewer.
