Replace gorm interface with .nib interface made using Interface Builder.

Subversion-branch: /launcher
Subversion-revision: 1772
This commit is contained in:
Simon Howard 2010-01-04 00:41:24 +00:00
parent 4c276878e8
commit 72ddfd94d6
11 changed files with 63 additions and 71 deletions

View file

@ -56,7 +56,7 @@
- (void)awakeFromNib
{
[[NSApp mainMenu] setTitle:@"ChocolateDoomLauncher"];
[[NSApp mainMenu] setTitle:@"ChocolateDoom"];
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotif

View file

@ -17,7 +17,7 @@ chocolate-launcher_APPLICATION_ICON = 48x48.png
# Resource files
#
chocolate-launcher_RESOURCE_FILES = \
Resources/launcher.gorm \
Resources/launcher.nib \
Resources/Main.gsmarkup \
Resources/MainMenu-GNUstep.gsmarkup \
Resources/MainMenu-OSX.gsmarkup \

View file

@ -30,7 +30,7 @@
);
INSTALLDIR = "$(HOME)/GNUstep";
INTERFACES = (
launcher.gorm,
launcher.nib,
Main.gsmarkup,
"MainMenu-GNUstep.gsmarkup",
"MainMenu-OSX.gsmarkup"
@ -44,7 +44,7 @@
LINKEROPTIONS = "";
LOCALIZED_RESOURCES = (
);
MAININTERFACE = launcher.gorm;
MAININTERFACE = launcher.nib;
MAKEFILEDIR = "$(GNUSTEP_MAKEFILES)";
OBJC_COMPILEROPTIONS = "";
OTHER_RESOURCES = (

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View file

@ -1,64 +0,0 @@
{
"## Comment" = "Do NOT change this file, Gorm maintains it";
AppController = {
Actions = (
"showPrefPanel:"
);
Outlets = (
);
Super = NSObject;
};
FirstResponder = {
Actions = (
"addIwad:",
"deleteIwad:",
"launch:",
"closeConfigWindow:",
"openConfigWindow:",
"orderFrontFontPanel:",
"runSetup:",
"setButtonClicked:",
"showPrefPanel:"
);
Super = NSObject;
};
IWADController = {
Actions = (
"closeConfigWindow:",
"openConfigWindow:"
);
Outlets = (
chex,
doom1,
doom2,
iwadSelector,
configWindow,
plutonia,
tnt
);
Super = NSObject;
};
IWADLocation = {
Actions = (
"setButtonClicked:"
);
Outlets = (
locationConfigBox,
iwadController
);
Super = NSObject;
};
LauncherManager = {
Actions = (
"launch:",
"runSetup:"
);
Outlets = (
commandLineArguments,
iwadController,
packageLabel,
launcherWindow
);
Super = NSObject;
};
}

Binary file not shown.

Binary file not shown.

35
Resources/launcher.nib/classes.nib generated Normal file
View file

@ -0,0 +1,35 @@
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
ACTIONS = {closeConfigWindow = id; openConfigWindow = id; };
CLASS = IWADController;
LANGUAGE = ObjC;
OUTLETS = {
chex = id;
configWindow = id;
doom1 = id;
doom2 = id;
iwadSelector = id;
plutonia = id;
tnt = id;
};
SUPERCLASS = NSObject;
},
{
ACTIONS = {setButtonClicked = id; };
CLASS = IWADLocation;
LANGUAGE = ObjC;
OUTLETS = {locationConfigBox = id; };
SUPERCLASS = NSObject;
},
{
ACTIONS = {launch = id; runSetup = id; };
CLASS = LauncherManager;
LANGUAGE = ObjC;
OUTLETS = {commandLineArguments = id; launcherWindow = id; packageLabel = id; };
SUPERCLASS = NSObject;
}
);
IBVersion = 1;
}

21
Resources/launcher.nib/info.nib generated Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>440 88 612 260 0 0 1440 878 </string>
<key>IBEditorPositions</key>
<dict>
<key>29</key>
<string>109 299 338 44 0 0 1440 878 </string>
</dict>
<key>IBFramework Version</key>
<string>446.1</string>
<key>IBOpenObjects</key>
<array>
<integer>21</integer>
</array>
<key>IBSystem Version</key>
<string>8S2167</string>
</dict>
</plist>

BIN
Resources/launcher.nib/keyedobjects.nib generated Normal file

Binary file not shown.

View file

@ -11,7 +11,7 @@
FullVersionID = 0.1;
NSExecutable = "chocolate-launcher";
NSIcon = 48x48.png;
NSMainNibFile = launcher.gorm;
NSMainNibFile = launcher.nib;
NSPrincipalClass = NSApplication;
NSRole = Application;
URL = "http://www.chocolate-doom.org/";