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
b8330f3a
Commit
b8330f3a
authored
Apr 05, 2013
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: cosmetic
parent
66d45378
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/skins2/controls/ctrl_slider.cpp
modules/gui/skins2/controls/ctrl_slider.cpp
+3
-3
No files found.
modules/gui/skins2/controls/ctrl_slider.cpp
View file @
b8330f3a
...
...
@@ -327,8 +327,8 @@ CtrlSliderBg::CtrlSliderBg( intf_thread_t *pIntf,
// TODO: we should probably change this assumption, as it would make
// the code a bit simpler and it would be more natural for the skins
// designers
m_bgWidth
=
(
pBackground
->
getWidth
()
+
m_padHoriz
)
/
nbHoriz
;
m_bgHeight
=
(
pBackground
->
getHeight
()
+
m_padVert
)
/
nbVert
;
m_bgWidth
=
(
pBackground
->
getWidth
()
+
m_padHoriz
)
/
m_
nbHoriz
;
m_bgHeight
=
(
pBackground
->
getHeight
()
+
m_padVert
)
/
m_
nbVert
;
// Observe the position variable
m_rVariable
.
addObserver
(
this
);
...
...
@@ -361,7 +361,7 @@ bool CtrlSliderBg::mouseOver( int x, int y ) const
void
CtrlSliderBg
::
draw
(
OSGraphics
&
rImage
,
int
xDest
,
int
yDest
,
int
w
,
int
h
)
{
if
(
!
m_pImgSeq
||
m_bgWidth
<=
0
||
m_bgHeight
<=
0
)
if
(
!
m_pImgSeq
||
m_bgWidth
<=
0
||
m_bgHeight
<=
0
)
return
;
// Compute the resize factors
...
...
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