Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
fce620e8
Commit
fce620e8
authored
Dec 29, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: don't draw control if non visible at initialisation
parent
1c3dea63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/skins2/src/generic_layout.cpp
modules/gui/skins2/src/generic_layout.cpp
+2
-1
No files found.
modules/gui/skins2/src/generic_layout.cpp
View file @
fce620e8
...
@@ -101,7 +101,8 @@ void GenericLayout::addControl( CtrlGeneric *pControl,
...
@@ -101,7 +101,8 @@ void GenericLayout::addControl( CtrlGeneric *pControl,
pControl
->
setLayout
(
this
,
rPosition
);
pControl
->
setLayout
(
this
,
rPosition
);
// Draw the control
// Draw the control
pControl
->
draw
(
*
m_pImage
,
rPosition
.
getLeft
(),
rPosition
.
getTop
()
);
if
(
pControl
->
isVisible
()
)
pControl
->
draw
(
*
m_pImage
,
rPosition
.
getLeft
(),
rPosition
.
getTop
()
);
// Add the control in the list.
// Add the control in the list.
// This list must remain sorted by layer order
// This list must remain sorted by layer order
...
...
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