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
46c62acc
Commit
46c62acc
authored
Jun 06, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove excess whitespace
parent
499b9cfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
src/osd/osd.c
src/osd/osd.c
+16
-16
No files found.
src/osd/osd.c
View file @
46c62acc
...
...
@@ -295,14 +295,14 @@ void __osd_MenuActivate( vlc_object_t *p_this )
/*
* Is there a menu item above or below? If so, then select it.
*/
if
(
p_button
&&
p_button
->
p_up
)
if
(
p_button
&&
p_button
->
p_up
)
{
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_mutex_unlock
(
lockval
.
p_address
);
__osd_MenuUp
(
p_this
);
/* "menu select" means go to menu item above. */
return
;
}
if
(
p_button
&&
p_button
->
p_down
)
if
(
p_button
&&
p_button
->
p_down
)
{
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_mutex_unlock
(
lockval
.
p_address
);
...
...
@@ -361,11 +361,11 @@ void __osd_MenuNext( vlc_object_t *p_this )
else
p_osd
->
p_state
->
p_visible
=
p_osd
->
p_button
;
if
(
!
p_osd
->
p_state
->
p_visible
->
b_range
)
if
(
!
p_osd
->
p_state
->
p_visible
->
b_range
)
p_osd
->
p_state
->
p_visible
->
p_current_state
=
osd_StateChange
(
p_osd
->
p_state
->
p_visible
->
p_states
,
OSD_BUTTON_SELECT
);
osd_UpdateState
(
p_osd
->
p_state
,
osd_UpdateState
(
p_osd
->
p_state
,
p_osd
->
p_state
->
p_visible
->
i_x
,
p_osd
->
p_state
->
p_visible
->
i_y
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_lines
,
...
...
@@ -405,18 +405,18 @@ void __osd_MenuPrev( vlc_object_t *p_this )
p_button
=
p_osd
->
p_state
->
p_visible
;
if
(
p_button
)
{
if
(
!
p_button
->
b_range
)
if
(
!
p_button
->
b_range
)
p_button
->
p_current_state
=
osd_StateChange
(
p_button
->
p_states
,
OSD_BUTTON_UNSELECT
);
if
(
p_button
->
p_prev
)
p_osd
->
p_state
->
p_visible
=
p_button
->
p_prev
;
else
p_osd
->
p_state
->
p_visible
=
p_osd
->
p_last_button
;
if
(
!
p_osd
->
p_state
->
p_visible
->
b_range
)
if
(
!
p_osd
->
p_state
->
p_visible
->
b_range
)
p_osd
->
p_state
->
p_visible
->
p_current_state
=
osd_StateChange
(
p_osd
->
p_state
->
p_visible
->
p_states
,
OSD_BUTTON_SELECT
);
osd_UpdateState
(
p_osd
->
p_state
,
osd_UpdateState
(
p_osd
->
p_state
,
p_osd
->
p_state
->
p_visible
->
i_x
,
p_osd
->
p_state
->
p_visible
->
i_y
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_lines
,
...
...
@@ -458,14 +458,14 @@ void __osd_MenuUp( vlc_object_t *p_this )
p_button
=
p_osd
->
p_state
->
p_visible
;
if
(
p_button
)
{
if
(
!
p_button
->
b_range
)
if
(
!
p_button
->
b_range
)
{
p_button
->
p_current_state
=
osd_StateChange
(
p_button
->
p_states
,
OSD_BUTTON_SELECT
);
if
(
p_button
->
p_up
)
p_osd
->
p_state
->
p_visible
=
p_button
->
p_up
;
}
if
(
p_button
->
b_range
&&
p_osd
->
p_state
->
p_visible
->
b_range
)
if
(
p_button
->
b_range
&&
p_osd
->
p_state
->
p_visible
->
b_range
)
{
osd_state_t
*
p_temp
=
p_osd
->
p_state
->
p_visible
->
p_current_state
;
if
(
p_temp
&&
p_temp
->
p_next
)
...
...
@@ -477,7 +477,7 @@ void __osd_MenuUp( vlc_object_t *p_this )
osd_StateChange
(
p_osd
->
p_state
->
p_visible
->
p_states
,
OSD_BUTTON_SELECT
);
}
osd_UpdateState
(
p_osd
->
p_state
,
osd_UpdateState
(
p_osd
->
p_state
,
p_osd
->
p_state
->
p_visible
->
i_x
,
p_osd
->
p_state
->
p_visible
->
i_y
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_lines
,
...
...
@@ -486,7 +486,7 @@ void __osd_MenuUp( vlc_object_t *p_this )
/* If this is a range style action with associated images of only one state,
* then perform "menu select" on every menu navigation
*/
if
(
p_button
->
b_range
)
if
(
p_button
->
b_range
)
{
osd_SetKeyPressed
(
VLC_OBJECT
(
p_osd
->
p_libvlc
),
config_GetInt
(
p_osd
,
p_button
->
psz_action
)
);
#if defined(OSD_MENU_DEBUG)
...
...
@@ -530,14 +530,14 @@ void __osd_MenuDown( vlc_object_t *p_this )
p_button
=
p_osd
->
p_state
->
p_visible
;
if
(
p_button
)
{
if
(
!
p_button
->
b_range
)
if
(
!
p_button
->
b_range
)
{
p_button
->
p_current_state
=
osd_StateChange
(
p_button
->
p_states
,
OSD_BUTTON_SELECT
);
if
(
p_button
->
p_down
)
p_osd
->
p_state
->
p_visible
=
p_button
->
p_down
;
}
if
(
p_button
->
b_range
&&
p_osd
->
p_state
->
p_visible
->
b_range
)
if
(
p_button
->
b_range
&&
p_osd
->
p_state
->
p_visible
->
b_range
)
{
osd_state_t
*
p_temp
=
p_osd
->
p_state
->
p_visible
->
p_current_state
;
if
(
p_temp
&&
p_temp
->
p_prev
)
...
...
@@ -549,7 +549,7 @@ void __osd_MenuDown( vlc_object_t *p_this )
osd_StateChange
(
p_osd
->
p_state
->
p_visible
->
p_states
,
OSD_BUTTON_SELECT
);
}
osd_UpdateState
(
p_osd
->
p_state
,
osd_UpdateState
(
p_osd
->
p_state
,
p_osd
->
p_state
->
p_visible
->
i_x
,
p_osd
->
p_state
->
p_visible
->
i_y
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
,
p_osd
->
p_state
->
p_visible
->
p_current_state
->
p_pic
->
p
[
Y_PLANE
].
i_visible_lines
,
...
...
@@ -558,7 +558,7 @@ void __osd_MenuDown( vlc_object_t *p_this )
/* If this is a range style action with associated images of only one state,
* then perform "menu select" on every menu navigation
*/
if
(
p_button
->
b_range
)
if
(
p_button
->
b_range
)
{
osd_SetKeyPressed
(
VLC_OBJECT
(
p_osd
->
p_libvlc
),
config_GetInt
(
p_osd
,
p_button
->
psz_action_down
)
);
#if defined(OSD_MENU_DEBUG)
...
...
@@ -610,7 +610,7 @@ void __osd_Volume( vlc_object_t *p_this )
vlc_mutex_lock
(
lockval
.
p_address
);
p_button
=
p_osd
->
p_state
->
p_volume
;
if
(
p_osd
->
p_state
->
p_volume
)
if
(
p_osd
->
p_state
->
p_volume
)
p_osd
->
p_state
->
p_visible
=
p_osd
->
p_state
->
p_volume
;
if
(
p_button
&&
p_button
->
b_range
)
{
...
...
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