summaryrefslogtreecommitdiff
path: root/src/gui/fpg_editbtn.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-10-26 11:50:35 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-10-26 11:50:35 +0200
commita395588c4b27366e015189179e29f5fafad79c41 (patch)
tree9719262e6978e113078a82e5a28b455da2d1c945 /src/gui/fpg_editbtn.pas
parent5cb83741d2c7a6b283cfe84e6b528201282d7732 (diff)
downloadfpGUI-a395588c4b27366e015189179e29f5fafad79c41.tar.xz
treeview: implemented StateImageList support (treeview with checkboxes for example)
- Added StateImageList to TfpgTreeview - Added StateImageIndex to TfpgTreeNode - Added OnStateImageClicked event for TfpgTreeview. - Reworked the TfpgTreeview.HandlePaint() method for the new functionality, and also removed all the code duplication that existed before. - The node selection rectangle now only cover the text portion of a node, and note the images related to that node. - Minor bugfix in the selection rectangle, when depending on various properties, the selection rectangle was too small, and the node text wasn't fully visible.
Diffstat (limited to 'src/gui/fpg_editbtn.pas')
0 files changed, 0 insertions, 0 deletions