Пример #1
0
BOOL CPGPFoneFrame::PreCreateWindow(CREATESTRUCT& cs)
{
	DoPrefs(0);

	cs.x = gPGFOpts.sysopt.windowPosX;
	cs.y = gPGFOpts.sysopt.windowPosY;
	cs.cx = cFoneFrameWidth;
	cs.cy = cFoneFrameHeight;
	return CFrameWnd::PreCreateWindow(cs);
}
Пример #2
0
static pascal OSErr ShowPreferencesAE( const AppleEvent * theAppleEvent,
	AppleEvent * reply, SInt32 handlerRefcon) {
 fprintf( logfile, "PREFS event received.\n" ); fflush( logfile );
    if ( localsplash )
	start_splash_screen();
    system( "DYLD_LIBRARY_PATH=\"\"; osascript -e 'tell application \"X11\" to activate'" );
    DoPrefs();
 fprintf( logfile, " event processed %d.\n", noErr ); fflush( logfile );
return( noErr );
}
Пример #3
0
CPGPFoneFrame::~CPGPFoneFrame()
{
	DoPrefs(1);
}