diff options
| author | Greg Ercolano <erco@seriss.com> | 2025-03-28 12:54:16 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2025-03-28 12:54:16 -0700 |
| commit | 9e1e043af35e979f5ad0824fb74f6e7fab57be7d (patch) | |
| tree | c102f1b797e225236fa8f20fc35352b293f89ab2 /src | |
| parent | 1f715f8766d3a325c15ef59eebfec1dbc32b09d3 (diff) | |
Changed two connector methods to virtual
For reference, see fltk.general thread started Mar 26 2025, entitled:
"Make some Fl_Tree_Item methods virtual?"
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Tree_Item.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Tree_Item.cxx b/src/Fl_Tree_Item.cxx index 616a77392..5234bbd3c 100644 --- a/src/Fl_Tree_Item.cxx +++ b/src/Fl_Tree_Item.cxx @@ -705,7 +705,8 @@ int Fl_Tree_Item::swap_children(Fl_Tree_Item *a, Fl_Tree_Item *b) { return(0); } -/// Internal: Horizontal connector line based on preference settings. +/// Horizontal connector line based on preference settings. +/// This method can be overridden to implement custom connection line drawing. /// \param[in] x1 The left hand X position of the horizontal connector /// \param[in] x2 The right hand X position of the horizontal connector /// \param[in] y The vertical position of the horizontal connector @@ -730,7 +731,8 @@ void Fl_Tree_Item::draw_horizontal_connector(int x1, int x2, int y, const Fl_Tre } } -/// Internal: Vertical connector line based on preference settings. +/// Vertical connector line based on preference settings. +/// This method can be overridden to implement custom connection line drawing. /// \param[in] x The x position of the vertical connector /// \param[in] y1 The top of the vertical connector /// \param[in] y2 The bottom of the vertical connector |
