IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2010, 6:56:30 AM (16 years ago)
Author:
eugene
Message:

add hex/float toggle button; toggle ddd/hms button label

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/Ohana/src/kapa2/src/UpdateStatusBox.c

    r25757 r29214  
    4343  }
    4444  bzero (line, 100);
    45   sprintf (line, "%22.3f", z);
     45
     46  if (image[0].HexValue) {
     47    sprintf (line, "%04x", (int) z);
     48  } else {
     49    sprintf (line, "%22.3f", z);
     50  }
    4651  XDrawString (graphic[0].display, graphic[0].window, graphic[0].gc,
    4752               image[0].text_x + PAD1, image[0].text_y + textpad + PAD1, line, strlen(line));
Note: See TracChangeset for help on using the changeset viewer.