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
e4c3b44d
Commit
e4c3b44d
authored
Jun 23, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: re-implemented time slider to fit the new style
clean up here and there
parent
2d689e40
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
280 additions
and
138 deletions
+280
-138
extras/package/macosx/Resources/English.lproj/MainMenu.nib/designable.nib
...acosx/Resources/English.lproj/MainMenu.nib/designable.nib
+222
-127
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
...osx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/controls.h
modules/gui/macosx/controls.h
+1
-4
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+5
-6
modules/gui/macosx/misc.h
modules/gui/macosx/misc.h
+15
-1
modules/gui/macosx/misc.m
modules/gui/macosx/misc.m
+37
-0
No files found.
extras/package/macosx/Resources/English.lproj/MainMenu.nib/designable.nib
View file @
e4c3b44d
...
...
@@ -12,10 +12,9 @@
</object>
<object
class=
"NSMutableArray"
key=
"IBDocument.EditedObjectIDs"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<integer
value=
"2
197
"
/>
<integer
value=
"2
4
"
/>
<integer
value=
"2"
/>
<integer
value=
"2417"
/>
<integer
value=
"24"
/>
</object>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
...
@@ -37,7 +36,7 @@
<string
key=
"NSClassName"
>
NSApplication
</string>
</object>
<object
class=
"NSWindowTemplate"
id=
"498338108"
>
<int
key=
"NSWindowStyleMask"
>
15
</int>
<int
key=
"NSWindowStyleMask"
>
4111
</int>
<int
key=
"NSWindowBacking"
>
2
</int>
<string
key=
"NSWindowRect"
>
{{53, 419}, {604, 310}}
</string>
<int
key=
"NSWTFlags"
>
1881670656
</int>
...
...
@@ -83,6 +82,38 @@
</object>
<bool
key=
"NSEditable"
>
YES
</bool>
</object>
<object
class=
"NSImageView"
id=
"21901908"
>
<reference
key=
"NSNextResponder"
ref=
"429932428"
/>
<int
key=
"NSvFlags"
>
290
</int>
<object
class=
"NSMutableSet"
key=
"NSDragTypes"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSArray"
key=
"set.sortedObjects"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<string>
Apple PDF pasteboard type
</string>
<string>
Apple PICT pasteboard type
</string>
<string>
Apple PNG pasteboard type
</string>
<string>
NSFilenamesPboardType
</string>
<string>
NeXT Encapsulated PostScript v1.2 pasteboard type
</string>
<string>
NeXT TIFF v4.0 pasteboard type
</string>
</object>
</object>
<string
key=
"NSFrame"
>
{{223, 10}, {153, 14}}
</string>
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSImageCell"
key=
"NSCell"
id=
"586405807"
>
<int
key=
"NSCellFlags"
>
130560
</int>
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
progression-track-wrapper-middle
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
1
</int>
<int
key=
"NSStyle"
>
0
</int>
<bool
key=
"NSAnimates"
>
NO
</bool>
</object>
<bool
key=
"NSEditable"
>
YES
</bool>
</object>
<object
class=
"NSImageView"
id=
"784705424"
>
<reference
key=
"NSNextResponder"
ref=
"429932428"
/>
<int
key=
"NSvFlags"
>
289
</int>
...
...
@@ -142,7 +173,7 @@
</object>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
stop
_graphite
</string>
<string
key=
"NSResourceName"
>
stop
-pressed
</string>
</object>
<string
key=
"NSAlternateContents"
/>
<object
class=
"NSMutableString"
key=
"NSKeyEquivalent"
>
...
...
@@ -337,7 +368,7 @@
<string
key=
"NSContents"
/>
<reference
key=
"NSSupport"
ref=
"188716167"
/>
<reference
key=
"NSControlView"
ref=
"38046606"
/>
<int
key=
"NSButtonFlags"
>
-931921665
</int>
<int
key=
"NSButtonFlags"
>
141820159
</int>
<int
key=
"NSButtonFlags2"
>
2
</int>
<object
class=
"NSCustomResource"
key=
"NSNormalImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
...
...
@@ -345,7 +376,7 @@
</object>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
e
qualizerdrawer_graphite
</string>
<string
key=
"NSResourceName"
>
e
ffects-double-buttons-pressed
</string>
</object>
<string
key=
"NSAlternateContents"
/>
<object
class=
"NSMutableString"
key=
"NSKeyEquivalent"
>
...
...
@@ -379,7 +410,7 @@
</object>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
play
_graphite
</string>
<string
key=
"NSResourceName"
>
play
-pressed
</string>
</object>
<string
key=
"NSAlternateContents"
/>
<string
key=
"NSKeyEquivalent"
/>
...
...
@@ -403,7 +434,7 @@
<int
key=
"NSfFlags"
>
1044
</int>
</object>
<reference
key=
"NSControlView"
ref=
"291209196"
/>
<int
key=
"NSButtonFlags"
>
-935051009
</int>
<int
key=
"NSButtonFlags"
>
138690815
</int>
<int
key=
"NSButtonFlags2"
>
2
</int>
<object
class=
"NSCustomResource"
key=
"NSNormalImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
...
...
@@ -461,11 +492,11 @@
<reference
key=
"NSControlView"
ref=
"714984330"
/>
<int
key=
"NSButtonFlags"
>
-931921665
</int>
<int
key=
"NSButtonFlags2"
>
2
</int>
<object
class=
"NSCustomResource"
key=
"NSNormalImage"
>
<object
class=
"NSCustomResource"
key=
"NSNormalImage"
id=
"560932515"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
fullscreen-double-buttons
</string>
</object>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
id=
"115283638"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
fullscreen-double-buttons-pressed
</string>
</object>
...
...
@@ -484,7 +515,7 @@
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSSliderCell"
key=
"NSCell"
id=
"276068486"
>
<int
key=
"NSCellFlags"
>
6750
1824
</int>
<int
key=
"NSCellFlags"
>
-207998
1824
</int>
<int
key=
"NSCellFlags2"
>
131072
</int>
<object
class=
"NSMutableString"
key=
"NSContents"
>
<characters
key=
"NS.bytes"
/>
...
...
@@ -846,13 +877,77 @@
</object>
<object
class=
"NSProgressIndicator"
id=
"664576649"
>
<reference
key=
"NSNextResponder"
ref=
"429932428"
/>
<int
key=
"NSvFlags"
>
-21474823
58
</int>
<int
key=
"NSvFlags"
>
-21474823
34
</int>
<object
class=
"NSPSMatrix"
key=
"NSDrawMatrix"
/>
<string
key=
"NSFrame"
>
{{2
19, 12}, {159
, 12}}
</string>
<string
key=
"NSFrame"
>
{{2
22, 11}, {155
, 12}}
</string>
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<int
key=
"NSpiFlags"
>
16650
</int>
<double
key=
"NSMaxValue"
>
100
</double>
</object>
<object
class=
"NSImageView"
id=
"354459361"
>
<reference
key=
"NSNextResponder"
ref=
"429932428"
/>
<int
key=
"NSvFlags"
>
292
</int>
<object
class=
"NSMutableSet"
key=
"NSDragTypes"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSArray"
key=
"set.sortedObjects"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<string>
Apple PDF pasteboard type
</string>
<string>
Apple PICT pasteboard type
</string>
<string>
Apple PNG pasteboard type
</string>
<string>
NSFilenamesPboardType
</string>
<string>
NeXT Encapsulated PostScript v1.2 pasteboard type
</string>
<string>
NeXT TIFF v4.0 pasteboard type
</string>
</object>
</object>
<string
key=
"NSFrame"
>
{{220, 10}, {3, 14}}
</string>
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSImageCell"
key=
"NSCell"
id=
"187033403"
>
<int
key=
"NSCellFlags"
>
130560
</int>
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
progression-track-wrapper-left
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
2
</int>
<int
key=
"NSStyle"
>
0
</int>
<bool
key=
"NSAnimates"
>
NO
</bool>
</object>
<bool
key=
"NSEditable"
>
YES
</bool>
</object>
<object
class=
"NSImageView"
id=
"828712633"
>
<reference
key=
"NSNextResponder"
ref=
"429932428"
/>
<int
key=
"NSvFlags"
>
289
</int>
<object
class=
"NSMutableSet"
key=
"NSDragTypes"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSArray"
key=
"set.sortedObjects"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<string>
Apple PDF pasteboard type
</string>
<string>
Apple PICT pasteboard type
</string>
<string>
Apple PNG pasteboard type
</string>
<string>
NSFilenamesPboardType
</string>
<string>
NeXT Encapsulated PostScript v1.2 pasteboard type
</string>
<string>
NeXT TIFF v4.0 pasteboard type
</string>
</object>
</object>
<string
key=
"NSFrame"
>
{{376, 10}, {3, 14}}
</string>
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSImageCell"
key=
"NSCell"
id=
"41671586"
>
<int
key=
"NSCellFlags"
>
130560
</int>
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
progression-track-wrapper-right
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
2
</int>
<int
key=
"NSStyle"
>
0
</int>
<bool
key=
"NSAnimates"
>
NO
</bool>
</object>
<bool
key=
"NSEditable"
>
YES
</bool>
</object>
</object>
<string
key=
"NSFrameSize"
>
{604, 310}
</string>
<reference
key=
"NSSuperview"
/>
...
...
@@ -860,7 +955,7 @@
<string
key=
"NSScreenRect"
>
{{0, 0}, {1280, 778}}
</string>
<string
key=
"NSMinSize"
>
{400, 222}
</string>
<string
key=
"NSMaxSize"
>
{1.79769e+308, 1.79769e+308}
</string>
<string
key=
"NSFrameAutosaveName"
>
vlc
</string>
<string
key=
"NSFrameAutosaveName"
>
vlc
-10thanniversary
</string>
</object>
<object
class=
"NSMenu"
id=
"782168084"
>
<string
key=
"NSTitle"
>
MainMenu
</string>
...
...
@@ -2711,14 +2806,6 @@
</object>
<string
key=
"NSName"
/>
</object>
<object
class=
"NSCustomView"
id=
"593327595"
>
<reference
key=
"NSNextResponder"
/>
<int
key=
"NSvFlags"
>
274
</int>
<string
key=
"NSFrameSize"
>
{576, 81}
</string>
<reference
key=
"NSSuperview"
/>
<string
key=
"NSClassName"
>
VLBrushedMetalImageView
</string>
<string
key=
"NSExtension"
>
NSImageView
</string>
</object>
<object
class=
"NSWindowTemplate"
id=
"284663135"
>
<int
key=
"NSWindowStyleMask"
>
271
</int>
<int
key=
"NSWindowBacking"
>
2
</int>
...
...
@@ -2846,7 +2933,7 @@
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
display_
middle
</string>
<string
key=
"NSResourceName"
>
mini-progressbar-wrapper-
middle
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
1
</int>
...
...
@@ -2893,14 +2980,8 @@
<reference
key=
"NSControlView"
ref=
"750753776"
/>
<int
key=
"NSButtonFlags"
>
-931921665
</int>
<int
key=
"NSButtonFlags2"
>
2
</int>
<object
class=
"NSCustomResource"
key=
"NSNormalImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
fullscreen_active
</string>
</object>
<object
class=
"NSCustomResource"
key=
"NSAlternateImage"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
fullscreen_graphite
</string>
</object>
<reference
key=
"NSNormalImage"
ref=
"560932515"
/>
<reference
key=
"NSAlternateImage"
ref=
"115283638"
/>
<string
key=
"NSAlternateContents"
/>
<object
class=
"NSMutableString"
key=
"NSKeyEquivalent"
>
<characters
key=
"NS.bytes"
/>
...
...
@@ -2932,10 +3013,10 @@
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
display_
left
</string>
<string
key=
"NSResourceName"
>
mini-progressbar-wrapper-
left
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
0
</int>
<int
key=
"NSScale"
>
1
</int>
<int
key=
"NSStyle"
>
0
</int>
<bool
key=
"NSAnimates"
>
NO
</bool>
</object>
...
...
@@ -2964,10 +3045,10 @@
<int
key=
"NSCellFlags2"
>
33554432
</int>
<object
class=
"NSCustomResource"
key=
"NSContents"
>
<string
key=
"NSClassName"
>
NSImage
</string>
<string
key=
"NSResourceName"
>
display_
right
</string>
<string
key=
"NSResourceName"
>
mini-progressbar-wrapper-
right
</string>
</object>
<int
key=
"NSAlign"
>
0
</int>
<int
key=
"NSScale"
>
0
</int>
<int
key=
"NSScale"
>
1
</int>
<int
key=
"NSStyle"
>
0
</int>
<bool
key=
"NSAnimates"
>
NO
</bool>
</object>
...
...
@@ -5177,14 +5258,6 @@ LCAuLi4</string>
</object>
<int
key=
"connectionID"
>
2135
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_random_ckb
</string>
<reference
key=
"source"
ref=
"998338913"
/>
<reference
key=
"destination"
ref=
"291209196"
/>
</object>
<int
key=
"connectionID"
>
2223
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_mi_save_playlist
</string>
...
...
@@ -5377,22 +5450,6 @@ LCAuLi4</string>
</object>
<int
key=
"connectionID"
>
2283
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_playlist_view
</string>
<reference
key=
"source"
ref=
"199714555"
/>
<reference
key=
"destination"
ref=
"593327595"
/>
</object>
<int
key=
"connectionID"
>
2289
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_playlist_view
</string>
<reference
key=
"source"
ref=
"998338913"
/>
<reference
key=
"destination"
ref=
"593327595"
/>
</object>
<int
key=
"connectionID"
>
2290
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_mm_mi_services
</string>
...
...
@@ -6225,14 +6282,6 @@ LCAuLi4</string>
</object>
<int
key=
"connectionID"
>
3696
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_btn_equalizer
</string>
<reference
key=
"source"
ref=
"199714555"
/>
<reference
key=
"destination"
ref=
"38046606"
/>
</object>
<int
key=
"connectionID"
>
3697
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
o_main_pgbar
</string>
...
...
@@ -6809,8 +6858,11 @@ LCAuLi4</string>
<reference
ref=
"596740638"
/>
<reference
ref=
"915491793"
/>
<reference
ref=
"704525034"
/>
<reference
ref=
"664576649"
/>
<reference
ref=
"1041205852"
/>
<reference
ref=
"828712633"
/>
<reference
ref=
"354459361"
/>
<reference
ref=
"21901908"
/>
<reference
ref=
"664576649"
/>
</object>
<reference
key=
"parent"
ref=
"498338108"
/>
</object>
...
...
@@ -8140,15 +8192,6 @@ LCAuLi4</string>
<reference
key=
"object"
ref=
"942779567"
/>
<reference
key=
"parent"
ref=
"47559826"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2197
</int>
<reference
key=
"object"
ref=
"593327595"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
</object>
<reference
key=
"parent"
ref=
"0"
/>
<string
key=
"objectName"
>
Playlist
</string>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2416
</int>
<reference
key=
"object"
ref=
"284663135"
/>
...
...
@@ -8167,13 +8210,13 @@ LCAuLi4</string>
<reference
ref=
"975829996"
/>
<reference
ref=
"545549073"
/>
<reference
ref=
"802390514"
/>
<reference
ref=
"266027916"
/>
<reference
ref=
"262403346"
/>
<reference
ref=
"400811827"
/>
<reference
ref=
"750753776"
/>
<reference
ref=
"627102071"
/>
<reference
ref=
"528539871"
/>
<reference
ref=
"645169405"
/>
<reference
ref=
"266027916"
/>
</object>
<reference
key=
"parent"
ref=
"284663135"
/>
</object>
...
...
@@ -9266,6 +9309,48 @@ LCAuLi4</string>
<reference
key=
"object"
ref=
"360339763"
/>
<reference
key=
"parent"
ref=
"1041205852"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4434
</int>
<reference
key=
"object"
ref=
"354459361"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"187033403"
/>
</object>
<reference
key=
"parent"
ref=
"429932428"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4435
</int>
<reference
key=
"object"
ref=
"187033403"
/>
<reference
key=
"parent"
ref=
"354459361"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4436
</int>
<reference
key=
"object"
ref=
"828712633"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"41671586"
/>
</object>
<reference
key=
"parent"
ref=
"429932428"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4437
</int>
<reference
key=
"object"
ref=
"41671586"
/>
<reference
key=
"parent"
ref=
"828712633"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4438
</int>
<reference
key=
"object"
ref=
"21901908"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"586405807"
/>
</object>
<reference
key=
"parent"
ref=
"429932428"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4439
</int>
<reference
key=
"object"
ref=
"586405807"
/>
<reference
key=
"parent"
ref=
"21901908"
/>
</object>
</object>
</object>
<object
class=
"NSMutableDictionary"
key=
"flattenedProperties"
>
...
...
@@ -9462,9 +9547,6 @@ LCAuLi4</string>
<string>
2133.ImportedFromIB2
</string>
<string>
217.IBPluginDependency
</string>
<string>
217.ImportedFromIB2
</string>
<string>
2197.IBEditorWindowLastContentRect
</string>
<string>
2197.IBPluginDependency
</string>
<string>
2197.ImportedFromIB2
</string>
<string>
2208.IBPluginDependency
</string>
<string>
2208.IBViewBoundsToFrameTransform
</string>
<string>
2208.ImportedFromIB2
</string>
...
...
@@ -9542,6 +9624,7 @@ LCAuLi4</string>
<string>
2420.ImportedFromIB2
</string>
<string>
2421.CustomClassName
</string>
<string>
2421.IBPluginDependency
</string>
<string>
2421.IBViewBoundsToFrameTransform
</string>
<string>
2421.ImportedFromIB2
</string>
<string>
2422.CustomClassName
</string>
<string>
2422.IBPluginDependency
</string>
...
...
@@ -9923,9 +10006,19 @@ LCAuLi4</string>
<string>
4423.ImportedFromIB2
</string>
<string>
4424.IBPluginDependency
</string>
<string>
4425.IBPluginDependency
</string>
<string>
4432.CustomClassName
</string>
<string>
4432.IBPluginDependency
</string>
<string>
4432.IBViewBoundsToFrameTransform
</string>
<string>
4433.IBPluginDependency
</string>
<string>
4434.IBPluginDependency
</string>
<string>
4434.IBViewBoundsToFrameTransform
</string>
<string>
4435.IBPluginDependency
</string>
<string>
4436.IBPluginDependency
</string>
<string>
4436.IBViewBoundsToFrameTransform
</string>
<string>
4437.IBPluginDependency
</string>
<string>
4438.IBPluginDependency
</string>
<string>
4438.IBViewBoundsToFrameTransform
</string>
<string>
4439.IBPluginDependency
</string>
<string>
446.IBPluginDependency
</string>
<string>
446.ImportedFromIB2
</string>
<string>
5.IBPluginDependency
</string>
...
...
@@ -10167,9 +10260,6 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
{{400, 389}, {576, 81}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABDagAAwiwAAA
</bytes>
...
...
@@ -10249,6 +10339,9 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
VLBrushedMetalImageView
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AUMeAABAgAAAA
</bytes>
</object>
<boolean
value=
"YES"
/>
<string>
VLCTimeField
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -10315,7 +10408,7 @@ LCAuLi4</string>
<string>
{{756, 528}, {64, 6}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
{{
84
, 613}, {488, 40}}
</string>
<string>
{{
340
, 613}, {488, 40}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -10430,7 +10523,7 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
WwAAwiA
AAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
YAAAwgg
AAA
</bytes>
</object>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -10604,7 +10697,7 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAA
BBAAAAwv4
AAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAA
C/gAAAw42
AAA
</bytes>
</object>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -10656,7 +10749,7 @@ LCAuLi4</string>
</object>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
MP
Slider
</string>
<string>
TimeLine
Slider
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABDXAAAwbgAAA
</bytes>
...
...
@@ -10670,12 +10763,28 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
VLBrushedMetalImageView
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AUOvgABBqAAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AUNNAABDkAAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AUOKgABDkAAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AUNiAABCMAAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
...
...
@@ -10741,7 +10850,7 @@ LCAuLi4</string>
</object>
</object>
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
443
3
</int>
<int
key=
"maxID"
>
443
9
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<object
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
...
...
@@ -10787,6 +10896,11 @@ LCAuLi4</string>
<string
key=
"minorKey"
>
../../../modules/gui/macosx/SPMediaKeyTap.h
</string>
</object>
</object>
<object
class=
"IBPartialClassDescription"
>
<string
key=
"className"
>
TimeLineSlider
</string>
<string
key=
"superclassName"
>
NSSlider
</string>
<reference
key=
"sourceIdentifier"
ref=
"634186652"
/>
</object>
<object
class=
"IBPartialClassDescription"
>
<string
key=
"className"
>
VLBrushedMetalImageView
</string>
<string
key=
"superclassName"
>
NSImageView
</string>
...
...
@@ -11236,11 +11350,8 @@ LCAuLi4</string>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSArray"
key=
"dict.sortedKeys"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<string>
o_btn_addNode
</string>
<string>
o_btn_repeat
</string>
<string>
o_btn_repeat_embed
</string>
<string>
o_btn_shuffle
</string>
<string>
o_btn_shuffle_embed
</string>
<string>
o_main
</string>
<string>
o_specificTime_cancel_btn
</string>
<string>
o_specificTime_enter_fld
</string>
...
...
@@ -11266,20 +11377,14 @@ LCAuLi4</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
<string>
id
</string>
</object>
</object>
<object
class=
"NSMutableDictionary"
key=
"toOneOutletInfosByName"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSArray"
key=
"dict.sortedKeys"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<string>
o_btn_addNode
</string>
<string>
o_btn_repeat
</string>
<string>
o_btn_repeat_embed
</string>
<string>
o_btn_shuffle
</string>
<string>
o_btn_shuffle_embed
</string>
<string>
o_main
</string>
<string>
o_specificTime_cancel_btn
</string>
<string>
o_specificTime_enter_fld
</string>
...
...
@@ -11293,26 +11398,14 @@ LCAuLi4</string>
</object>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_btn_addNode
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_btn_repeat
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_btn_repeat_embed
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_btn_shuffle
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_btn_shuffle_embed
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBToOneOutletInfo"
>
<string
key=
"name"
>
o_main
</string>
<string
key=
"candidateClassName"
>
id
</string>
...
...
@@ -14459,11 +14552,8 @@ LCAuLi4</string>
<string>
back
</string>
<string>
back-pressed
</string>
<string>
bottom-background
</string>
<string>
display_left
</string>
<string>
display_middle
</string>
<string>
display_right
</string>
<string>
effects-double-buttons
</string>
<string>
e
qualizerdrawer_graphite
</string>
<string>
e
ffects-double-buttons-pressed
</string>
<string>
forward
</string>
<string>
forward-pressed
</string>
<string>
fs_background
</string>
...
...
@@ -14479,14 +14569,18 @@ LCAuLi4</string>
<string>
fs_volume_slider_bar
</string>
<string>
fullscreen-double-buttons
</string>
<string>
fullscreen-double-buttons-pressed
</string>
<string>
fullscreen_active
</string>
<string>
fullscreen_graphite
</string>
<string>
mini-progressbar-wrapper-left
</string>
<string>
mini-progressbar-wrapper-middle
</string>
<string>
mini-progressbar-wrapper-right
</string>
<string>
pause_embedded
</string>
<string>
pause_embedded_graphite
</string>
<string>
play
</string>
<string>
play
_graphite
</string>
<string>
play
-pressed
</string>
<string>
playlist
</string>
<string>
playlist-blue
</string>
<string>
progression-track-wrapper-left
</string>
<string>
progression-track-wrapper-middle
</string>
<string>
progression-track-wrapper-right
</string>
<string>
repeat
</string>
<string>
repeat-pressed
</string>
<string>
shuffle
</string>
...
...
@@ -14496,7 +14590,7 @@ LCAuLi4</string>
<string>
skip_previous_active_embedded
</string>
<string>
skip_previous_embedded_graphite
</string>
<string>
stop
</string>
<string>
stop
_graphite
</string>
<string>
stop
-pressed
</string>
<string>
volume-high
</string>
<string>
volume-low
</string>
<string>
volumetrack
</string>
...
...
@@ -14508,12 +14602,9 @@ LCAuLi4</string>
<string>
{7, 2}
</string>
<string>
{35, 23}
</string>
<string>
{35, 23}
</string>
<string>
{1.44005, 8.64029}
</string>
<string>
{8, 36}
</string>
<string>
{8, 36}
</string>
<string>
{8, 36}
</string>
<string>
{1.44005, 8.40028}
</string>
<string>
{29, 23}
</string>
<string>
{29, 23}
</string>
<string>
{33, 20}
</string>
<string>
{35, 23}
</string>
<string>
{35, 23}
</string>
<string>
{549, 87}
</string>
...
...
@@ -14529,14 +14620,18 @@ LCAuLi4</string>
<string>
{95, 2}
</string>
<string>
{29, 23}
</string>
<string>
{29, 23}
</string>
<string>
{33, 20}
</string>
<string>
{33, 20}
</string>
<string>
{3, 14}
</string>
<string>
{3, 14}
</string>
<string>
{3, 14}
</string>
<string>
{33, 20}
</string>
<string>
{33, 20}
</string>
<string>
{29, 30}
</string>
<string>
{
39, 39
}
</string>
<string>
{
29, 30
}
</string>
<string>
{512, 512}
</string>
<string>
{28, 23}
</string>
<string>
{3, 14}
</string>
<string>
{3, 14}
</string>
<string>
{3, 14}
</string>
<string>
{28, 23}
</string>
<string>
{28, 23}
</string>
<string>
{29, 23}
</string>
...
...
@@ -14546,7 +14641,7 @@ LCAuLi4</string>
<string>
{33, 20}
</string>
<string>
{33, 20}
</string>
<string>
{29, 23}
</string>
<string>
{
33, 20
}
</string>
<string>
{
29, 23
}
</string>
<string>
{10, 9}
</string>
<string>
{8, 9}
</string>
<string>
{75, 4}
</string>
...
...
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
View file @
e4c3b44d
No preview for this file type
modules/gui/macosx/controls.h
View file @
e4c3b44d
...
...
@@ -35,11 +35,8 @@
IBOutlet
id
o_volumeslider
;
IBOutlet
id
o_btn_shuffle
;
IBOutlet
id
o_btn_addNode
;
IBOutlet
id
o_btn_repeat
;
IBOutlet
id
o_btn_repeat_embed
;
IBOutlet
id
o_btn_shuffle_embed
;
IBOutlet
id
o_btn_shuffle
;
IBOutlet
id
o_specificTime_cancel_btn
;
IBOutlet
id
o_specificTime_enter_fld
;
...
...
modules/gui/macosx/controls.m
View file @
e4c3b44d
...
...
@@ -174,6 +174,7 @@
//vout_OSDMessage( p_intf, SPU_DEFAULT_CHANNEL, "%s", _( "Random Off" ) );
config_PutInt
(
p_playlist
,
"random"
,
0
);
}
[
self
shuffle
];
p_intf
->
p_sys
->
b_playmode_update
=
true
;
p_intf
->
p_sys
->
b_intf_update
=
true
;
...
...
@@ -200,17 +201,15 @@
vlc_value_t
val
;
playlist_t
*
p_playlist
=
pl_Get
(
VLCIntf
);
var_Get
(
p_playlist
,
"random"
,
&
val
);
[
o_btn_shuffle
setState
:
val
.
b_bool
];
if
(
val
.
b_bool
)
{
[
o_btn_shuffle
_embed
setImage
:
[
NSImage
imageNamed
:
@"shuffle-on"
]];
[
o_btn_shuffle
_embed
setAlternativ
eImage
:
[
NSImage
imageNamed
:
@"shuffle-blue-pressed"
]];
[
o_btn_shuffle
setImage
:
[
NSImage
imageNamed
:
@"shuffle-on"
]];
[
o_btn_shuffle
setAlternat
eImage
:
[
NSImage
imageNamed
:
@"shuffle-blue-pressed"
]];
}
else
{
[
o_btn_shuffle
_embed
setImage
:
[
NSImage
imageNamed
:
@"shuffle"
]];
[
o_btn_shuffle
_embed
set
Image
:
[
NSImage
imageNamed
:
@"shuffle-pressed"
]];
[
o_btn_shuffle
setImage
:
[
NSImage
imageNamed
:
@"shuffle"
]];
[
o_btn_shuffle
setAlternate
Image
:
[
NSImage
imageNamed
:
@"shuffle-pressed"
]];
}
}
-
(
IBAction
)
repeatButtonAction
:(
id
)
sender
...
...
modules/gui/macosx/misc.h
View file @
e4c3b44d
/*****************************************************************************
* misc.h: code not specific to vlc
*****************************************************************************
* Copyright (C) 2003-20
07
the VideoLAN team
* Copyright (C) 2003-20
11
the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Felix Paul Kühne <fkuehne at videolan dot org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -130,6 +131,19 @@
@end
/*****************************************************************************
* TimeLineSlider
*****************************************************************************/
@interface
TimeLineSlider
:
NSSlider
{
}
-
(
void
)
drawRect
:(
NSRect
)
rect
;
-
(
void
)
drawKnobInRect
:(
NSRect
)
knobRect
;
@end
/*****************************************************************************
* ITSlider
*****************************************************************************/
...
...
modules/gui/macosx/misc.m
View file @
e4c3b44d
...
...
@@ -434,6 +434,9 @@ static NSMutableArray *blackoutWindows = NULL;
}
*/
/* we want to be moveable regardless of our style */
[
self
setMovableByWindowBackground
:
YES
];
/* we don't want this window to be restored on relaunch */
if
([
self
respondsToSelector
:
@selector
(
setRestorable
:)])
[
self
setRestorable
:
NO
];
...
...
@@ -688,6 +691,40 @@ void _drawFrameInRect(NSRect frameRect)
@end
/*****************************************************************************
* TimeLineSlider
*****************************************************************************/
@implementation
TimeLineSlider
-
(
void
)
drawKnobInRect
:(
NSRect
)
knobRect
{
NSRect
image_rect
;
NSImage
*
img
=
[
NSImage
imageNamed
:
@"progression-knob"
];
image_rect
.
size
=
[
img
size
];
image_rect
.
origin
.
x
=
0
;
image_rect
.
origin
.
y
=
0
;
knobRect
.
origin
.
x
+=
(
knobRect
.
size
.
width
-
image_rect
.
size
.
width
)
/
2
;
knobRect
.
size
.
width
=
image_rect
.
size
.
width
;
knobRect
.
size
.
height
=
image_rect
.
size
.
height
;
[
img
drawInRect
:
knobRect
fromRect
:
image_rect
operation
:
NSCompositeSourceOver
fraction
:
1
];
}
-
(
void
)
drawRect
:(
NSRect
)
rect
{
/* Draw default to make sure the slider behaves correctly */
[[
NSGraphicsContext
currentContext
]
saveGraphicsState
];
NSRectClip
(
NSZeroRect
);
[
super
drawRect
:
rect
];
[[
NSGraphicsContext
currentContext
]
restoreGraphicsState
];
NSRect
knobRect
=
[[
self
cell
]
knobRectFlipped
:
NO
];
knobRect
.
origin
.
y
+=
1
;
// [[[NSColor blackColor] colorWithAlphaComponent:0.6] set];
[
self
drawKnobInRect
:
knobRect
];
}
@end
/*****************************************************************************
* ITSlider
...
...
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