Commit 50f6b0f6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* ALL: moved the about-window to a seperate nib-file

parent 6d79bfeb
This diff is collapsed.
<?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>45 176 505 517 0 0 1024 746 </string>
<key>IBFramework Version</key>
<string>364.0</string>
<key>IBLockedObjects</key>
<array/>
<key>IBSystem Version</key>
<string>7R28</string>
</dict>
</plist>
...@@ -6,13 +6,7 @@ ...@@ -6,13 +6,7 @@
ACTIONS = {showPanel = id; }; ACTIONS = {showPanel = id; };
CLASS = VLAboutBox; CLASS = VLAboutBox;
LANGUAGE = ObjC; LANGUAGE = ObjC;
OUTLETS = { OUTLETS = {};
"o_about_window" = id;
"o_copyright_field" = id;
"o_credits_scrollview" = id;
"o_credits_textview" = id;
"o_name_version_field" = id;
};
SUPERCLASS = NSObject; SUPERCLASS = NSObject;
}, },
{CLASS = VLBrushedMetalImageView; LANGUAGE = ObjC; SUPERCLASS = NSImageView; }, {CLASS = VLBrushedMetalImageView; LANGUAGE = ObjC; SUPERCLASS = NSImageView; },
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<key>1617</key> <key>1617</key>
<string>542 480 104 149 0 0 1024 746 </string> <string>542 480 104 149 0 0 1024 746 </string>
<key>2197</key> <key>2197</key>
<string>237 313 596 367 0 0 1024 746 </string> <string>102 199 596 368 0 0 800 578 </string>
<key>29</key> <key>29</key>
<string>84 667 419 44 0 0 1024 746 </string> <string>53 507 419 44 0 0 800 578 </string>
<key>915</key> <key>915</key>
<string>54 452 185 199 0 0 1024 746 </string> <string>54 452 185 199 0 0 1024 746 </string>
</dict> </dict>
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
</array> </array>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>21</integer>
<integer>29</integer>
<integer>2197</integer> <integer>2197</integer>
<integer>29</integer>
<integer>21</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>7R28</string> <string>7R28</string>
......
...@@ -813,6 +813,7 @@ ...@@ -813,6 +813,7 @@
8E9CA1BF06D7DEE800B7186C, 8E9CA1BF06D7DEE800B7186C,
8E9CA1C006D7DEE800B7186C, 8E9CA1C006D7DEE800B7186C,
8E9CA1C106D7DEE800B7186C, 8E9CA1C106D7DEE800B7186C,
DCA00AA9075F948800E6BF46,
); );
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -834,6 +835,7 @@ ...@@ -834,6 +835,7 @@
}; };
089C167CFE841241C02AAC07 = { 089C167CFE841241C02AAC07 = {
children = ( children = (
DCA00AA7075F948800E6BF46,
F74F13EA02C2A79C01EE194C, F74F13EA02C2A79C01EE194C,
8E445F86047289E50059A3A7, 8E445F86047289E50059A3A7,
8ECA7E520563CD9500DFC000, 8ECA7E520563CD9500DFC000,
...@@ -2213,6 +2215,40 @@ ...@@ -2213,6 +2215,40 @@
//A02 //A02
//A03 //A03
//A04 //A04
//DC0
//DC1
//DC2
//DC3
//DC4
DCA00AA7075F948800E6BF46 = {
children = (
DCA00AA8075F948800E6BF46,
);
isa = PBXVariantGroup;
name = About.nib;
path = "";
refType = 4;
sourceTree = "<group>";
};
DCA00AA8075F948800E6BF46 = {
isa = PBXFileReference;
lastKnownFileType = wrapper.nib;
name = English;
path = Resources/English.lproj/About.nib;
refType = 4;
sourceTree = "<group>";
};
DCA00AA9075F948800E6BF46 = {
fileRef = DCA00AA7075F948800E6BF46;
isa = PBXBuildFile;
settings = {
};
};
//DC0
//DC1
//DC2
//DC3
//DC4
//F60 //F60
//F61 //F61
//F62 //F62
......
...@@ -57,7 +57,10 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -57,7 +57,10 @@ static VLAboutBox *_o_sharedInstance = nil;
NSString *o_name; NSString *o_name;
NSString *o_version; NSString *o_version;
NSString *o_thanks_path; NSString *o_thanks_path;
/* Load the needed nib-file */
[NSBundle loadNibNamed:@"About" owner:self];
/* Get the info dictionary (Info.plist) */ /* Get the info dictionary (Info.plist) */
o_info_dict = [[NSBundle mainBundle] infoDictionary]; o_info_dict = [[NSBundle mainBundle] infoDictionary];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment