Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dc93d552
Commit
dc93d552
authored
Dec 22, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: use our new wxL2U() macro where needed.
parent
a5762cd9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+7
-7
modules/gui/wxwindows/preferences_widgets.cpp
modules/gui/wxwindows/preferences_widgets.cpp
+6
-6
modules/gui/wxwindows/subtitles.cpp
modules/gui/wxwindows/subtitles.cpp
+2
-2
No files found.
modules/gui/wxwindows/open.cpp
View file @
dc93d552
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2003 VideoLAN
* $Id: open.cpp,v 1.6
0 2003/12/22 02:24:52 sam
Exp $
* $Id: open.cpp,v 1.6
1 2003/12/22 15:42:43 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -297,7 +297,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
{
sout_checkbox
->
SetValue
(
TRUE
);
sout_button
->
Enable
();
subsfile_mrl
.
Add
(
wxString
(
wxT
(
"sout="
))
+
wxU
(
psz_sout
)
);
subsfile_mrl
.
Add
(
wxString
(
wxT
(
"sout="
))
+
wx
L2
U
(
psz_sout
)
);
}
if
(
psz_sout
)
free
(
psz_sout
);
...
...
@@ -446,7 +446,7 @@ wxPanel *OpenDialog::FilePanel( wxWindow* parent )
{
subsfile_checkbox
->
SetValue
(
TRUE
);
subsfile_button
->
Enable
();
subsfile_mrl
.
Add
(
wxString
(
wxT
(
"sub-file="
))
+
wxU
(
psz_subsfile
)
);
subsfile_mrl
.
Add
(
wxString
(
wxT
(
"sub-file="
))
+
wx
L2
U
(
psz_subsfile
)
);
}
if
(
psz_subsfile
)
free
(
psz_subsfile
);
...
...
@@ -1053,7 +1053,7 @@ void OpenDialog::OnDiscDeviceChange( wxCommandEvent& event )
if
(
!
psz_device
)
psz_device
=
""
;
if
(
disc_device
->
GetValue
().
Cmp
(
wxU
(
psz_device
)
)
)
if
(
disc_device
->
GetValue
().
Cmp
(
wx
L2
U
(
psz_device
)
)
)
{
b_disc_device_changed
=
true
;
}
...
...
@@ -1078,7 +1078,7 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
psz_device
=
config_GetPsz
(
p_intf
,
"dvd"
);
if
(
!
b_disc_device_changed
)
{
disc_device
->
SetValue
(
psz_device
?
wxU
(
psz_device
)
:
wxT
(
""
)
);
disc_device
->
SetValue
(
psz_device
?
wx
L2
U
(
psz_device
)
:
wxT
(
""
)
);
disc_title_label
->
SetLabel
(
wxT
(
"Title"
)
);
}
disc_title
->
SetRange
(
i_selection
,
255
);
...
...
@@ -1090,7 +1090,7 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
psz_device
=
config_GetPsz
(
p_intf
,
"vcd"
);
if
(
!
b_disc_device_changed
)
{
disc_device
->
SetValue
(
psz_device
?
wxU
(
psz_device
)
:
wxT
(
""
)
);
disc_device
->
SetValue
(
psz_device
?
wx
L2
U
(
psz_device
)
:
wxT
(
""
)
);
}
/* There are at most 98, tracks in a VCD, 999 Segments, 500 entries
...
...
@@ -1116,7 +1116,7 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
psz_device
=
config_GetPsz
(
p_intf
,
"cd-audio"
);
if
(
!
b_disc_device_changed
)
{
disc_device
->
SetValue
(
psz_device
?
wxU
(
psz_device
)
:
wxT
(
""
)
);
disc_device
->
SetValue
(
psz_device
?
wx
L2
U
(
psz_device
)
:
wxT
(
""
)
);
}
disc_title_label
->
SetLabel
(
wxT
(
"Track"
)
);
#ifdef HAVE_CDDAX
...
...
modules/gui/wxwindows/preferences_widgets.cpp
View file @
dc93d552
...
...
@@ -2,7 +2,7 @@
* preferences_widgets.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: preferences_widgets.cpp,v 1.1
7 2003/12/22 02:24:52 sam
Exp $
* $Id: preferences_widgets.cpp,v 1.1
8 2003/12/22 15:42:44 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Sigmund Augdal <sigmunau@idi.ntnu.no>
...
...
@@ -304,7 +304,7 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *p_this,
module_t
*
p_parser
;
label
=
new
wxStaticText
(
this
,
-
1
,
wxU
(
p_item
->
psz_text
));
combo
=
new
wxComboBox
(
this
,
-
1
,
wxU
(
p_item
->
psz_value
),
combo
=
new
wxComboBox
(
this
,
-
1
,
wx
L2
U
(
p_item
->
psz_value
),
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
wxCB_READONLY
|
wxCB_SORT
);
...
...
@@ -355,7 +355,7 @@ StringConfigControl::StringConfigControl( vlc_object_t *p_this,
label
=
new
wxStaticText
(
this
,
-
1
,
wxU
(
p_item
->
psz_text
));
sizer
->
Add
(
label
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
textctrl
=
new
wxTextCtrl
(
this
,
-
1
,
wxU
(
p_item
->
psz_value
),
wx
L2
U
(
p_item
->
psz_value
),
wxDefaultPosition
,
wxDefaultSize
,
wxTE_PROCESS_ENTER
);
...
...
@@ -425,7 +425,7 @@ void StringListConfigControl::UpdateCombo( module_config_t *p_item )
combo
->
Append
(
(
p_item
->
ppsz_list_text
&&
p_item
->
ppsz_list_text
[
i_index
]
)
?
wxU
(
p_item
->
ppsz_list_text
[
i_index
])
:
wxU
(
p_item
->
ppsz_list
[
i_index
])
);
wx
L2
U
(
p_item
->
ppsz_list
[
i_index
])
);
combo
->
SetClientData
(
i_index
,
(
void
*
)
p_item
->
ppsz_list
[
i_index
]
);
if
(
(
p_item
->
psz_value
&&
!
strcmp
(
p_item
->
psz_value
,
p_item
->
ppsz_list
[
i_index
]
)
)
||
...
...
@@ -435,7 +435,7 @@ void StringListConfigControl::UpdateCombo( module_config_t *p_item )
combo
->
SetValue
(
(
p_item
->
ppsz_list_text
&&
p_item
->
ppsz_list_text
[
i_index
]
)
?
wxU
(
p_item
->
ppsz_list_text
[
i_index
])
:
wxU
(
p_item
->
ppsz_list
[
i_index
])
);
wx
L2
U
(
p_item
->
ppsz_list
[
i_index
])
);
}
}
}
...
...
@@ -485,7 +485,7 @@ FileConfigControl::FileConfigControl( vlc_object_t *p_this,
label
=
new
wxStaticText
(
this
,
-
1
,
wxU
(
p_item
->
psz_text
));
sizer
->
Add
(
label
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
textctrl
=
new
wxTextCtrl
(
this
,
-
1
,
wxU
(
p_item
->
psz_value
),
wx
L2
U
(
p_item
->
psz_value
),
wxDefaultPosition
,
wxDefaultSize
,
wxTE_PROCESS_ENTER
);
...
...
modules/gui/wxwindows/subtitles.cpp
View file @
dc93d552
...
...
@@ -2,7 +2,7 @@
* subtitles.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: subtitles.cpp,v 1.
8 2003/12/22 02:24:52 sam
Exp $
* $Id: subtitles.cpp,v 1.
9 2003/12/22 15:42:44 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -86,7 +86,7 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
wxHORIZONTAL
);
char
*
psz_subsfile
=
config_GetPsz
(
p_intf
,
"sub-file"
);
file_combo
=
new
wxComboBox
(
panel
,
-
1
,
psz_subsfile
?
wxU
(
psz_subsfile
)
:
wxT
(
""
),
psz_subsfile
?
wx
L2
U
(
psz_subsfile
)
:
wxT
(
""
),
wxPoint
(
20
,
25
),
wxSize
(
300
,
-
1
),
0
,
NULL
);
if
(
psz_subsfile
)
free
(
psz_subsfile
);
wxButton
*
browse_button
=
new
wxButton
(
panel
,
FileBrowse_Event
,
...
...
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