Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f5b39d26
Commit
f5b39d26
authored
Dec 11, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix the state of the playlist and fullscreen button.
parent
f0e843fd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
33 additions
and
11 deletions
+33
-11
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
+7
-2
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
+1
-1
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
+0
-0
modules/gui/macosx/controls.h
modules/gui/macosx/controls.h
+2
-1
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+4
-1
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-2
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+3
-1
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+14
-1
No files found.
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
f5b39d26
...
...
@@ -42,7 +42,12 @@
};
CLASS = VLCControls;
LANGUAGE = ObjC;
OUTLETS = {"o_main" = id; "o_open" = id; "o_volumeslider" = id; };
OUTLETS = {
"o_btn_fullscreen" = id;
"o_main" = id;
"o_open" = id;
"o_volumeslider" = id;
};
SUPERCLASS = NSObject;
},
{
...
...
@@ -73,7 +78,6 @@
"o_btn_fullscreen" = id;
"o_btn_next" = id;
"o_btn_play" = id;
"o_btn_playlist" = id;
"o_btn_prev" = id;
"o_btn_rewind" = id;
"o_btn_stop" = id;
...
...
@@ -331,6 +335,7 @@
CLASS = VLCPlaylist;
LANGUAGE = ObjC;
OUTLETS = {
"o_btn_playlist" = id;
"o_ctx_menu" = id;
"o_loop_ckb" = id;
"o_mi_delete" = id;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
f5b39d26
...
...
@@ -19,9 +19,9 @@
<array/>
<key>
IBOpenObjects
</key>
<array>
<integer>
1647
</integer>
<integer>
21
</integer>
<integer>
1617
</integer>
<integer>
1647
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
7C107
</string>
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
View file @
f5b39d26
No preview for this file type
modules/gui/macosx/controls.h
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* controls.h: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: controls.h,v 1.
7 2003/09/20 19:37:53
hartman Exp $
* $Id: controls.h,v 1.
8 2003/12/11 19:34:47
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -31,6 +31,7 @@
IBOutlet
id
o_open
;
IBOutlet
id
o_main
;
IBOutlet
id
o_btn_fullscreen
;
IBOutlet
id
o_volumeslider
;
}
...
...
modules/gui/macosx/controls.m
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: controls.m,v 1.5
7 2003/12/08 19:50:22 gbazi
n Exp $
* $Id: controls.m,v 1.5
8 2003/12/11 19:34:47 hartma
n Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -356,7 +356,10 @@
[
o_window
performZoom
:
self
];
}
else
{
[
o_btn_fullscreen
setState
:
!
[
o_window
isFullscreen
]];
[
o_window
toggleFullscreen
];
}
break
;
}
}
...
...
modules/gui/macosx/intf.h
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* intf.h: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: intf.h,v 1.5
0 2003/12/11 16:00:09
hartman Exp $
* $Id: intf.h,v 1.5
1 2003/12/11 19:34:47
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -100,7 +100,6 @@ struct intf_sys_t
float
f_slider_old
;
/* old slider val */
IBOutlet
id
o_volumeslider
;
/* volume slider */
IBOutlet
id
o_btn_playlist
;
/* btn playlist */
IBOutlet
id
o_btn_prev
;
/* btn previous */
IBOutlet
id
o_btn_rewind
;
/* btn rewind */
IBOutlet
id
o_btn_play
;
/* btn play */
...
...
modules/gui/macosx/intf.m
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* intf.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: intf.m,v 1.10
4 2003/12/11 16:00:09
hartman Exp $
* $Id: intf.m,v 1.10
5 2003/12/11 19:34:47
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -432,7 +432,6 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
[
o_window
setTitle
:
_NS
(
"VLC - Controller"
)];
/* button controls */
[
o_btn_playlist
setToolTip
:
_NS
(
"Playlist"
)];
[
o_btn_prev
setToolTip
:
_NS
(
"Previous"
)];
[
o_btn_rewind
setToolTip
:
_NS
(
"Rewind"
)];
[
o_btn_play
setToolTip
:
_NS
(
"Play"
)];
...
...
modules/gui/macosx/playlist.h
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* playlist.h: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.h,v 1.1
5 2003/11/17 23:36:12 bigbe
n Exp $
* $Id: playlist.h,v 1.1
6 2003/12/11 19:34:46 hartma
n Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
...
...
@@ -39,6 +39,7 @@
int
i_moveRow
;
IBOutlet
id
o_window
;
IBOutlet
id
o_btn_playlist
;
IBOutlet
id
o_table_view
;
IBOutlet
id
o_status_field
;
...
...
@@ -60,6 +61,7 @@
}
-
(
void
)
initStrings
;
-
(
NSMenu
*
)
menuForEvent
:(
NSEvent
*
)
o_event
;
-
(
IBAction
)
toggleWindow
:(
id
)
sender
;
...
...
modules/gui/macosx/playlist.m
View file @
f5b39d26
...
...
@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.m,v 1.4
7 2003/12/10 12:57:12 bigbe
n Exp $
* $Id: playlist.m,v 1.4
8 2003/12/11 19:34:46 hartma
n Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
...
...
@@ -133,7 +133,11 @@
[
NSArray
arrayWithObjects
:
NSFilenamesPboardType
,
nil
]];
[
o_window
setExcludedFromWindowsMenu
:
TRUE
];
[
self
initStrings
];
}
-
(
void
)
initStrings
{
[
o_window
setTitle
:
_NS
(
"Playlist"
)];
[
o_mi_save_playlist
setTitle
:
_NS
(
"Save Playlist..."
)];
[
o_mi_play
setTitle
:
_NS
(
"Play"
)];
...
...
@@ -145,6 +149,7 @@
[
o_loop_ckb
setTitle
:
_NS
(
"Repeat Playlist"
)];
[
o_repeat_ckb
setTitle
:
_NS
(
"Repeat Item"
)];
[
o_search_button
setTitle
:
_NS
(
"Search"
)];
[
o_btn_playlist
setToolTip
:
_NS
(
"Playlist"
)];
}
-
(
BOOL
)
tableView
:(
NSTableView
*
)
o_tv
...
...
@@ -178,10 +183,12 @@
if
(
[
o_window
isVisible
]
)
{
[
o_window
orderOut
:
sender
];
[
o_btn_playlist
setState
:
NSOffState
];
}
else
{
[
o_window
makeKeyAndOrderFront
:
sender
];
[
o_btn_playlist
setState
:
NSOnState
];
}
}
...
...
@@ -599,5 +606,11 @@
[
self
updateRowSelection
];
}
/* Delegate method of NSWindow */
-
(
void
)
windowWillClose
:(
NSNotification
*
)
aNotification
{
[
o_btn_playlist
setState
:
NSOffState
];
}
@end
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