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
e0674167
Commit
e0674167
authored
Jan 13, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2 : remove dead code (VoutWindow)
parent
c0550de8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
26 deletions
+1
-26
modules/gui/skins2/src/vout_window.cpp
modules/gui/skins2/src/vout_window.cpp
+1
-16
modules/gui/skins2/src/vout_window.hpp
modules/gui/skins2/src/vout_window.hpp
+0
-10
No files found.
modules/gui/skins2/src/vout_window.cpp
View file @
e0674167
...
@@ -33,19 +33,13 @@
...
@@ -33,19 +33,13 @@
#include <vlc_keys.h>
#include <vlc_keys.h>
int
VoutWindow
::
count
=
0
;
VoutWindow
::
VoutWindow
(
intf_thread_t
*
pIntf
,
vout_window_t
*
pWnd
,
VoutWindow
::
VoutWindow
(
intf_thread_t
*
pIntf
,
vout_window_t
*
pWnd
,
int
width
,
int
height
,
GenericWindow
*
pParent
)
:
int
width
,
int
height
,
GenericWindow
*
pParent
)
:
GenericWindow
(
pIntf
,
0
,
0
,
false
,
false
,
pParent
,
GenericWindow
(
pIntf
,
0
,
0
,
false
,
false
,
pParent
,
GenericWindow
::
VoutWindow
),
GenericWindow
::
VoutWindow
),
m_pWnd
(
pWnd
),
original_width
(
width
),
original_height
(
height
),
m_pWnd
(
pWnd
),
original_width
(
width
),
original_height
(
height
),
m_pParentWindow
(
pParent
),
m_pCtrlVideo
(
NULL
)
,
m_bFullscreen
(
false
)
m_pParentWindow
(
pParent
),
m_pCtrlVideo
(
NULL
)
{
{
// counter for debug
count
++
;
if
(
m_pWnd
)
if
(
m_pWnd
)
vlc_object_hold
(
m_pWnd
);
vlc_object_hold
(
m_pWnd
);
}
}
...
@@ -55,9 +49,6 @@ VoutWindow::~VoutWindow()
...
@@ -55,9 +49,6 @@ VoutWindow::~VoutWindow()
{
{
if
(
m_pWnd
)
if
(
m_pWnd
)
vlc_object_release
(
m_pWnd
);
vlc_object_release
(
m_pWnd
);
count
--
;
msg_Dbg
(
getIntf
(),
"VoutWindow count = %d"
,
count
);
}
}
...
@@ -94,12 +85,6 @@ void VoutWindow::setCtrlVideo( CtrlVideo* pCtrlVideo )
...
@@ -94,12 +85,6 @@ void VoutWindow::setCtrlVideo( CtrlVideo* pCtrlVideo )
}
}
void
VoutWindow
::
setFullscreen
(
bool
b_fullscreen
)
{
/*TODO: fullscreen implementation */
}
void
VoutWindow
::
processEvent
(
EvtKey
&
rEvtKey
)
void
VoutWindow
::
processEvent
(
EvtKey
&
rEvtKey
)
{
{
// Only do the action when the key is down
// Only do the action when the key is down
...
...
modules/gui/skins2/src/vout_window.hpp
View file @
e0674167
...
@@ -40,9 +40,6 @@ public:
...
@@ -40,9 +40,6 @@ public:
int
width
,
int
height
,
GenericWindow
*
pParent
=
NULL
);
int
width
,
int
height
,
GenericWindow
*
pParent
=
NULL
);
virtual
~
VoutWindow
();
virtual
~
VoutWindow
();
// counter used for debugging purpose
static
int
count
;
/// Make some functions public
/// Make some functions public
//@{
//@{
using
GenericWindow
::
show
;
using
GenericWindow
::
show
;
...
@@ -62,10 +59,6 @@ public:
...
@@ -62,10 +59,6 @@ public:
virtual
void
setCtrlVideo
(
CtrlVideo
*
pCtrlVideo
);
virtual
void
setCtrlVideo
(
CtrlVideo
*
pCtrlVideo
);
virtual
CtrlVideo
*
getCtrlVideo
(
)
{
return
m_pCtrlVideo
;
}
virtual
CtrlVideo
*
getCtrlVideo
(
)
{
return
m_pCtrlVideo
;
}
/// toggle fullscreen mode
virtual
void
setFullscreen
(
bool
b_fullscreen
);
virtual
bool
isFullscreen
()
{
return
m_bFullscreen
;
}
/// get original size of vout
/// get original size of vout
virtual
int
getOriginalWidth
(
)
{
return
original_width
;
}
virtual
int
getOriginalWidth
(
)
{
return
original_width
;
}
virtual
int
getOriginalHeight
(
)
{
return
original_height
;
}
virtual
int
getOriginalHeight
(
)
{
return
original_height
;
}
...
@@ -85,9 +78,6 @@ private:
...
@@ -85,9 +78,6 @@ private:
int
original_width
;
int
original_width
;
int
original_height
;
int
original_height
;
/// fulscreen mode indicator
bool
m_bFullscreen
;
/// VideoControl attached to it
/// VideoControl attached to it
CtrlVideo
*
m_pCtrlVideo
;
CtrlVideo
*
m_pCtrlVideo
;
...
...
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