]> cygwin.com Git - cygwin-apps/setup.git/commit - PickPackageLine.h
Use an icon to represent expanded/collapsed state
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 17 Jul 2018 18:26:23 +0000 (19:26 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Sat, 13 Oct 2018 17:03:35 +0000 (18:03 +0100)
commitdb1c5abc5adae534968e941cef6e9286b96756e4
tree5e89db922328736f85461f092b8b1a862177215f
parentb8461b560c32425026382b4f3f191be962b984ae
Use an icon to represent expanded/collapsed state

Use a listview icon to represent expanded/collapsed state, rather than
puttting '[+]'/'[-]' in front of the category name

Just use the item icon directly to represent expanded/collapsed state,
rather than using a state icon as otherwise we have empty space where the
item icon would be, when it's size is being used for indenting.

The icons were made by tracing the previously used .bmp in Inkscape to
produce a .svg, then converting that to an icon with ImageMagick using
'convert -filter point -background transparent -define icon:auto-resize'

v2:
Drop execute mode (Achim Gratz)
12 files changed:
ListView.cc
ListView.h
Makefile.am
PickCategoryLine.cc
PickCategoryLine.h
PickPackageLine.h
res.rc
resource.h
tree-minus.ico [new file with mode: 0644]
tree-minus.svg [new file with mode: 0644]
tree-plus.ico [new file with mode: 0644]
tree-plus.svg [new file with mode: 0644]
This page took 0.095349 seconds and 5 git commands to generate.