Updated window title and application signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@506 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,7 +92,7 @@ void AppWindow::AboutRequested() {
|
||||
about->Go();
|
||||
}
|
||||
|
||||
App::App() : BApplication("application/x-vnd.myapplication") {
|
||||
App::App() : BApplication("application/x-vnd.obos.BezierBounds") {
|
||||
BRect aRect;
|
||||
// set up a rectangle and instantiate a new window
|
||||
aRect.Set(100, 80, 410, 380);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "BBView.h"
|
||||
#include "MsgConsts.h"
|
||||
|
||||
#define APPLICATION "Application"
|
||||
#define APPLICATION "BezierBounds"
|
||||
#define VERSION "1.0"
|
||||
|
||||
class AppWindow : public BWindow {
|
||||
|
||||
@@ -15,9 +15,7 @@ AppWindow::AppWindow(BRect aRect)
|
||||
menubar = new BMenuBar(rect, "menu_bar");
|
||||
BMenu *menu;
|
||||
|
||||
menu = new BMenu("Game");
|
||||
menu->AddItem(new BMenuItem("New", new BMessage(MENU_APP_NEW), 'N'));
|
||||
menu->AddSeparatorItem();
|
||||
menu = new BMenu("Test");
|
||||
menu->AddItem(new BMenuItem("About ...", new BMessage(B_ABOUT_REQUESTED)));
|
||||
menu->AddSeparatorItem();
|
||||
menu->AddItem(new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED), 'Q'));
|
||||
@@ -94,7 +92,7 @@ void AppWindow::AboutRequested() {
|
||||
about->Go();
|
||||
}
|
||||
|
||||
App::App() : BApplication("application/x-vnd.myapplication") {
|
||||
App::App() : BApplication("application/x-vnd.obos.LinePathBuilder") {
|
||||
BRect aRect;
|
||||
// set up a rectangle and instantiate a new window
|
||||
aRect.Set(100, 80, 410, 380);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user