Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1fc910ce
Commit
1fc910ce
authored
Dec 19, 2004
by
Felix Paul Kühne
Browse files
* small clean-up, so the about-class is not needed in the main-nib anymore
parent
5b326764
Changes
7
Hide whitespace changes
Inline
Side-by-side
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
1fc910ce
...
...
@@ -113,6 +113,7 @@
openWebsite = id;
reportABug = id;
timesliderUpdate = id;
viewAbout = id;
viewPreferences = id;
};
CLASS = VLCMain;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
1fc910ce
...
...
@@ -3,7 +3,7 @@
<plist
version=
"1.0"
>
<dict>
<key>
IBDocumentLocation
</key>
<string>
172 -174
505 517 0 0
1024 746
</string>
<string>
47 61
505 517 0 0
800 578
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
1617
</key>
...
...
@@ -11,7 +11,7 @@
<key>
2197
</key>
<string>
237 313 596 367 0 0 1024 746
</string>
<key>
29
</key>
<string>
84 667
419 44 0 0
1024 746
</string>
<string>
421 486
419 44 0 0
800 578
</string>
<key>
915
</key>
<string>
731 416 165 180 0 0 1024 746
</string>
</dict>
...
...
@@ -26,10 +26,9 @@
</array>
<key>
IBOpenObjects
</key>
<array>
<integer>
29
</integer>
<integer>
21
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
7
R28
</string>
<string>
7
S215
</string>
</dict>
</plist>
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
View file @
1fc910ce
No preview for this file type
modules/gui/macosx/about.h
View file @
1fc910ce
...
...
@@ -49,6 +49,6 @@
}
+
(
VLAboutBox
*
)
sharedInstance
;
-
(
IBAction
)
showPanel
:(
id
)
sender
;
-
(
void
)
showPanel
;
@end
modules/gui/macosx/about.m
View file @
1fc910ce
...
...
@@ -50,7 +50,7 @@ static VLAboutBox *_o_sharedInstance = nil;
return
_o_sharedInstance
;
}
-
(
IBAction
)
showPanel
:(
id
)
sender
-
(
void
)
showPanel
{
if
(
!
o_credits_path
)
{
...
...
modules/gui/macosx/intf.h
View file @
1fc910ce
...
...
@@ -82,6 +82,7 @@ struct intf_sys_t
{
intf_thread_t
*
p_intf
;
/* The main intf object */
id
o_prefs
;
/* VLCPrefs */
id
o_about
;
/* VLAboutBox */
IBOutlet
id
o_window
;
/* main window */
IBOutlet
id
o_scrollfield
;
/* info field */
...
...
@@ -259,6 +260,7 @@ struct intf_sys_t
-
(
IBAction
)
clearRecentItems
:(
id
)
sender
;
-
(
void
)
openRecentItem
:(
id
)
sender
;
-
(
IBAction
)
viewAbout
:(
id
)
sender
;
-
(
IBAction
)
viewPreferences
:(
id
)
sender
;
-
(
IBAction
)
closeError
:(
id
)
sender
;
-
(
IBAction
)
openReadMe
:(
id
)
sender
;
...
...
modules/gui/macosx/intf.m
View file @
1fc910ce
...
...
@@ -36,6 +36,7 @@
#include "prefs.h"
#include "playlist.h"
#include "controls.h"
#include "about.h"
/*****************************************************************************
* Local prototypes.
...
...
@@ -289,7 +290,9 @@ static VLCMain *_o_sharedMainInstance = nil;
}
else
{
_o_sharedMainInstance
=
[
super
init
];
}
o_about
=
[[
VLAboutBox
alloc
]
init
];
return
_o_sharedMainInstance
;
}
...
...
@@ -1277,6 +1280,11 @@ static VLCMain *_o_sharedMainInstance = nil;
[
self
application
:
nil
openFile
:
[
sender
title
]];
}
-
(
IBAction
)
viewAbout
:(
id
)
sender
{
[
o_about
showPanel
];
}
-
(
IBAction
)
viewPreferences
:(
id
)
sender
{
[
o_prefs
showPrefs
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment