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
1dcec75f
Commit
1dcec75f
authored
Apr 18, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Some progress on the wizard (still not useable)
* Fixed layout of the item info dialog
parent
be50fbbe
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
135 additions
and
89 deletions
+135
-89
modules/gui/wxwindows/iteminfo.cpp
modules/gui/wxwindows/iteminfo.cpp
+9
-17
modules/gui/wxwindows/wizard.cpp
modules/gui/wxwindows/wizard.cpp
+124
-72
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+2
-0
No files found.
modules/gui/wxwindows/iteminfo.cpp
View file @
1dcec75f
...
...
@@ -139,6 +139,7 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxStaticBoxSizer
*
box_sizer
=
new
wxStaticBoxSizer
(
panel_box
,
wxVERTICAL
);
wxFlexGridSizer
*
sizer
=
new
wxFlexGridSizer
(
2
,
3
,
20
);
/* URI Textbox */
wxStaticText
*
uri_label
=
new
wxStaticText
(
info_panel
,
-
1
,
wxU
(
_
(
"URI"
))
);
...
...
@@ -147,12 +148,8 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxU
(
p_item
->
input
.
psz_uri
),
wxDefaultPosition
,
wxSize
(
300
,
-
1
),
wxTE_PROCESS_ENTER
);
wxBoxSizer
*
uri_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
uri_sizer
->
Add
(
uri_label
,
0
,
wxALIGN_RIGHT
|
wxALL
,
5
);
uri_sizer
->
Add
(
uri_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
uri_sizer
->
Layout
();
box_sizer
->
Add
(
uri_sizer
,
1
,
wxEXPAND
,
5
);
sizer
->
Add
(
uri_label
,
0
,
wxALIGN_LEFT
|
wxALL
,
5
);
sizer
->
Add
(
uri_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
/* Name Textbox */
wxStaticText
*
name_label
=
...
...
@@ -162,12 +159,8 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxU
(
p_item
->
input
.
psz_name
),
wxDefaultPosition
,
wxSize
(
300
,
-
1
),
wxTE_PROCESS_ENTER
);
wxBoxSizer
*
name_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
name_sizer
->
Add
(
name_label
,
0
,
wxALIGN_RIGHT
|
wxALL
,
5
);
name_sizer
->
Add
(
name_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
name_sizer
->
Layout
();
box_sizer
->
Add
(
name_sizer
,
1
,
wxEXPAND
,
5
);
sizer
->
Add
(
name_label
,
0
,
wxALIGN_LEFT
|
wxALL
,
5
);
sizer
->
Add
(
name_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
/* Author Textbox */
wxStaticText
*
author_label
=
...
...
@@ -180,11 +173,8 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxDefaultPosition
,
wxSize
(
300
,
-
1
),
wxTE_PROCESS_ENTER
);
wxBoxSizer
*
author_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
author_sizer
->
Add
(
author_label
,
0
,
wxALIGN_RIGHT
|
wxALL
,
5
);
author_sizer
->
Add
(
author_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
author_sizer
->
Layout
();
box_sizer
->
Add
(
author_sizer
,
1
,
wxEXPAND
,
5
);
sizer
->
Add
(
author_label
,
0
,
wxALIGN_LEFT
|
wxALL
,
5
);
sizer
->
Add
(
author_text
,
1
,
wxALIGN_RIGHT
|
wxALL
,
5
);
/* Treeview */
info_tree
=
new
wxTreeCtrl
(
info_panel
,
-
1
,
wxDefaultPosition
,
...
...
@@ -192,6 +182,8 @@ wxPanel *ItemInfoDialog::InfoPanel( wxWindow* parent )
wxSUNKEN_BORDER
|
wxTR_HAS_BUTTONS
|
wxTR_HIDE_ROOT
);
sizer
->
Layout
();
box_sizer
->
Add
(
sizer
,
0
,
wxEXPAND
,
5
);
box_sizer
->
Add
(
info_tree
,
0
,
wxEXPAND
,
5
);
info_sizer
->
Add
(
box_sizer
,
1
,
wxBOTTOM
,
5
);
...
...
modules/gui/wxwindows/wizard.cpp
View file @
1dcec75f
This diff is collapsed.
Click to expand it.
modules/gui/wxwindows/wxwindows.h
View file @
1dcec75f
...
...
@@ -573,6 +573,7 @@ public:
virtual
~
WizardDialog
();
void
SetTranscode
(
char
*
vcodec
,
int
vb
,
char
*
acodec
,
int
ab
);
void
SetMrl
(
const
char
*
mrl
);
void
SetPartial
(
int
,
int
);
void
SetStream
(
char
*
method
,
char
*
address
);
void
SetTranscodeOut
(
char
*
address
);
void
SetAction
(
int
i_action
);
...
...
@@ -583,6 +584,7 @@ public:
private:
int
vb
,
ab
;
int
i_from
,
i_to
;
char
*
vcodec
,
*
acodec
,
*
method
,
*
address
,
*
mrl
,
*
mux
;
DECLARE_EVENT_TABLE
();
...
...
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