Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c66b7a83
Commit
c66b7a83
authored
Sep 21, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: got rid of the close button in the fileinfo and playlist dialogs.
parent
1b50257c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
modules/gui/wxwindows/fileinfo.cpp
modules/gui/wxwindows/fileinfo.cpp
+1
-9
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+1
-16
No files found.
modules/gui/wxwindows/fileinfo.cpp
View file @
c66b7a83
...
...
@@ -2,7 +2,7 @@
* fileinfo.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: fileinfo.cpp,v 1.1
8 2003/08/27 11:53:26
gbazin Exp $
* $Id: fileinfo.cpp,v 1.1
9 2003/09/21 18:07:51
gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -76,18 +76,10 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
fileinfo_root_label
=
wxT
(
""
);
/* Create the OK button */
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
,
wxU
(
_
(
"Close"
))
);
ok_button
->
SetDefault
();
/* Place everything in sizers */
wxBoxSizer
*
ok_button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
ok_button_sizer
->
Add
(
ok_button
,
0
,
wxALL
,
5
);
ok_button_sizer
->
Layout
();
wxBoxSizer
*
main_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
panel_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
panel_sizer
->
Add
(
fileinfo_tree
,
1
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Add
(
ok_button_sizer
,
0
,
wxALIGN_CENTRE
);
panel_sizer
->
Layout
();
panel
->
SetSizerAndFit
(
panel_sizer
);
main_sizer
->
Add
(
panel
,
1
,
wxEXPAND
,
0
);
...
...
modules/gui/wxwindows/playlist.cpp
View file @
c66b7a83
...
...
@@ -2,7 +2,7 @@
* playlist.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: playlist.cpp,v 1.
19 2003/09/10 10:21:09 zorglub
Exp $
* $Id: playlist.cpp,v 1.
20 2003/09/21 18:07:51 gbazin
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
*
...
...
@@ -88,7 +88,6 @@ BEGIN_EVENT_TABLE(Playlist, wxFrame)
EVT_LIST_KEY_DOWN
(
ListView_Event
,
Playlist
::
OnKeyDown
)
/* Button events */
EVT_BUTTON
(
Close_Event
,
Playlist
::
OnClose
)
EVT_BUTTON
(
Search_Event
,
Playlist
::
OnSearch
)
EVT_BUTTON
(
Save_Event
,
Playlist
::
OnSave
)
...
...
@@ -155,11 +154,6 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
listview
->
SetColumnWidth
(
0
,
250
);
listview
->
SetColumnWidth
(
1
,
100
);
/* Create the Close button */
wxButton
*
close_button
=
new
wxButton
(
playlist_panel
,
Close_Event
,
wxU
(
_
(
"Close"
))
);
close_button
->
SetDefault
();
/* Create the Random checkbox */
wxCheckBox
*
random_checkbox
=
new
wxCheckBox
(
playlist_panel
,
Random_Event
,
wxU
(
_
(
"Random"
))
);
...
...
@@ -193,20 +187,11 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
wxEXPAND
|
wxALIGN_RIGHT
|
wxALL
,
5
);
search_sizer
->
Layout
();
wxBoxSizer
*
close_button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
close_button_sizer
->
Add
(
close_button
,
0
,
wxALL
,
5
);
/* close_button_sizer->Add( random_checkbox, 0,
wxEXPAND|wxALIGN_RIGHT|wxALL, 5);
close_button_sizer->Add( loop_checkbox, 0,
wxEXPAND|wxALIGN_RIGHT|wxALL, 5);*/
close_button_sizer
->
Layout
();
wxBoxSizer
*
main_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
panel_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
panel_sizer
->
Add
(
listview
,
1
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Add
(
search_sizer
,
0
,
wxALIGN_CENTRE
);
panel_sizer
->
Add
(
close_button_sizer
,
0
,
wxALIGN_CENTRE
);
panel_sizer
->
Layout
();
playlist_panel
->
SetSizerAndFit
(
panel_sizer
);
...
...
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