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
164b14f0
Commit
164b14f0
authored
Apr 05, 2005
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wx: last bunch of changes for now. The rest must be fixed by someone with msvc
parent
3e89395f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
modules/gui/wxwindows/fileinfo.cpp
modules/gui/wxwindows/fileinfo.cpp
+1
-1
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+8
-6
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+1
-1
No files found.
modules/gui/wxwindows/fileinfo.cpp
View file @
164b14f0
...
...
@@ -160,7 +160,7 @@ FileInfo::~FileInfo()
{
}
void
FileInfo
::
OnClose
(
wxC
ommand
Event
&
event
)
void
FileInfo
::
OnClose
(
wxC
lose
Event
&
event
)
{
Hide
();
}
...
...
modules/gui/wxwindows/video.cpp
View file @
164b14f0
...
...
@@ -69,8 +69,8 @@ private:
wxWindow
*
p_child_window
;
void
UpdateSize
(
wx
Size
Event
&
);
void
UpdateHide
(
wx
Size
Event
&
);
void
UpdateSize
(
wxEvent
&
);
void
UpdateHide
(
wxEvent
&
);
void
OnControlEvent
(
wxCommandEvent
&
);
DECLARE_EVENT_TABLE
();
...
...
@@ -235,8 +235,9 @@ void VideoWindow::ReleaseWindow( void *p_window )
vlc_mutex_unlock
(
&
lock
);
}
void
VideoWindow
::
UpdateSize
(
wx
SizeEvent
&
event
)
void
VideoWindow
::
UpdateSize
(
wx
Event
&
_
event
)
{
wxSizeEvent
*
event
=
(
wxSizeEvent
*
)(
&
_event
);
if
(
!
b_shown
)
{
p_intf
->
p_sys
->
p_video_sizer
->
Show
(
this
,
TRUE
);
...
...
@@ -244,14 +245,15 @@ void VideoWindow::UpdateSize( wxSizeEvent &event )
SetFocus
();
b_shown
=
VLC_TRUE
;
}
p_intf
->
p_sys
->
p_video_sizer
->
SetMinSize
(
event
.
GetSize
()
);
p_intf
->
p_sys
->
p_video_sizer
->
SetMinSize
(
event
->
GetSize
()
);
wxCommandEvent
intf_event
(
wxEVT_INTF
,
0
);
p_parent
->
AddPendingEvent
(
intf_event
);
}
void
VideoWindow
::
UpdateHide
(
wx
SizeEvent
&
event
)
void
VideoWindow
::
UpdateHide
(
wx
Event
&
_
event
)
{
wxSizeEvent
*
event
=
(
wxSizeEvent
*
)(
&
_event
);
if
(
b_shown
)
{
p_intf
->
p_sys
->
p_video_sizer
->
Show
(
this
,
FALSE
);
...
...
@@ -261,7 +263,7 @@ void VideoWindow::UpdateHide( wxSizeEvent &event )
SetSize
(
0
,
0
);
Show
();
}
p_intf
->
p_sys
->
p_video_sizer
->
SetMinSize
(
event
.
GetSize
()
);
p_intf
->
p_sys
->
p_video_sizer
->
SetMinSize
(
event
->
GetSize
()
);
wxCommandEvent
intf_event
(
wxEVT_INTF
,
0
);
p_parent
->
AddPendingEvent
(
intf_event
);
...
...
modules/gui/wxwindows/wxwindows.h
View file @
164b14f0
...
...
@@ -998,7 +998,7 @@ public:
vlc_bool_t
b_need_update
;
private:
void
OnClose
(
wxC
ommand
Event
&
event
);
void
OnClose
(
wxC
lose
Event
&
event
);
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