Beispiel #1
0
MrPeeps::MrPeeps(void)
    :BApplication(APP_SIGNATURE)
{
    gCurrentLocale=locale_roster->LocaleAt(0);

    InitFileTypes();

    AboutWindow *ab=new AboutWindow(ABOUT_STARTUP);
    ab->Show();

    mainwindow = new PeepsWindow(ab->GetStatusMessenger());
    mainwindow->Show();

    ab->PostMessage(B_QUIT_REQUESTED);
}
Beispiel #2
0
App::App(void)
	:
	BApplication(APP_SIGNATURE),
	fBuildCleanMode(false),
	fBuilder(NULL)
{
	InitFileTypes();
	InitGlobals();
	EnsureTemplates();
	
	gProjectList = new LockableList<Project>(20,true);
	gProjectWindowPoint.Set(5,24);
	
	fOpenPanel = NULL;
}
Beispiel #3
0
App::App(void)
	:	BApplication(APP_SIGNATURE),
		fBuildCleanMode(false),
		fBuilder(NULL)
{
	InitFileTypes();
	InitGlobals();
	EnsureTemplates();
	
	gProjectList = new LockableList<Project>(20,true);
	gProjectWindowPoint.Set(5,24);

	BMessenger msgr(this);
	BEntry entry(gLastProjectPath.GetFullPath());
	entry_ref ref;
	entry.GetRef(&ref);
	fOpenPanel = new BFilePanel(B_OPEN_PANEL,&msgr,&ref,B_FILE_NODE,true,
								new BMessage(B_REFS_RECEIVED));
	fOpenPanel->Window()->SetTitle("Paladin: Open Project");
}