diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-01-15 22:16:50 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-01-15 23:48:00 +0100 |
| commit | dde2d21b5d2f066c616593dc8d51c89eba239b3d (patch) | |
| tree | 0c458e881cdf185e33c93954fdd0a9db917f1307 /examples/browser-simple.cxx | |
| parent | 02ca05c6b2990ba3401867303ea5c5de0c358897 (diff) | |
Improve deriving from Fl_Chart (STR 2022)
This commit makes the local, static drawing functions in the source
file available for subclasses by converting them to static protected
methods as requested by STR 2022.
The source and header files have been reformatted according to the
CMP, documentation for the new protected methods was added.
Source code *functionality* has not been changed.
This resolves and closes STR 2022.
Todo:
- investigate whether these drawing methods wouldn't better be
member functions and "convert" them if applicable
- investigate whether the internal struct FL_CHART_ENTRY could become
a local part of the Fl_Chart class, maybe Fl_Chart::Entry.
- rename private member variables with trailing underscore (see CMP)
Diffstat (limited to 'examples/browser-simple.cxx')
0 files changed, 0 insertions, 0 deletions
