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
11b8c44a
Commit
11b8c44a
authored
Apr 01, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
String fixes to extrapanel. Thanks to Steven on IRC
parent
e90c868f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
21 deletions
+19
-21
modules/gui/wxwidgets/extrapanel.cpp
modules/gui/wxwidgets/extrapanel.cpp
+19
-21
No files found.
modules/gui/wxwidgets/extrapanel.cpp
View file @
11b8c44a
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
* Local class declarations.
* Local class declarations.
*****************************************************************************/
*****************************************************************************/
#define SMOOTH_TIP N_( "
Move bands together. The higher this value is, the
" \
#define SMOOTH_TIP N_( "
Controls the blending of equalizer bands. The higher
" \
"
more correlated their movement will be." )
" this value is, the
more correlated their movement will be." )
static
int
IntfBandsCallback
(
vlc_object_t
*
,
char
const
*
,
static
int
IntfBandsCallback
(
vlc_object_t
*
,
char
const
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
vlc_value_t
,
vlc_value_t
,
void
*
);
...
@@ -146,9 +146,9 @@ struct filter {
...
@@ -146,9 +146,9 @@ struct filter {
static
const
struct
filter
vfilters
[]
=
static
const
struct
filter
vfilters
[]
=
{
{
{
"clone"
,
N_
(
"Image clone"
),
N_
(
"Creates several clones of the image"
)
},
{
"clone"
,
N_
(
"Image clone"
),
N_
(
"Creates several clones of the image"
)
},
{
"distort"
,
N_
(
"Distortion"
),
N_
(
"Adds distor
s
ion effects"
)
},
{
"distort"
,
N_
(
"Distortion"
),
N_
(
"Adds distor
t
ion effects"
)
},
{
"invert"
,
N_
(
"Image inversion"
)
,
N_
(
"Inverts the
image colors
"
)
},
{
"invert"
,
N_
(
"Image inversion"
)
,
N_
(
"Inverts the
colors of the image
"
)
},
{
"motionblur"
,
N_
(
"Blurring"
),
N_
(
"
Creates a motion blurring on
the image"
)
},
{
"motionblur"
,
N_
(
"Blurring"
),
N_
(
"
Adds motion blurring to
the image"
)
},
{
"transform"
,
N_
(
"Transformation"
),
N_
(
"Rotates or flips the image"
)
},
{
"transform"
,
N_
(
"Transformation"
),
N_
(
"Rotates or flips the image"
)
},
{
"magnify"
,
N_
(
"Magnify"
),
N_
(
"Magnifies part of the image"
)
},
{
"magnify"
,
N_
(
"Magnify"
),
N_
(
"Magnifies part of the image"
)
},
{
NULL
,
NULL
,
NULL
}
/* Do not remove this line */
{
NULL
,
NULL
,
NULL
}
/* Do not remove this line */
...
@@ -201,7 +201,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
...
@@ -201,7 +201,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
/* Create static box to surround the adjust controls */
/* Create static box to surround the adjust controls */
wxStaticBox
*
adjust_box
=
wxStaticBox
*
adjust_box
=
new
wxStaticBox
(
panel
,
-
1
,
wxU
(
_
(
"
Adjust Image"
))
);
new
wxStaticBox
(
panel
,
-
1
,
wxU
(
_
(
"
Image adjustment"
))
);
wxStaticBoxSizer
*
adjust_sizer
=
wxStaticBoxSizer
*
adjust_sizer
=
new
wxStaticBoxSizer
(
adjust_box
,
wxVERTICAL
);
new
wxStaticBoxSizer
(
adjust_box
,
wxVERTICAL
);
adjust_sizer
->
SetMinSize
(
-
1
,
50
);
adjust_sizer
->
SetMinSize
(
-
1
,
50
);
...
@@ -314,7 +314,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
...
@@ -314,7 +314,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
filter_sizer
->
Add
(
t_col_sizer
);
filter_sizer
->
Add
(
t_col_sizer
);
filter_sizer
->
Add
(
new
wxButton
(
panel
,
FiltersInfo_Event
,
filter_sizer
->
Add
(
new
wxButton
(
panel
,
FiltersInfo_Event
,
wxU
(
_
(
"More
i
nfo"
)
)
),
0
,
wxALL
,
4
);
wxU
(
_
(
"More
I
nfo"
)
)
),
0
,
wxALL
,
4
);
#if 0
#if 0
other_sizer->Add( video_sizer, 0, wxALL | wxEXPAND , 0);
other_sizer->Add( video_sizer, 0, wxALL | wxEXPAND , 0);
other_sizer->Add( filter_sizer, 0, wxALL | wxEXPAND , 0);
other_sizer->Add( filter_sizer, 0, wxALL | wxEXPAND , 0);
...
@@ -394,13 +394,13 @@ wxPanel *ExtraPanel::AudioPanel( wxWindow *parent )
...
@@ -394,13 +394,13 @@ wxPanel *ExtraPanel::AudioPanel( wxWindow *parent )
wxCheckBox
*
headphone_check
=
new
wxCheckBox
(
panel
,
HeadPhone_Event
,
wxCheckBox
*
headphone_check
=
new
wxCheckBox
(
panel
,
HeadPhone_Event
,
wxU
(
_
(
"Headphone virtualization"
)));
wxU
(
_
(
"Headphone virtualization"
)));
headphone_check
->
SetToolTip
(
wxU
(
_
(
"
This filter gives the feeling of a
"
headphone_check
->
SetToolTip
(
wxU
(
_
(
"
Imitates the effect of
"
"
5.1 speakers set when using a headphone
."
)
)
);
"
surround sound when using headphones
."
)
)
);
wxCheckBox
*
normvol_check
=
new
wxCheckBox
(
panel
,
NormVol_Event
,
wxCheckBox
*
normvol_check
=
new
wxCheckBox
(
panel
,
NormVol_Event
,
wxU
(
_
(
"Volume normalization"
)));
wxU
(
_
(
"Volume normalization"
)));
normvol_check
->
SetToolTip
(
wxU
(
_
(
"
This filter p
revents the audio output "
normvol_check
->
SetToolTip
(
wxU
(
_
(
"
P
revents the audio output "
"
power from going over a
defined value."
)
)
);
"
level from going over a pre
defined value."
)
)
);
wxStaticText
*
normvol_label
=
new
wxStaticText
(
panel
,
-
1
,
wxStaticText
*
normvol_label
=
new
wxStaticText
(
panel
,
-
1
,
wxU
(
_
(
"Maximum level"
)
)
);
wxU
(
_
(
"Maximum level"
)
)
);
...
@@ -464,7 +464,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
...
@@ -464,7 +464,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
eq_chkbox
=
new
wxCheckBox
(
panel
,
EqEnable_Event
,
eq_chkbox
=
new
wxCheckBox
(
panel
,
EqEnable_Event
,
wxU
(
_
(
"Enable"
)
)
);
wxU
(
_
(
"Enable"
)
)
);
eq_chkbox
->
SetToolTip
(
wxU
(
_
(
"Enable the equalizer. You can either "
eq_chkbox
->
SetToolTip
(
wxU
(
_
(
"Enable the equalizer. You can either "
"manually
change
the bands or use a preset (Audio Menu->Equalizer)."
)
)
);
"manually
adjust
the bands or use a preset (Audio Menu->Equalizer)."
)
)
);
top_sizer
->
Add
(
eq_chkbox
,
0
,
wxALL
,
2
);
top_sizer
->
Add
(
eq_chkbox
,
0
,
wxALL
,
2
);
eq_2p_chkbox
=
new
wxCheckBox
(
panel
,
Eq2Pass_Event
,
eq_2p_chkbox
=
new
wxCheckBox
(
panel
,
Eq2Pass_Event
,
...
@@ -996,17 +996,15 @@ void ExtraPanel::OnSelectFilter(wxCommandEvent& event)
...
@@ -996,17 +996,15 @@ void ExtraPanel::OnSelectFilter(wxCommandEvent& event)
void
ExtraPanel
::
OnFiltersInfo
(
wxCommandEvent
&
event
)
void
ExtraPanel
::
OnFiltersInfo
(
wxCommandEvent
&
event
)
{
{
wxMessageBox
(
wxU
(
_
(
"
Video effects filters to apply
. "
wxMessageBox
(
wxU
(
_
(
"
Filtering effects to apply to the video
. "
"You must restart the stream for these settings to "
"You must restart the stream for these settings to "
"take effect.
\n
"
"take effect.
\n\n
"
"To configure the filters, go to the Preferences, "
"To configure these filters, go to Preferences / Video / "
"and go to Video/Filters. "
"Filters. In order to control the order in which they "
"You can then configure each filter.
\n
"
"are applied, enter a filters string in the Video Filter "
"If you want fine control over the filters ( to choose "
"Module inside the preferences."
"the order in which they are applied ), you need to enter "
"manually a filters string (Preferences / Video / Filters)."
)
),
)
),
wxU
(
_
(
"More
i
nformation"
)
),
wxOK
|
wxICON_INFORMATION
,
wxU
(
_
(
"More
I
nformation"
)
),
wxOK
|
wxICON_INFORMATION
,
this
->
p_parent
);
this
->
p_parent
);
}
}
/**********************************
/**********************************
...
...
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