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
262f28be
Commit
262f28be
authored
Dec 27, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: added some bits of documentation
parent
105ab7dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
modules/gui/macosx/MainWindowTitle.m
modules/gui/macosx/MainWindowTitle.m
+21
-0
No files found.
modules/gui/macosx/MainWindowTitle.m
View file @
262f28be
...
...
@@ -28,6 +28,10 @@
/*****************************************************************************
* VLCMainWindowTitleView
*
* this is our title bar, which can do anything a title should do
* it relies on the VLCWindowButtonCell to display the correct traffic light
* states, since we can't capture the mouse-moved events here correctly
*****************************************************************************/
@implementation
VLCMainWindowTitleView
...
...
@@ -113,6 +117,14 @@
@end
/*****************************************************************************
* VLCWindowButtonCell
*
* since the title bar cannot fetch these mouse events (the more top-level
* NSButton is unable fetch them as well), we are using a subclass of the
* button cell to do so. It's set in the nib for the respective objects.
*****************************************************************************/
@implementation
VLCWindowButtonCell
-
(
void
)
mouseEntered
:(
NSEvent
*
)
theEvent
...
...
@@ -133,6 +145,15 @@
@end
/*****************************************************************************
* VLCResizeControl
*
* For Leopard and Snow Leopard, we need to emulate the resize control on the
* bottom right of the window, since it is gone by using the borderless window
* mask. A proper fix would be Lion-only.
*****************************************************************************/
@implementation
VLCResizeControl
-
(
void
)
mouseDragged
:(
NSEvent
*
)
theEvent
...
...
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