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
303a0508
Commit
303a0508
authored
Jun 01, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: added ui skeleton for to customize a profile
parent
f2f9b875
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3280 additions
and
133 deletions
+3280
-133
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
...package/macosx/Resources/English.lproj/ConvertAndSave.xib
+3236
-132
modules/gui/macosx/ConvertAndSave.h
modules/gui/macosx/ConvertAndSave.h
+35
-0
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+9
-1
No files found.
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
View file @
303a0508
This source diff could not be displayed because it is too large. You can
view the blob
instead.
modules/gui/macosx/ConvertAndSave.h
View file @
303a0508
...
...
@@ -48,6 +48,40 @@
IBOutlet
id
_dropin_icon_view
;
IBOutlet
id
_dropin_media_lbl
;
IBOutlet
id
_customize_panel
;
IBOutlet
id
_customize_ok_btn
;
IBOutlet
id
_customize_cancel_btn
;
IBOutlet
id
_customize_encap_matrix
;
IBOutlet
id
_customize_vid_ckb
;
IBOutlet
id
_customize_vid_keep_ckb
;
IBOutlet
id
_customize_vid_codec_lbl
;
IBOutlet
id
_customize_vid_codec_pop
;
IBOutlet
id
_customize_vid_bitrate_lbl
;
IBOutlet
id
_customize_vid_bitrate_fld
;
IBOutlet
id
_customize_vid_framerate_lbl
;
IBOutlet
id
_customize_vid_framerate_fld
;
IBOutlet
id
_customize_vid_res_box
;
IBOutlet
id
_customize_vid_res_lbl
;
IBOutlet
id
_customize_vid_width_lbl
;
IBOutlet
id
_customize_vid_width_fld
;
IBOutlet
id
_customize_vid_height_lbl
;
IBOutlet
id
_customize_vid_height_fld
;
IBOutlet
id
_customize_vid_scale_lbl
;
IBOutlet
id
_customize_vid_scale_fld
;
IBOutlet
id
_customize_aud_ckb
;
IBOutlet
id
_customize_aud_keep_ckb
;
IBOutlet
id
_customize_aud_codec_lbl
;
IBOutlet
id
_customize_aud_codec_pop
;
IBOutlet
id
_customize_aud_bitrate_lbl
;
IBOutlet
id
_customize_aud_bitrate_fld
;
IBOutlet
id
_customize_aud_channels_lbl
;
IBOutlet
id
_customize_aud_channels_fld
;
IBOutlet
id
_customize_aud_samplerate_lbl
;
IBOutlet
id
_customize_aud_samplerate_pop
;
IBOutlet
id
_customize_subs_ckb
;
IBOutlet
id
_customize_subs_pop
;
IBOutlet
id
_customize_subs_overlay_ckb
;
NSString
*
_MRL
;
NSString
*
_outputDestination
;
}
...
...
@@ -62,6 +96,7 @@
-
(
IBAction
)
openMedia
:(
id
)
sender
;
-
(
IBAction
)
profileSelection
:(
id
)
sender
;
-
(
IBAction
)
customizeProfile
:(
id
)
sender
;
-
(
IBAction
)
closeCustomizationSheet
:(
id
)
sender
;
-
(
IBAction
)
chooseDestination
:(
id
)
sender
;
-
(
void
)
updateDropView
;
...
...
modules/gui/macosx/ConvertAndSave.m
View file @
303a0508
...
...
@@ -153,6 +153,14 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
-
(
IBAction
)
customizeProfile
:(
id
)
sender
{
[
NSApp
beginSheet
:
_customize_panel
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
NULL
contextInfo
:
nil
];
}
-
(
IBAction
)
closeCustomizationSheet
:(
id
)
sender
{
// sender == _customize_ok_btn ?
[
_customize_panel
orderOut
:
sender
];
[
NSApp
endSheet
:
_customize_panel
];
}
-
(
IBAction
)
chooseDestination
:(
id
)
sender
...
...
@@ -160,7 +168,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
NSSavePanel
*
saveFilePanel
=
[[
NSSavePanel
alloc
]
init
];
[
saveFilePanel
setCanSelectHiddenExtension
:
YES
];
[
saveFilePanel
setCanCreateDirectories
:
YES
];
[
saveFilePanel
beginSheetForDirectory
:
nil
file
:
nil
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
@selector
(
savePanelDidEnd
:
returnCode
:
contextInfo
:
)
contextInfo
:
nil
];
[
saveFilePanel
beginSheetForDirectory
:
nil
file
:
nil
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
@selector
(
savePanelDidEnd
:
returnCode
:
contextInfo
:
)
contextInfo
:
nil
];
}
-
(
void
)
savePanelDidEnd
:(
NSSavePanel
*
)
sheet
returnCode
:(
int
)
returnCode
contextInfo
:(
void
*
)
contextInfo
...
...
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