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
cec394f2
Commit
cec394f2
authored
Apr 30, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove obsolete puzzle black box checkbox
parent
6c3f3309
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
91 deletions
+20
-91
extras/package/macosx/Resources/English.lproj/VideoEffects.xib
...s/package/macosx/Resources/English.lproj/VideoEffects.xib
+18
-82
modules/gui/macosx/VideoEffects.h
modules/gui/macosx/VideoEffects.h
+0
-1
modules/gui/macosx/VideoEffects.m
modules/gui/macosx/VideoEffects.m
+2
-8
No files found.
extras/package/macosx/Resources/English.lproj/VideoEffects.xib
View file @
cec394f2
This diff is collapsed.
Click to expand it.
modules/gui/macosx/VideoEffects.h
View file @
cec394f2
...
@@ -82,7 +82,6 @@
...
@@ -82,7 +82,6 @@
IBOutlet
id
o_puzzle_columns_lbl
;
IBOutlet
id
o_puzzle_columns_lbl
;
IBOutlet
id
o_puzzle_columns_fld
;
IBOutlet
id
o_puzzle_columns_fld
;
IBOutlet
id
o_puzzle_columns_stp
;
IBOutlet
id
o_puzzle_columns_stp
;
IBOutlet
id
o_puzzle_blackslot_ckb
;
IBOutlet
id
o_clone_ckb
;
IBOutlet
id
o_clone_ckb
;
IBOutlet
id
o_clone_number_fld
;
IBOutlet
id
o_clone_number_fld
;
IBOutlet
id
o_clone_number_stp
;
IBOutlet
id
o_clone_number_stp
;
...
...
modules/gui/macosx/VideoEffects.m
View file @
cec394f2
...
@@ -124,7 +124,6 @@ static VLCVideoEffects *_o_sharedInstance = nil;
...
@@ -124,7 +124,6 @@ static VLCVideoEffects *_o_sharedInstance = nil;
[
o_puzzle_ckb
setTitle
:
_NS
(
"Puzzle game"
)];
[
o_puzzle_ckb
setTitle
:
_NS
(
"Puzzle game"
)];
[
o_puzzle_rows_lbl
setStringValue
:
_NS
(
"Rows"
)];
[
o_puzzle_rows_lbl
setStringValue
:
_NS
(
"Rows"
)];
[
o_puzzle_columns_lbl
setStringValue
:
_NS
(
"Columns"
)];
[
o_puzzle_columns_lbl
setStringValue
:
_NS
(
"Columns"
)];
[
o_puzzle_blackslot_ckb
setTitle
:
_NS
(
"Black Slot"
)];
[
o_clone_ckb
setTitle
:
_NS
(
"Clone"
)];
[
o_clone_ckb
setTitle
:
_NS
(
"Clone"
)];
[
o_clone_number_lbl
setStringValue
:
_NS
(
"Number of clones"
)];
[
o_clone_number_lbl
setStringValue
:
_NS
(
"Number of clones"
)];
[
o_wall_ckb
setTitle
:
_NS
(
"Wall"
)];
[
o_wall_ckb
setTitle
:
_NS
(
"Wall"
)];
...
@@ -378,7 +377,6 @@ static VLCVideoEffects *_o_sharedInstance = nil;
...
@@ -378,7 +377,6 @@ static VLCVideoEffects *_o_sharedInstance = nil;
[
self
setPuzzleColumnsValue
:
config_GetInt
(
p_intf
,
"puzzle-cols"
)];
[
self
setPuzzleColumnsValue
:
config_GetInt
(
p_intf
,
"puzzle-cols"
)];
[
self
setPuzzleRowsValue
:
config_GetInt
(
p_intf
,
"puzzle-rows"
)];
[
self
setPuzzleRowsValue
:
config_GetInt
(
p_intf
,
"puzzle-rows"
)];
[
o_puzzle_blackslot_ckb
setState
:
config_GetInt
(
p_intf
,
"puzzle-black-slot"
)];
b_state
=
[
o_puzzle_ckb
state
];
b_state
=
[
o_puzzle_ckb
state
];
[
o_puzzle_rows_fld
setEnabled
:
b_state
];
[
o_puzzle_rows_fld
setEnabled
:
b_state
];
[
o_puzzle_rows_stp
setEnabled
:
b_state
];
[
o_puzzle_rows_stp
setEnabled
:
b_state
];
...
@@ -386,8 +384,7 @@ static VLCVideoEffects *_o_sharedInstance = nil;
...
@@ -386,8 +384,7 @@ static VLCVideoEffects *_o_sharedInstance = nil;
[
o_puzzle_columns_fld
setEnabled
:
b_state
];
[
o_puzzle_columns_fld
setEnabled
:
b_state
];
[
o_puzzle_columns_stp
setEnabled
:
b_state
];
[
o_puzzle_columns_stp
setEnabled
:
b_state
];
[
o_puzzle_columns_lbl
setEnabled
:
b_state
];
[
o_puzzle_columns_lbl
setEnabled
:
b_state
];
[
o_puzzle_blackslot_ckb
setEnabled
:
b_state
];
[
self
setCloneValue
:
config_GetInt
(
p_intf
,
"clone-count"
)];
[
self
setCloneValue
:
config_GetInt
(
p_intf
,
"clone-count"
)];
b_state
=
[
o_clone_ckb
state
];
b_state
=
[
o_clone_ckb
state
];
[
o_clone_number_lbl
setEnabled
:
b_state
];
[
o_clone_number_lbl
setEnabled
:
b_state
];
...
@@ -1115,14 +1112,11 @@ static VLCVideoEffects *_o_sharedInstance = nil;
...
@@ -1115,14 +1112,11 @@ static VLCVideoEffects *_o_sharedInstance = nil;
[
o_puzzle_rows_fld
setEnabled
:
b_state
];
[
o_puzzle_rows_fld
setEnabled
:
b_state
];
[
o_puzzle_rows_stp
setEnabled
:
b_state
];
[
o_puzzle_rows_stp
setEnabled
:
b_state
];
[
o_puzzle_rows_lbl
setEnabled
:
b_state
];
[
o_puzzle_rows_lbl
setEnabled
:
b_state
];
[
o_puzzle_blackslot_ckb
setEnabled
:
b_state
];
}
}
-
(
IBAction
)
puzzleModifierChanged
:(
id
)
sender
-
(
IBAction
)
puzzleModifierChanged
:(
id
)
sender
{
{
if
(
sender
==
o_puzzle_blackslot_ckb
)
if
(
sender
==
o_puzzle_columns_fld
||
sender
==
o_puzzle_columns_stp
)
[
self
setVideoFilterProperty
:
"puzzle-black-slot"
forFilter
:
"puzzle"
boolean
:
[
o_puzzle_blackslot_ckb
state
]];
else
if
(
sender
==
o_puzzle_columns_fld
||
sender
==
o_puzzle_columns_stp
)
[
self
setVideoFilterProperty
:
"puzzle-cols"
forFilter
:
"puzzle"
integer
:
[
sender
intValue
]];
[
self
setVideoFilterProperty
:
"puzzle-cols"
forFilter
:
"puzzle"
integer
:
[
sender
intValue
]];
else
else
[
self
setVideoFilterProperty
:
"puzzle-rows"
forFilter
:
"puzzle"
integer
:
[
sender
intValue
]];
[
self
setVideoFilterProperty
:
"puzzle-rows"
forFilter
:
"puzzle"
integer
:
[
sender
intValue
]];
...
...
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