|
|
| version 1.3, 2003/11/13 18:17:43 | version 1.4, 2004/01/11 16:58:48 |
|---|---|
| Line 12 | Line 12 |
| #include "np2ver.h" | #include "np2ver.h" |
| #include "np2info.h" | #include "np2info.h" |
| #include "aboutdlg.h" | #include "aboutdlg.h" |
| #include <QuickTime/QuickTime.h> | |
| static WindowRef aboutWin; | static WindowRef aboutWin; |
| static PicHandle pict; | static PicHandle pict; |
| Line 83 static pascal OSStatus cfWinproc(EventHa | Line 84 static pascal OSStatus cfWinproc(EventHa |
| image = getControlRefByID('logo', 0, aboutWin); | image = getControlRefByID('logo', 0, aboutWin); |
| pict = getBMPfromResource("np2logo.tiff", &bounds); | pict = getBMPfromResource("np2logo.tiff", &bounds); |
| SetControlData(image, kControlNoPart, kControlPictureHandleTag, sizeof(PicHandle), &pict); | SetControlData(image, kControlNoPart, kControlPictureHandleTag, sizeof(PicHandle), &pict); |
| version = getControlRefByID('vers', 0, aboutWin); | version = getControlRefByID('vers', 0, aboutWin); |
| SetControlData(version, kControlNoPart, kControlStaticTextTextTag, sizeof(NP2VER_CORE), NP2VER_CORE); | SetControlData(version, kControlNoPart, kControlStaticTextTextTag, sizeof(NP2VER_CORE), NP2VER_CORE); |
| err=noErr; | err=noErr; |
| break; | break; |