Ignore:
Timestamp:
11/14/03 14:07:13 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGCosy.cc

    r2384 r2514  
    215215
    216216    fRaEst  = new TGLabel(f, "+000h 00.0m");
    217     fDecEst = new TGLabel(f, "+000h 00.0m");
     217    fDecEst = new TGLabel(f, "+000d 00.0m");
    218218    fRaSoll = new TGLabel(f, "+000h 00.0m");
    219     fDecSoll = new TGLabel(f, "+000h 00.0m");
    220     fZdSoll = new TGLabel(f, "+000h 00.0m");
    221     fAzSoll = new TGLabel(f, "+000h 00.0m");
     219    fDecSoll = new TGLabel(f, "+000d 00.0m");
     220    fZdSoll = new TGLabel(f, "+000d 00.0m");
     221    fAzSoll = new TGLabel(f, "+000d 00.0m");
    222222    fRaEst->SetTextJustify(kTextRight);
    223223    fDecEst->SetTextJustify(kTextRight);
     
    931931        deci = (int)test.Dec();
    932932        //sprintf(text, "%c%dd %.1fm", rd.Dec()<0?'-':'+' , abs((int)rd.Dec()), 0.1*(abs((int)test.Dec())%600));
    933         sprintf(text, "%c%dh %.1fm", sd, d, dm);
     933        sprintf(text, "%c%dd %.1fm", sd, d, dm);
    934934        fDecEst->SetText(new TGString(text));
    935935    }
     
    961961        decs = (int)test.Dec();
    962962        //sprintf(text, "%c%dd %.1fm", radec.Dec()<0?'-':'+' , abs((int)radec.Dec()), 0.1*(abs((int)test.Dec())%600));
    963         sprintf(text, "%c%dh %.1fm", sd, d, dm);
     963        sprintf(text, "%c%dd %.1fm", sd, d, dm);
    964964        fDecSoll->SetText(new TGString(text));
    965965    }
  • trunk/MagicSoft/Cosy/gui/MGImage.cc

    r2388 r2514  
    9696}
    9797
    98 void MGImage::DrawImg32(char *d, char *s, char *e)
     98void MGImage::DrawImg24(char *d, char *s, char *e)
    9999{
    100100    // d=destination, s=source, e=end
     
    110110}
    111111
    112 void MGImage::DrawColImg32(char *d, char *s1, char *s2, char *e)
     112void MGImage::DrawColImg24(char *d, char *s1, char *s2, char *e)
    113113{
    114114    // d=destination, s1=source1, s2=source2, e=end
     
    147147        DrawImg16((unsigned short*)fImage->data, (char*)buffer, (char*)(buffer+fWidth*fHeight));
    148148        break;
    149     case 32:
    150         DrawImg32(fImage->data, (char*)buffer, (char*)(buffer+fWidth*fHeight));
     149    case 24:
     150        DrawImg24(fImage->data, (char*)buffer, (char*)(buffer+fWidth*fHeight));
    151151        break;
    152152    default:
     
    179179    switch (gVirtualX->GetDepth())
    180180    {
    181     case 32:
     181    case 24:
    182182        DrawColImg32(fImage->data, (char*)gbuf, (char*)cbuf, (char*)(gbuf+fWidth*fHeight));
    183183        break;
  • trunk/MagicSoft/Cosy/gui/MGImage.h

    r2388 r2514  
    3636
    3737    void DrawImg16(unsigned short *d, char *s, char *e);
    38     void DrawImg32(char *d, char *s, char *e);
    39     void DrawColImg32(char *d, char *s1, char *s2, char *e);
     38    void DrawImg24(char *d, char *s, char *e);
     39    void DrawColImg24(char *d, char *s1, char *s2, char *e);
    4040
    4141public:
Note: See TracChangeset for help on using the changeset viewer.