mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Main packages have now different icon when selecting package
git-svn-id: svn://ultimatepp.org/upp/trunk@8220 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d9b0a5c7e7
commit
feff86af10
1 changed files with 5 additions and 2 deletions
|
|
@ -366,8 +366,11 @@ void SelectPackageDlg::SyncList()
|
|||
bpd.fnt.Bold();
|
||||
for(int i = 0; i < packages.GetCount(); i++) {
|
||||
const PkInfo& pkg = packages[i];
|
||||
clist.Add(pkg.package, IsNull(pkg.icon) ? IdeImg::Package() : pkg.icon);
|
||||
alist.Add(pkg.package, pkg.nest, pkg.description, pkg.icon);
|
||||
Image icon = pkg.icon;
|
||||
if(IsNull(icon))
|
||||
icon = pkg.main ? IdeImg::MainPackage() : IdeImg::Package();
|
||||
clist.Add(pkg.package, icon);
|
||||
alist.Add(pkg.package, pkg.nest, pkg.description, icon);
|
||||
alist.SetDisplay(alist.GetCount() - 1, 0, pkg.main ? bpd : pd);
|
||||
}
|
||||
if(!alist.FindSetCursor(n))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue