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
6e6cae5b
Commit
6e6cae5b
authored
Sep 03, 2005
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/controls/ctrl_tree.cpp: Fixed a nasty bug. The tree playlist should
now be much more stable.
parent
81b184ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
modules/gui/skins2/controls/ctrl_tree.cpp
modules/gui/skins2/controls/ctrl_tree.cpp
+16
-13
No files found.
modules/gui/skins2/controls/ctrl_tree.cpp
View file @
6e6cae5b
...
...
@@ -43,19 +43,19 @@
CtrlTree
::
CtrlTree
(
intf_thread_t
*
pIntf
,
VarTree
&
rTree
,
const
GenericFont
&
rFont
,
const
GenericBitmap
*
pBgBitmap
,
const
GenericBitmap
*
pItemBitmap
,
const
GenericBitmap
*
pOpenBitmap
,
const
GenericBitmap
*
pClosedBitmap
,
uint32_t
fgColor
,
uint32_t
playColor
,
uint32_t
bgColor1
,
uint32_t
bgColor2
,
uint32_t
selColor
,
const
UString
&
rHelp
,
VarBool
*
pVisible
)
:
VarTree
&
rTree
,
const
GenericFont
&
rFont
,
const
GenericBitmap
*
pBgBitmap
,
const
GenericBitmap
*
pItemBitmap
,
const
GenericBitmap
*
pOpenBitmap
,
const
GenericBitmap
*
pClosedBitmap
,
uint32_t
fgColor
,
uint32_t
playColor
,
uint32_t
bgColor1
,
uint32_t
bgColor2
,
uint32_t
selColor
,
const
UString
&
rHelp
,
VarBool
*
pVisible
)
:
CtrlGeneric
(
pIntf
,
rHelp
,
pVisible
),
m_rTree
(
rTree
),
m_rFont
(
rFont
),
m_pBgBitmap
(
pBgBitmap
),
m_pItemBitmap
(
pItemBitmap
),
m_pOpenBitmap
(
pOpenBitmap
),
m_pClosedBitmap
(
pClosedBitmap
),
...
...
@@ -132,6 +132,9 @@ int CtrlTree::maxItems()
void
CtrlTree
::
onUpdate
(
Subject
<
VarTree
>
&
rTree
)
{
// Invalidate the position when the tree is updated
m_lastPos
=
m_rTree
.
begin
();
autoScroll
();
m_pLastSelected
=
NULL
;
}
...
...
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