mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
some more minor fix and cleanup work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@8495 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f82e117932
commit
af54ec14db
5 changed files with 32 additions and 7 deletions
|
@ -56,7 +56,8 @@
|
|||
[textField setBezeled: NO];
|
||||
[textField setDrawsBackground: NO];
|
||||
[textField setStringValue:@"App class:"];
|
||||
[projectProjectInspectorView addSubview:[textField autorelease]];
|
||||
[projectProjectInspectorView addSubview:textField];
|
||||
RELEASE(textField);
|
||||
|
||||
appClassField =[[NSTextField alloc] initWithFrame:NSMakeRect(84,256,176,21)];
|
||||
[appClassField setAlignment: NSLeftTextAlignment];
|
||||
|
@ -74,7 +75,8 @@
|
|||
[textField setBezeled: NO];
|
||||
[textField setDrawsBackground: NO];
|
||||
[textField setStringValue:@"App icon:"];
|
||||
[projectProjectInspectorView addSubview:[textField autorelease]];
|
||||
[projectProjectInspectorView addSubview:textField];
|
||||
RELEASE(textField);
|
||||
|
||||
appImageField =[[NSTextField alloc] initWithFrame:NSMakeRect(84,204,176,21)];
|
||||
[appImageField setAlignment: NSLeftTextAlignment];
|
||||
|
@ -245,6 +247,7 @@
|
|||
[appImageField setStringValue:@"No Icon!"];
|
||||
[appIconView setImage:nil];
|
||||
[appIconView display];
|
||||
|
||||
[self writeMakefile];
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
PCProject *activeProject;
|
||||
|
||||
NSString *rootBuildPath;
|
||||
|
||||
NSWindow *loadedProjectsWindow;
|
||||
|
||||
@private
|
||||
BOOL _needsReleasing;
|
||||
|
|
|
@ -48,6 +48,21 @@ NSString *ActiveProjectDidChangeNotification = @"ActiveProjectDidChange";
|
|||
NSRect _w_frame;
|
||||
NSBox *line;
|
||||
|
||||
/*
|
||||
* Projects Window
|
||||
*
|
||||
*/
|
||||
|
||||
_w_frame = NSMakeRect(200,300,560,384);
|
||||
loadedProjectsWindow = [[NSWindow alloc] initWithContentRect:_w_frame
|
||||
styleMask:style
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:YES];
|
||||
[loadedProjectsWindow setMinSize:NSMakeSize(560,384)];
|
||||
[loadedProjectsWindow setTitle:@"Loaded Projects"];
|
||||
[loadedProjectsWindow setReleasedWhenClosed:NO];
|
||||
[loadedProjectsWindow setFrameAutosaveName:@"LoadedProjects"];
|
||||
|
||||
/*
|
||||
* Inspector Window
|
||||
*
|
||||
|
@ -57,7 +72,7 @@ NSString *ActiveProjectDidChangeNotification = @"ActiveProjectDidChange";
|
|||
inspector = [[NSWindow alloc] initWithContentRect:_w_frame
|
||||
styleMask:style
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
defer:YES];
|
||||
[inspector setMinSize:NSMakeSize(280,384)];
|
||||
[inspector setTitle:@"Inspector"];
|
||||
[inspector setReleasedWhenClosed:NO];
|
||||
|
@ -124,6 +139,7 @@ NSString *ActiveProjectDidChangeNotification = @"ActiveProjectDidChange";
|
|||
[inspector release];
|
||||
[inspectorView release];
|
||||
[inspectorPopup release];
|
||||
[loadedProjectsWindow release];
|
||||
}
|
||||
|
||||
[super dealloc];
|
||||
|
@ -331,6 +347,10 @@ NSString *ActiveProjectDidChangeNotification = @"ActiveProjectDidChange";
|
|||
|
||||
- (void)showLoadedProjects
|
||||
{
|
||||
if (![loadedProjectsWindow isVisible]) {
|
||||
[loadedProjectsWindow center];
|
||||
}
|
||||
[loadedProjectsWindow makeKeyAndOrderFront:self];
|
||||
}
|
||||
|
||||
- (void)saveFiles
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
ApplicationName = "ProjectCenter";
|
||||
ApplicationDescription = "GNUstep IDE";
|
||||
ApplicationIcon = "ProjectCenter.tiff";
|
||||
ApplicationRelease = "ProjectCenter 0.2";
|
||||
FullVersionID = "0.2";
|
||||
ApplicationRelease = "ProjectCenter 0.22";
|
||||
FullVersionID = "0.22";
|
||||
Authors = ("Philippe C.D. Robert <phr@projectcenter.ch>");
|
||||
URL = "http://www.projectcenter.ch";
|
||||
Copyright = "Copyright (C) 2000 Philippe C.D. Robert";
|
||||
Copyright = "Copyright (C) 2000-2001 Philippe C.D. Robert";
|
||||
CopyrightDescription = "Released under the GNU General Public License 2.0";
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
- (void)showBuildPanel:(id)sender;
|
||||
{
|
||||
[[projectManager activeProject] build:self];
|
||||
[[projectManager activeProject] showBuildView:self];
|
||||
}
|
||||
|
||||
- (void)openProject:(id)sender
|
||||
|
|
Loading…
Reference in a new issue