Ignore:
Timestamp:
11/25/02 13:27:28 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.cc

    r1600 r1670  
    424424    TButton *but;
    425425    char txt[100];
    426     sprintf(txt, "((MCamDisplay*)%p)->SetPalette(1,0);", this);
     426    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(1,0);", this);
    427427    but = new TButton("Pretty", txt, 0.01, 0.95, 0.15, 0.99);
    428428    but->Draw();
    429     sprintf(txt, "((MCamDisplay*)%p)->SetPalette(51,0);", this);
     429    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(51,0);", this);
    430430    but = new TButton("Deap Sea", txt, 0.16, 0.95, 0.30, 0.99);
    431431    but->Draw();
    432     sprintf(txt, "((MCamDisplay*)%p)->SetPalette(52,0);", this);
     432    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(52,0);", this);
    433433    but = new TButton("Blue Inv", txt, 0.31, 0.95, 0.45, 0.99);
    434434    but->Draw();
Note: See TracChangeset for help on using the changeset viewer.