|
|
| version 1.27, 2003/11/03 10:19:43 | version 1.30, 2003/11/05 17:58:01 |
|---|---|
| Line 37 | Line 37 |
| #include "midiopt.h" | #include "midiopt.h" |
| #include "macalert.h" | #include "macalert.h" |
| #include "np2opening.h" | #include "np2opening.h" |
| #include "toolmac.h" | #include "toolwin.h" |
| #include <QuickTime/QuickTime.h> | #include <QuickTime/QuickTime.h> |
| #define USE_RESUME | #define USE_RESUME |
| Line 765 int main(int argc, char *argv[]) { | Line 765 int main(int argc, char *argv[]) { |
| toggleFullscreen(); | toggleFullscreen(); |
| } | } |
| toolwin_writeini(); | |
| pccore_cfgupdate(); | pccore_cfgupdate(); |
| #if defined(USE_RESUME) | #if defined(USE_RESUME) |
| Line 789 int main(int argc, char *argv[]) { | Line 788 int main(int argc, char *argv[]) { |
| scrnmng_destroy(); | scrnmng_destroy(); |
| if (sys_updates & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) { | if (sys_updates & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) { |
| initsave(); | initsave(); // np2.cfg create |
| toolwin_writeini(); // np2.cfg append | |
| } | } |
| TRACETERM(); | TRACETERM(); |
| macossub_term(); | macossub_term(); |
| Line 920 static pascal OSStatus np2windowevent(Ev | Line 920 static pascal OSStatus np2windowevent(Ev |
| case kEventWindowDragCompleted: | case kEventWindowDragCompleted: |
| soundmng_play(); | soundmng_play(); |
| break; | break; |
| case kEventWindowShown: | |
| scrndraw_redraw(); | |
| break; | |
| } | } |
| break; | break; |
| case kEventClassKeyboard: | case kEventClassKeyboard: |
| Line 988 static const EventTypeSpec windEventList | Line 991 static const EventTypeSpec windEventList |
| {kEventClassWindow, kEventWindowToolbarSwitchMode}, | {kEventClassWindow, kEventWindowToolbarSwitchMode}, |
| {kEventClassWindow, kEventWindowDragStarted}, | {kEventClassWindow, kEventWindowDragStarted}, |
| {kEventClassWindow, kEventWindowDragCompleted}, | {kEventClassWindow, kEventWindowDragCompleted}, |
| {kEventClassWindow, kEventWindowShown}, | |
| {kEventClassKeyboard, kEventRawKeyDown}, | {kEventClassKeyboard, kEventRawKeyDown}, |
| {kEventClassKeyboard, kEventRawKeyUp}, | {kEventClassKeyboard, kEventRawKeyUp}, |
| {kEventClassKeyboard, kEventRawKeyRepeat}, | {kEventClassKeyboard, kEventRawKeyRepeat}, |