Changeset 1670
- Timestamp:
- 11/25/02 13:27:28 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1668 r1670 1 1 -*-*- END -*-*- 2 2 2002/11/25: Thomas Bretz 3 4 * mgui/MCamDisplazy.cc: 5 - fixed a bug when sprintf the pointer to the char-array, only 6 took place on alphas. 3 7 4 8 * macros/multidimdist2.C: -
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.