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
2252e8d9
Commit
2252e8d9
authored
Feb 05, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some WX VLM dialog improvements
parent
67e1d348
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
+16
-6
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.hpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.hpp
+2
-0
No files found.
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
View file @
2252e8d9
...
...
@@ -63,7 +63,9 @@ VLMPanel::VLMPanel( intf_thread_t *_p_intf, wxWindow *_p_parent ) :
wxNotebookSizer
*
notebook_sizer
=
new
wxNotebookSizer
(
p_notebook
);
#endif
p_notebook
->
AddPage
(
BroadcastPanel
(
p_notebook
),
wxU
(
_
(
"Broadcasts"
)
)
);
#if 0
p_notebook->AddPage( VODPanel( p_notebook ), wxU( _("VOD") ) );
#endif
#if (!wxCHECK_VERSION(2,5,0))
panel_sizer
->
Add
(
notebook_sizer
,
1
,
wxEXPAND
|
wxALL
,
5
);
#else
...
...
@@ -351,6 +353,7 @@ VLMAddStreamPanel::VLMAddStreamPanel( intf_thread_t *_p_intf,
wxPanel
(
_p_parent
,
-
1
,
wxDefaultPosition
,
wxDefaultSize
)
{
p_intf
=
_p_intf
;
p_parent
=
_p_parent
;
p_vlm
=
_p_vlm
;
b_edit
=
_b_edit
;
b_broadcast
=
_b_broadcast
;
...
...
@@ -393,12 +396,6 @@ VLMAddStreamPanel::VLMAddStreamPanel( intf_thread_t *_p_intf,
panel_sizer
->
Add
(
upper_sizer
,
0
,
wxEXPAND
|
wxALL
,
5
);
wxBoxSizer
*
lower_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
lower_sizer
->
Add
(
new
wxButton
(
this
,
Create_Event
,
wxU
(
_
(
b_edit
?
"Edit"
:
"Create"
)
)
),
0
,
wxEXPAND
|
wxALL
,
5
);
lower_sizer
->
Add
(
new
wxButton
(
this
,
Clear_Event
,
wxU
(
_
(
"Clear"
)
)
),
0
,
wxEXPAND
|
wxALL
,
5
);
enabled_checkbox
=
new
wxCheckBox
(
this
,
-
1
,
wxU
(
_
(
"Enabled"
)
)
);
enabled_checkbox
->
SetValue
(
true
);
lower_sizer
->
Add
(
enabled_checkbox
,
1
,
wxEXPAND
|
wxALL
,
5
);
...
...
@@ -408,6 +405,17 @@ VLMAddStreamPanel::VLMAddStreamPanel( intf_thread_t *_p_intf,
lower_sizer
->
Add
(
loop_checkbox
,
1
,
wxEXPAND
|
wxALL
,
5
);
}
if
(
!
b_edit
)
{
lower_sizer
->
Add
(
new
wxButton
(
this
,
Clear_Event
,
wxU
(
_
(
"Clear"
)
)
),
0
,
wxEXPAND
|
wxALL
,
5
);
}
lower_sizer
->
Add
(
new
wxButton
(
this
,
Create_Event
,
wxU
(
_
(
b_edit
?
"OK"
:
"Create"
)
)
),
0
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Add
(
lower_sizer
,
0
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Layout
();
SetSizerAndFit
(
panel_sizer
);
...
...
@@ -464,6 +472,8 @@ void VLMAddStreamPanel::OnCreate( wxCommandEvent &event )
LocaleFree
(
psz_output
);
if
(
!
b_edit
)
OnClear
(
event
);
if
(
b_edit
)
p_parent
->
Hide
();
}
void
VLMAddStreamPanel
::
OnClear
(
wxCommandEvent
&
event
)
...
...
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.hpp
View file @
2252e8d9
...
...
@@ -70,6 +70,8 @@ namespace wxvlc
intf_thread_t
*
p_intf
;
VLMWrapper
*
p_vlm
;
wxWindow
*
p_parent
;
vlc_bool_t
b_edit
,
b_broadcast
;
OpenDialog
*
p_open_dialog
;
...
...
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