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
1ebd37d3
Commit
1ebd37d3
authored
May 11, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix color tint change notification (fixes #8612)
parent
6f8cfc40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
modules/gui/macosx/MainWindowTitle.m
modules/gui/macosx/MainWindowTitle.m
+17
-17
No files found.
modules/gui/macosx/MainWindowTitle.m
View file @
1ebd37d3
...
...
@@ -71,23 +71,6 @@
[
self
loadButtonIcons
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
controlTintChanged
:
)
name
:
NSControlTintDidChangeNotification
object
:
nil
];
[
o_red_btn
setImage
:
o_red_img
];
[
o_red_btn
setAlternateImage
:
o_red_on_img
];
[[
o_red_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_red_btn
cell
]
setTag
:
0
];
[
o_yellow_btn
setImage
:
o_yellow_img
];
[
o_yellow_btn
setAlternateImage
:
o_yellow_on_img
];
[[
o_yellow_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_yellow_btn
cell
]
setTag
:
1
];
[
o_green_btn
setImage
:
o_green_img
];
[
o_green_btn
setAlternateImage
:
o_green_on_img
];
[[
o_green_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_green_btn
cell
]
setTag
:
2
];
[
o_fullscreen_btn
setImage
:
[
NSImage
imageNamed
:
@"window-fullscreen"
]];
[
o_fullscreen_btn
setAlternateImage
:
[
NSImage
imageNamed
:
@"window-fullscreen-on"
]];
[[
o_fullscreen_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_fullscreen_btn
cell
]
setTag
:
3
];
}
-
(
void
)
controlTintChanged
:(
NSNotification
*
)
notification
...
...
@@ -158,6 +141,23 @@
o_green_on_img
=
[[
NSImage
imageNamed
:
@"snowleo-window-zoom-on-graphite"
]
retain
];
}
}
[
o_red_btn
setImage
:
o_red_img
];
[
o_red_btn
setAlternateImage
:
o_red_on_img
];
[[
o_red_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_red_btn
cell
]
setTag
:
0
];
[
o_yellow_btn
setImage
:
o_yellow_img
];
[
o_yellow_btn
setAlternateImage
:
o_yellow_on_img
];
[[
o_yellow_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_yellow_btn
cell
]
setTag
:
1
];
[
o_green_btn
setImage
:
o_green_img
];
[
o_green_btn
setAlternateImage
:
o_green_on_img
];
[[
o_green_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_green_btn
cell
]
setTag
:
2
];
[
o_fullscreen_btn
setImage
:
[
NSImage
imageNamed
:
@"window-fullscreen"
]];
[
o_fullscreen_btn
setAlternateImage
:
[
NSImage
imageNamed
:
@"window-fullscreen-on"
]];
[[
o_fullscreen_btn
cell
]
setShowsBorderOnlyWhileMouseInside
:
YES
];
[[
o_fullscreen_btn
cell
]
setTag
:
3
];
}
-
(
BOOL
)
mouseDownCanMoveWindow
...
...
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