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
9e4cdfd5
Commit
9e4cdfd5
authored
Dec 12, 2004
by
Benjamin Pracht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Item Info panel works again from playlist context menu
parent
d9bb7326
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
102 deletions
+110
-102
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+2
-0
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+6
-0
modules/gui/macosx/playlistinfo.h
modules/gui/macosx/playlistinfo.h
+4
-4
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+98
-98
No files found.
modules/gui/macosx/playlist.h
View file @
9e4cdfd5
...
@@ -74,5 +74,7 @@
...
@@ -74,5 +74,7 @@
-
(
void
)
appendArray
:(
NSArray
*
)
o_array
atPos
:(
int
)
i_position
enqueue
:(
BOOL
)
b_enqueue
;
-
(
void
)
appendArray
:(
NSArray
*
)
o_array
atPos
:(
int
)
i_position
enqueue
:(
BOOL
)
b_enqueue
;
-
(
playlist_item_t
*
)
selectedPlaylistItem
;
@end
@end
modules/gui/macosx/playlist.m
View file @
9e4cdfd5
...
@@ -593,6 +593,12 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
...
@@ -593,6 +593,12 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
return
(
o_ctx_menu
);
return
(
o_ctx_menu
);
}
}
-
(
playlist_item_t
*
)
selectedPlaylistItem
{
return
[[
o_outline_view
itemAtRow
:
[
o_outline_view
selectedRow
]]
pointerValue
];
}
@end
@end
@implementation
VLCPlaylist
(
NSOutlineViewDataSource
)
@implementation
VLCPlaylist
(
NSOutlineViewDataSource
)
...
...
modules/gui/macosx/playlistinfo.h
View file @
9e4cdfd5
...
@@ -41,8 +41,7 @@
...
@@ -41,8 +41,7 @@
IBOutlet
id
o_btn_add_group
;
IBOutlet
id
o_btn_add_group
;
IBOutlet
id
o_outline_view
;
IBOutlet
id
o_outline_view
;
int
i_item
;
playlist_item_t
*
p_item
;
NSMutableArray
*
o_selected
;
}
}
-
(
IBAction
)
togglePlaylistInfoPanel
:(
id
)
sender
;
-
(
IBAction
)
togglePlaylistInfoPanel
:(
id
)
sender
;
...
@@ -50,7 +49,8 @@
...
@@ -50,7 +49,8 @@
-
(
void
)
initPanel
:(
id
)
sender
;
-
(
void
)
initPanel
:(
id
)
sender
;
-
(
IBAction
)
infoCancel
:(
id
)
sender
;
-
(
IBAction
)
infoCancel
:(
id
)
sender
;
-
(
IBAction
)
infoOk
:(
id
)
sender
;
-
(
IBAction
)
infoOk
:(
id
)
sender
;
-
(
int
)
getItem
;
-
(
playlist_item_t
*
)
getItem
;
-
(
bool
)
isItemInPlaylist
:(
playlist_item_t
*
)
p_item
;
@end
@end
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
NSString
*
o_name
;
NSString
*
o_name
;
NSString
*
o_value
;
NSString
*
o_value
;
int
i_object_id
;
int
i_object_id
;
int
i
_item
;
playlist_item_t
*
p
_item
;
VLCInfoTreeItem
*
o_parent
;
VLCInfoTreeItem
*
o_parent
;
NSMutableArray
*
o_children
;
NSMutableArray
*
o_children
;
}
}
...
...
modules/gui/macosx/playlistinfo.m
View file @
9e4cdfd5
This diff is collapsed.
Click to expand it.
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