|
|
| version 1.4, 2004/01/11 16:58:48 | version 1.5, 2004/02/25 19:30:40 |
|---|---|
| Line 20 const EventTypeSpec list[]={ { kEventCla | Line 20 const EventTypeSpec list[]={ { kEventCla |
| { kEventClassWindow, kEventWindowShowing }, | { kEventClassWindow, kEventWindowShowing }, |
| }; | }; |
| static const char np2infostr[] = \ | static const char np2infostr[] = \ |
| "CPU: !CPU !CLOCK\r" \ | "CPU: %CPU% %CLOCK%\r" \ |
| "MEM: !MEM1\r" \ | "MEM: %MEM1%\r" \ |
| "GDC: !GDC\r" \ | "GDC: %GDC%\r" \ |
| "TEXT: !TEXT\r" \ | "TEXT: %TEXT%\r" \ |
| "GRPH: !GRPH\r" \ | "GRPH: %GRPH%\r" \ |
| "SOUND: !EXSND\r" \ | "SOUND: %EXSND%\r" \ |
| "\r" \ | "\r" \ |
| "BIOS: !BIOS\r" \ | "BIOS: %BIOS%\r" \ |
| "RHYTHM: !RHYTHM\r" | "RHYTHM: %RHYTHM%\r" |
| ; | ; |
| static void closeAboutDialog(void) { | static void closeAboutDialog(void) { |
| Line 58 static pascal OSStatus cfWinproc(EventHa | Line 58 static pascal OSStatus cfWinproc(EventHa |
| SizeWindow(aboutWin, 292, 230, true); | SizeWindow(aboutWin, 292, 230, true); |
| } | } |
| else { | else { |
| ZeroMemory(infostr, sizeof(infostr)); | np2info(infostr, np2infostr, sizeof(infostr), NULL); |
| np2info(infostr, np2infostr, sizeof(infostr)); | |
| SetControlData(more,kControlNoPart,kControlEditTextTextTag,sizeof(infostr), infostr); | SetControlData(more,kControlNoPart,kControlEditTextTextTag,sizeof(infostr), infostr); |
| SetControl32BitValue(getControlRefByID('detl',0,aboutWin),3); | SetControl32BitValue(getControlRefByID('detl',0,aboutWin),3); |
| SizeWindow(aboutWin, 292, 441, true); | SizeWindow(aboutWin, 292, 441, true); |