Changeset 1670 for trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
- Timestamp:
- 11/25/02 13:27:28 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r1600 r1670 424 424 TButton *but; 425 425 char txt[100]; 426 sprintf(txt, "((MCamDisplay*) %p)->SetPalette(1,0);", this);426 sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(1,0);", this); 427 427 but = new TButton("Pretty", txt, 0.01, 0.95, 0.15, 0.99); 428 428 but->Draw(); 429 sprintf(txt, "((MCamDisplay*) %p)->SetPalette(51,0);", this);429 sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(51,0);", this); 430 430 but = new TButton("Deap Sea", txt, 0.16, 0.95, 0.30, 0.99); 431 431 but->Draw(); 432 sprintf(txt, "((MCamDisplay*) %p)->SetPalette(52,0);", this);432 sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(52,0);", this); 433 433 but = new TButton("Blue Inv", txt, 0.31, 0.95, 0.45, 0.99); 434 434 but->Draw();
Note:
See TracChangeset
for help on using the changeset viewer.