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
c62a73d1
Commit
c62a73d1
authored
Feb 03, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: resized to the open dialogue again and cleaned-up the screen input section
parent
c5f610c9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
253 additions
and
422 deletions
+253
-422
extras/package/macosx/Resources/English.lproj/Open.nib/classes.nib
...ckage/macosx/Resources/English.lproj/Open.nib/classes.nib
+212
-403
extras/package/macosx/Resources/English.lproj/Open.nib/info.nib
.../package/macosx/Resources/English.lproj/Open.nib/info.nib
+16
-2
extras/package/macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
.../macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/open.h
modules/gui/macosx/open.h
+8
-3
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+17
-14
No files found.
extras/package/macosx/Resources/English.lproj/Open.nib/classes.nib
View file @
c62a73d1
This diff is collapsed.
Click to expand it.
extras/package/macosx/Resources/English.lproj/Open.nib/info.nib
View file @
c62a73d1
...
...
@@ -2,14 +2,28 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
IBDocumentLocation
</key>
<string>
171 127 356 240 0 0 1280 778
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
2297
</key>
<string>
366 400 548 264 0 0 1280 778
</string>
<key>
2301
</key>
<string>
366 417 548 264 0 0 1280 778
</string>
<key>
2304
</key>
<string>
366 380 547 264 0 0 1280 778
</string>
<key>
2346
</key>
<string>
366 400 548 264 0 0 1280 778
</string>
</dict>
<key>
IBFramework Version
</key>
<string>
677
</string>
<string>
489.0
</string>
<key>
IBOldestOS
</key>
<integer>
5
</integer>
<key>
IBOpenObjects
</key>
<array>
<integer>
6
78
</integer>
<integer>
6
36
</integer>
<integer>
2346
</integer>
<integer>
2297
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
9G55
</string>
...
...
extras/package/macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
View file @
c62a73d1
No preview for this file type
modules/gui/macosx/open.h
View file @
c62a73d1
...
...
@@ -123,23 +123,28 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class );
/* screen support */
IBOutlet
id
o_screen_view
;
IBOutlet
id
o_screen_fps_fld
;
IBOutlet
id
o_screen_lbl
;
IBOutlet
id
o_screen_long_lbl
;
IBOutlet
id
o_screen_fps_
stp
;
IBOutlet
id
o_screen_fps_
fld
;
IBOutlet
id
o_screen_fps_lbl
;
IBOutlet
id
o_screen_fps_stp
;
IBOutlet
id
o_screen_left_fld
;
IBOutlet
id
o_screen_left_lbl
;
IBOutlet
id
o_screen_left_stp
;
IBOutlet
id
o_screen_top_fld
;
IBOutlet
id
o_screen_top_lbl
;
IBOutlet
id
o_screen_top_stp
;
IBOutlet
id
o_screen_width_fld
;
IBOutlet
id
o_screen_width_lbl
;
IBOutlet
id
o_screen_width_stp
;
IBOutlet
id
o_screen_height_fld
;
IBOutlet
id
o_screen_height_lbl
;
IBOutlet
id
o_screen_follow_mouse_btn
;
IBOutlet
id
o_screen_height_stp
;
IBOutlet
id
o_screen_follow_mouse_ckb
;
BOOL
b_autoplay
;
id
o_currentCaptureView
;
intf_thread_t
*
p_intf
;
}
+
(
VLCOpen
*
)
sharedInstance
;
...
...
modules/gui/macosx/open.m
View file @
c62a73d1
...
...
@@ -152,6 +152,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
self
dealloc
];
}
else
{
_o_sharedMainInstance
=
[
super
init
];
p_intf
=
VLCIntf
;
}
return
_o_sharedMainInstance
;
...
...
@@ -159,8 +160,6 @@ static VLCOpen *_o_sharedMainInstance = nil;
-
(
void
)
awakeFromNib
{
intf_thread_t
*
p_intf
=
VLCIntf
;
[
o_panel
setTitle
:
_NS
(
"Open Source"
)];
[
o_mrl_lbl
setTitle
:
_NS
(
"Media Resource Locator (MRL)"
)];
...
...
@@ -283,7 +282,6 @@ static VLCOpen *_o_sharedMainInstance = nil;
-
(
void
)
setSubPanel
{
intf_thread_t
*
p_intf
=
VLCIntf
;
int
i_index
;
module_config_t
*
p_item
;
...
...
@@ -352,7 +350,6 @@ static VLCOpen *_o_sharedMainInstance = nil;
-
(
void
)
openTarget
:(
int
)
i_type
{
int
i_result
;
intf_thread_t
*
p_intf
=
VLCIntf
;
b_autoplay
=
config_GetInt
(
VLCIntf
,
"macosx-autoplay"
);
...
...
@@ -412,14 +409,15 @@ static VLCOpen *_o_sharedMainInstance = nil;
if
(
[[[
o_tabview
selectedTabViewItem
]
label
]
isEqualToString
:
_NS
(
"Capture"
)]
)
{
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
_NS
(
"Screen"
)]
)
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-fps=%
i"
,
[
o_screen_fps_fld
in
tValue
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-fps=%
f"
,
[
o_screen_fps_fld
floa
tValue
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-left=%i"
,
[
o_screen_left_fld
intValue
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-top=%i"
,
[
o_screen_top_fld
intValue
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-width=%i"
,
[
o_screen_width_fld
intValue
]]];
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-height=%i"
,
[
o_screen_height_fld
intValue
]]];
if
([
o_screen_follow_mouse_btn
state
])
{
[
o_options
addObject
:
@"screen-follow-mouse"
];
}
if
(
[
o_screen_follow_mouse_ckb
intValue
]
==
YES
)
[
o_options
addObject
:
@"screen-follow-mouse"
];
else
[
o_options
addObject
:
@"no-screen-follow-mouse"
];
}
/* apply the options to our item(s) */
...
...
@@ -490,7 +488,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
if
(
b_dir
)
{
o_mrl_string
=
[
NSString
stringWithFormat
:
@"directory://%@"
,
o_filename
];
o_mrl_string
=
[
NSString
stringWithFormat
:
@"directory://%@
/
"
,
o_filename
];
}
else
if
(
[
o_ext
isEqualToString
:
@"bin"
]
||
[
o_ext
isEqualToString
:
@"cue"
]
||
...
...
@@ -768,7 +766,6 @@ static VLCOpen *_o_sharedMainInstance = nil;
{
NSString
*
o_mode
;
NSString
*
o_mrl_string
=
[
NSString
string
];
intf_thread_t
*
p_intf
=
VLCIntf
;
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
...
...
@@ -850,7 +847,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
o_currentCaptureView
removeFromSuperviewWithoutNeedingDisplay
];
[
o_currentCaptureView
release
];
}
[
theView
setFrame
:
NSMakeRect
(
0
,
10
,
o_view_rect
.
size
.
width
,
o_view_rect
.
size
.
height
)];
[
theView
setFrame
:
NSMakeRect
(
0
,
-
10
,
o_view_rect
.
size
.
width
,
o_view_rect
.
size
.
height
)];
[
theView
setNeedsDisplay
:
YES
];
[
theView
setAutoresizesSubviews
:
YES
];
[[[
o_tabview
tabViewItemAtIndex
:
3
]
view
]
addSubview
:
theView
];
...
...
@@ -883,6 +880,12 @@ static VLCOpen *_o_sharedMainInstance = nil;
{
[
self
showCaptureView
:
o_screen_view
];
[
o_mrl
setStringValue
:
@"screen://"
];
[
o_screen_height_fld
setIntValue
:
config_GetInt
(
p_intf
,
"screen-height"
)];
[
o_screen_width_fld
setIntValue
:
config_GetInt
(
p_intf
,
"screen-width"
)];
[
o_screen_fps_fld
setFloatValue
:
config_GetFloat
(
p_intf
,
"screen-fps"
)];
[
o_screen_left_fld
setIntValue
:
config_GetInt
(
p_intf
,
"screen-left"
)];
[
o_screen_top_fld
setIntValue
:
config_GetInt
(
p_intf
,
"screen-top"
)];
[
o_screen_follow_mouse_ckb
setIntValue
:
config_GetInt
(
p_intf
,
"screen-follow-mouse"
)];
}
else
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
@"iSight"
]
)
{
...
...
@@ -898,16 +901,16 @@ static VLCOpen *_o_sharedMainInstance = nil;
-
(
IBAction
)
screenStepperChanged
:(
id
)
sender
{
[
o_screen_fps_fld
set
IntValue
:
[
o_screen_fps_stp
in
tValue
]];
[
o_screen_fps_fld
set
FloatValue
:
[
o_screen_fps_stp
floa
tValue
]];
[
o_panel
makeFirstResponder
:
o_screen_fps_fld
];
[
o_mrl
setStringValue
:
@"screen://"
];
}
-
(
void
)
screenFPSfieldChanged
:(
NSNotification
*
)
o_notification
{
[
o_screen_fps_stp
set
IntValue
:
[
o_screen_fps_fld
in
tValue
]];
[
o_screen_fps_stp
set
FloatValue
:
[
o_screen_fps_fld
floa
tValue
]];
if
(
[[
o_screen_fps_fld
stringValue
]
isEqualToString
:
@""
]
)
[
o_screen_fps_fld
set
IntValue
:
1
];
[
o_screen_fps_fld
set
FloatValue
:
1
.
0
];
[
o_mrl
setStringValue
:
@"screen://"
];
}
...
...
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