Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7382d170
Commit
7382d170
authored
Apr 05, 2013
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: remove unneeded code
parent
a678569e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
modules/gui/skins2/controls/ctrl_slider.cpp
modules/gui/skins2/controls/ctrl_slider.cpp
+0
-19
modules/gui/skins2/controls/ctrl_slider.hpp
modules/gui/skins2/controls/ctrl_slider.hpp
+0
-5
No files found.
modules/gui/skins2/controls/ctrl_slider.cpp
View file @
7382d170
...
@@ -185,25 +185,6 @@ void CtrlSliderCursor::onResize()
...
@@ -185,25 +185,6 @@ void CtrlSliderCursor::onResize()
}
}
void
CtrlSliderCursor
::
notifyLayout
(
int
width
,
int
height
,
int
xOffSet
,
int
yOffSet
)
{
if
(
width
>
0
&&
height
>
0
)
{
CtrlGeneric
::
notifyLayout
(
width
,
height
,
xOffSet
,
yOffSet
);
}
else
{
onPositionChange
();
const
Position
*
pPos
=
getPosition
();
CtrlGeneric
::
notifyLayout
(
m_currentCursorRect
.
width
,
m_currentCursorRect
.
height
,
m_currentCursorRect
.
x
-
pPos
->
getLeft
(),
m_currentCursorRect
.
y
-
pPos
->
getTop
()
);
}
}
void
CtrlSliderCursor
::
onUpdate
(
Subject
<
VarPercent
>
&
rVariable
,
void
*
arg
)
void
CtrlSliderCursor
::
onUpdate
(
Subject
<
VarPercent
>
&
rVariable
,
void
*
arg
)
{
{
(
void
)
rVariable
;
(
void
)
arg
;
(
void
)
rVariable
;
(
void
)
arg
;
...
...
modules/gui/skins2/controls/ctrl_slider.hpp
View file @
7382d170
...
@@ -71,11 +71,6 @@ public:
...
@@ -71,11 +71,6 @@ public:
/// Method called when the control is resized
/// Method called when the control is resized
virtual
void
onResize
();
virtual
void
onResize
();
/// Method called to notify are to be updated
virtual
void
notifyLayout
(
int
witdh
=
-
1
,
int
height
=
-
1
,
int
xOffSet
=
0
,
int
yOffSet
=
0
);
/// Get the text of the tooltip
/// Get the text of the tooltip
virtual
UString
getTooltipText
()
const
{
return
m_tooltip
;
}
virtual
UString
getTooltipText
()
const
{
return
m_tooltip
;
}
...
...
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