summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-18 17:08:46 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-18 17:08:46 +0200
commit801b16d29756a1c686c502e6d1988b6d5c51db71 (patch)
tree9e4d415900bd5c1d8e934bb9e22afc697a7cf6bc /src
parentc5b339a2f692b27fb239386ceafc1145e967773b (diff)
downloadfpGUI-801b16d29756a1c686c502e6d1988b6d5c51db71.tar.xz
Treeview: Bumped up the visibility of some handy methods.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_tree.pas12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas
index d8f3fde2..6081a1c3 100644
--- a/src/gui/fpg_tree.pas
+++ b/src/gui/fpg_tree.pas
@@ -209,12 +209,6 @@ type
procedure DrawHeader(ACol: integer; ARect: TfpgRect; AFlags: integer); virtual;
procedure DoChange; virtual;
procedure DoExpand(ANode: TfpgTreeNode); virtual;
- // only visual (visible) nodes
- function NextVisualNode(ANode: TfpgTreeNode): TfpgTreeNode;
- function PrevVisualNode(ANode: TfpgTreeNode): TfpgTreeNode;
- // any next node, even if node is collapsed
- function NextNode(ANode: TfpgTreeNode): TfpgTreeNode;
- function PrevNode(ANode: TfpgTreeNode): TfpgTreeNode;
// the nodes between the given node and the direct next node
function SpaceToVisibleNext(aNode: TfpgTreeNode): integer;
function StepToRoot(aNode: TfpgTreeNode): integer;
@@ -228,6 +222,12 @@ type
procedure GotoNextNodeDown;
procedure FullCollapse;
procedure FullExpand;
+ // any next node, even if node is collapsed
+ function NextNode(ANode: TfpgTreeNode): TfpgTreeNode;
+ function PrevNode(ANode: TfpgTreeNode): TfpgTreeNode;
+ // only visual (visible) nodes
+ function NextVisualNode(ANode: TfpgTreeNode): TfpgTreeNode;
+ function PrevVisualNode(ANode: TfpgTreeNode): TfpgTreeNode;
property Font: TfpgFont read FFont;
// Invisible node that starts the tree
property RootNode: TfpgTreeNode read GetRootNode;