Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8a7b94a1
Commit
8a7b94a1
authored
Dec 29, 2007
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed 2 appearance bugs introduced in [23908]
parent
7f4c8080
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
modules/gui/macosx/embeddedwindow.m
modules/gui/macosx/embeddedwindow.m
+9
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-3
No files found.
modules/gui/macosx/embeddedwindow.m
View file @
8a7b94a1
...
...
@@ -77,13 +77,16 @@
-
(
void
)
controlTintChanged
{
BOOL
b_playing
=
NO
;
if
(
[
o_btn_play
alternateImage
]
==
o_img_play_pressed
)
b_playing
=
YES
;
if
(
[
NSColor
currentControlTint
]
==
NSGraphiteControlTint
)
{
o_img_play_pressed
=
[
NSImage
imageNamed
:
@"play_embedded_graphite"
];
o_img_pause_pressed
=
[
NSImage
imageNamed
:
@"pause_embedded_graphite"
];
[
o_btn_backward
setAlternateImage
:
[
NSImage
imageNamed
:
@"skip_previous_embedded_graphite"
]];
[
o_btn_forward
setAlternateImage
:
[
NSImage
imageNamed
:
@"skip_forward_embedded_graphite"
]];
[
o_btn_play
setAlternateImage
:
o_img_play_pressed
];
[
o_btn_fullscreen
setAlternateImage
:
[
NSImage
imageNamed
:
@"fullscreen_graphite"
]];
}
else
...
...
@@ -92,9 +95,13 @@
o_img_pause_pressed
=
[
NSImage
imageNamed
:
@"pause_embedded_blue"
];
[
o_btn_backward
setAlternateImage
:
[
NSImage
imageNamed
:
@"skip_previous_embedded_blue"
]];
[
o_btn_forward
setAlternateImage
:
[
NSImage
imageNamed
:
@"skip_forward_embedded_blue"
]];
[
o_btn_play
setAlternateImage
:
o_img_play_pressed
];
[
o_btn_fullscreen
setAlternateImage
:
[
NSImage
imageNamed
:
@"fullscreen_blue"
]];
}
if
(
b_playing
)
[
o_btn_play
setAlternateImage
:
o_img_play_pressed
];
else
[
o_btn_play
setAlternateImage
:
o_img_pause_pressed
];
}
-
(
void
)
dealloc
...
...
modules/gui/macosx/intf.m
View file @
8a7b94a1
...
...
@@ -562,7 +562,7 @@ static VLCMain *_o_sharedMainInstance = nil;
{
BOOL
b_playing
=
NO
;
if
(
[
o_btn_play
i
mage
]
==
o_img_play_pressed
)
if
(
[
o_btn_play
alternateI
mage
]
==
o_img_play_pressed
)
b_playing
=
YES
;
if
(
[
NSColor
currentControlTint
]
==
NSGraphiteControlTint
)
...
...
@@ -595,9 +595,9 @@ static VLCMain *_o_sharedMainInstance = nil;
}
if
(
b_playing
)
[
o_btn_play
setImage
:
o_img_play_pressed
];
[
o_btn_play
set
Alternate
Image
:
o_img_play_pressed
];
else
[
o_btn_play
setImage
:
o_img_pause_pressed
];
[
o_btn_play
set
Alternate
Image
:
o_img_pause_pressed
];
}
-
(
void
)
initStrings
...
...
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