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
cc371f30
Commit
cc371f30
authored
Jan 25, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: remove dead code
parent
ebd971c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
45 deletions
+0
-45
modules/gui/skins2/commands/cmd_resize.cpp
modules/gui/skins2/commands/cmd_resize.cpp
+0
-11
modules/gui/skins2/commands/cmd_resize.hpp
modules/gui/skins2/commands/cmd_resize.hpp
+0
-15
modules/gui/skins2/controls/ctrl_video.cpp
modules/gui/skins2/controls/ctrl_video.cpp
+0
-16
modules/gui/skins2/controls/ctrl_video.hpp
modules/gui/skins2/controls/ctrl_video.hpp
+0
-3
No files found.
modules/gui/skins2/commands/cmd_resize.cpp
View file @
cc371f30
...
...
@@ -44,17 +44,6 @@ void CmdResize::execute()
CmdResizeInnerVout
::
CmdResizeInnerVout
(
intf_thread_t
*
pIntf
,
CtrlVideo
*
pCtrlVideo
)
:
CmdGeneric
(
pIntf
),
m_pCtrlVideo
(
pCtrlVideo
)
{
}
void
CmdResizeInnerVout
::
execute
()
{
m_pCtrlVideo
->
resizeInnerVout
();
}
CmdResizeVout
::
CmdResizeVout
(
intf_thread_t
*
pIntf
,
vout_window_t
*
pWnd
,
int
width
,
int
height
)
:
CmdGeneric
(
pIntf
),
m_pWnd
(
pWnd
),
m_width
(
width
),
...
...
modules/gui/skins2/commands/cmd_resize.hpp
View file @
cc371f30
...
...
@@ -51,21 +51,6 @@ private:
};
/// Command to resize the inner vout window
class
CmdResizeInnerVout
:
public
CmdGeneric
{
public:
/// Resize the given layout
CmdResizeInnerVout
(
intf_thread_t
*
pIntf
,
CtrlVideo
*
pCtrlVideo
);
virtual
~
CmdResizeInnerVout
()
{
}
virtual
void
execute
();
virtual
string
getType
()
const
{
return
"resize inner vout"
;
}
private:
CtrlVideo
*
m_pCtrlVideo
;
};
/// Command to resize the vout window
class
CmdResizeVout
:
public
CmdGeneric
{
...
...
modules/gui/skins2/controls/ctrl_video.cpp
View file @
cc371f30
...
...
@@ -212,19 +212,3 @@ void CtrlVideo::detachVoutWindow( )
m_pVoutWindow
=
NULL
;
}
void
CtrlVideo
::
resizeInnerVout
(
)
{
if
(
m_pVoutWindow
)
{
WindowManager
&
rWindowManager
=
getIntf
()
->
p_sys
->
p_theme
->
getWindowManager
();
TopWindow
*
pWin
=
getWindow
();
const
Position
*
pPos
=
getPosition
();
m_pVoutWindow
->
resize
(
pPos
->
getWidth
(),
pPos
->
getHeight
()
);
m_pVoutWindow
->
move
(
pPos
->
getLeft
(),
pPos
->
getTop
()
);
}
}
modules/gui/skins2/controls/ctrl_video.hpp
View file @
cc371f30
...
...
@@ -66,9 +66,6 @@ public:
// Detach a voutWindow from a Video Control
void
detachVoutWindow
(
);
// Update the inner part of the Video Control
void
resizeInnerVout
(
);
// Get TopWindow associated with the video control
virtual
TopWindow
*
getWindow
()
{
return
CtrlGeneric
::
getWindow
();
}
...
...
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