IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2010, 12:44:51 PM (16 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20100823

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/ButtonFunctions.c

    r25757 r29539  
    11# include "Ximage.h"
     2# include "hms_buttons.h"
    23
    34int PSfunction (Graphic *graphic, KapaImageWidget *image) {
     
    103104
    104105  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
     113int ToggleHEX (Graphic *graphic, KapaImageWidget *image) {
     114
     115  image[0].HexValue = image[0].HexValue ^ TRUE;
    105116  StatusBox (graphic, image);
    106117  FlushDisplay ();
    107118  return (TRUE);
    108 
    109119}
    110120
Note: See TracChangeset for help on using the changeset viewer.