Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cdb11969
Commit
cdb11969
authored
Feb 09, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added Step forward/Step backward feature.
parent
f055f01f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
7 deletions
+62
-7
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
+5
-1
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
+2
-3
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
+0
-0
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+48
-1
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+4
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-1
No files found.
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
cdb11969
...
...
@@ -4,9 +4,11 @@
{CLASS = VLCApplication; LANGUAGE = ObjC; SUPERCLASS = NSApplication; },
{
ACTIONS = {
backward = id;
deinterlace = id;
doubleWindow = id;
faster = id;
forward = id;
fullscreen = id;
halfWindow = id;
loop = id;
...
...
@@ -71,6 +73,7 @@
"o_messages" = id;
"o_mi_about" = id;
"o_mi_bring_atf" = id;
"o_mi_bwd" = id;
"o_mi_channels" = id;
"o_mi_chapter" = id;
"o_mi_clear" = id;
...
...
@@ -83,6 +86,7 @@
"o_mi_double_window" = id;
"o_mi_faster" = id;
"o_mi_fullscreen" = id;
"o_mi_fwd" = id;
"o_mi_half_window" = id;
"o_mi_hide" = id;
"o_mi_hide_others" = id;
...
...
@@ -119,7 +123,7 @@
"o_mi_vol_down" = id;
"o_mi_vol_up" = id;
"o_mi_website" = id;
"o_msgs_btn_crashog" = id;
"o_msgs_btn_crash
l
og" = id;
"o_msgs_btn_ok" = id;
"o_msgs_panel" = id;
"o_mu_audio" = id;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
cdb11969
...
...
@@ -3,11 +3,11 @@
<plist
version=
"1.0"
>
<dict>
<key>
IBDocumentLocation
</key>
<string>
590 112 365 441 0 0 1280 1002
</string>
<string>
469 64 365 441 0 0 1152 746
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
29
</key>
<string>
1
6 822 419 44 0 0 1280 1002
</string>
<string>
1
4 602 419 44 0 0 1152 746
</string>
<key>
303
</key>
<string>
60 509 104 114 0 0 1280 1002
</string>
<key>
909
</key>
...
...
@@ -24,7 +24,6 @@
<key>
IBOpenObjects
</key>
<array>
<integer>
29
</integer>
<integer>
21
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
6G30
</string>
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
View file @
cdb11969
No preview for this file type
modules/gui/macosx/controls.m
View file @
cdb11969
...
...
@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: controls.m,v 1.2
4 2003/02/09 01:13:43
massiot Exp $
* $Id: controls.m,v 1.2
5 2003/02/09 01:50:35
massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -53,6 +53,9 @@
-
(
IBAction
)
next
:(
id
)
sender
;
-
(
IBAction
)
loop
:(
id
)
sender
;
-
(
IBAction
)
forward
:(
id
)
sender
;
-
(
IBAction
)
backward
:(
id
)
sender
;
-
(
IBAction
)
volumeUp
:(
id
)
sender
;
-
(
IBAction
)
volumeDown
:(
id
)
sender
;
-
(
IBAction
)
mute
:(
id
)
sender
;
...
...
@@ -275,6 +278,36 @@
vlc_object_release
(
p_playlist
);
}
-
(
IBAction
)
forward
:(
id
)
sender
{
intf_thread_t
*
p_intf
=
[
NSApp
getIntf
];
playlist_t
*
p_playlist
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
==
NULL
||
p_playlist
->
p_input
==
NULL
)
{
if
(
p_playlist
!=
NULL
)
vlc_object_release
(
p_playlist
);
return
;
}
input_Seek
(
p_playlist
->
p_input
,
5
,
INPUT_SEEK_SECONDS
|
INPUT_SEEK_CUR
);
vlc_object_release
(
p_playlist
);
}
-
(
IBAction
)
backward
:(
id
)
sender
{
intf_thread_t
*
p_intf
=
[
NSApp
getIntf
];
playlist_t
*
p_playlist
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
==
NULL
||
p_playlist
->
p_input
==
NULL
)
{
if
(
p_playlist
!=
NULL
)
vlc_object_release
(
p_playlist
);
return
;
}
input_Seek
(
p_playlist
->
p_input
,
-
5
,
INPUT_SEEK_SECONDS
|
INPUT_SEEK_CUR
);
vlc_object_release
(
p_playlist
);
}
-
(
IBAction
)
volumeUp
:(
id
)
sender
{
intf_thread_t
*
p_intf
=
[
NSApp
getIntf
];
...
...
@@ -680,6 +713,20 @@
[
o_mi
setState
:
i_state
];
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Forward"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Backward"
)]
)
{
if
(
p_playlist
!=
NULL
&&
p_input
!=
NULL
)
{
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
bEnabled
=
p_input
->
stream
.
b_seekable
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
}
else
{
bEnabled
=
FALSE
;
}
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Mute"
)]
)
{
[
o_mi
setState
:
p_intf
->
p_sys
->
b_mute
?
NSOnState
:
NSOffState
];
...
...
modules/gui/macosx/intf.h
View file @
cdb11969
...
...
@@ -2,7 +2,7 @@
* intf.h: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: intf.h,v 1.2
4 2003/02/08 17:26:00
massiot Exp $
* $Id: intf.h,v 1.2
5 2003/02/09 01:50:35
massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -159,6 +159,8 @@ struct intf_sys_t
IBOutlet
id
o_mi_previous
;
IBOutlet
id
o_mi_next
;
IBOutlet
id
o_mi_loop
;
IBOutlet
id
o_mi_fwd
;
IBOutlet
id
o_mi_bwd
;
IBOutlet
id
o_mi_program
;
IBOutlet
id
o_mi_title
;
IBOutlet
id
o_mi_chapter
;
...
...
@@ -237,6 +239,7 @@ struct intf_sys_t
-
(
IBAction
)
reportABug
:(
id
)
sender
;
-
(
IBAction
)
openWebsite
:(
id
)
sender
;
-
(
IBAction
)
openLicense
:(
id
)
sender
;
-
(
IBAction
)
openCrashLog
:(
id
)
sender
;
-
(
void
)
windowDidBecomeKey
:(
NSNotification
*
)
o_notification
;
...
...
modules/gui/macosx/intf.m
View file @
cdb11969
...
...
@@ -2,7 +2,7 @@
* intf.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: intf.m,v 1.5
1 2003/02/09 01:13:43
massiot Exp $
* $Id: intf.m,v 1.5
2 2003/02/09 01:50:35
massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -321,6 +321,8 @@ int ExecuteOnMainThread( id target, SEL sel, void * p_arg )
[
o_mi_previous
setTitle
:
_NS
(
"Previous"
)];
[
o_mi_next
setTitle
:
_NS
(
"Next"
)];
[
o_mi_loop
setTitle
:
_NS
(
"Loop"
)];
[
o_mi_fwd
setTitle
:
_NS
(
"Step Forward"
)];
[
o_mi_bwd
setTitle
:
_NS
(
"Step Backward"
)];
[
o_mi_program
setTitle
:
_NS
(
"Program"
)];
[
o_mi_title
setTitle
:
_NS
(
"Title"
)];
[
o_mi_chapter
setTitle
:
_NS
(
"Chapter"
)];
...
...
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