diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-12-07 17:31:09 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-12-07 17:31:14 +0100 |
| commit | d1ba7fbf5022ac1f14d63ca8a3cf264f7cee334d (patch) | |
| tree | 8b5c3b4c04feaf00415c2d716ca02399b86bd258 /FL/Fl_Text_Display.H | |
| parent | c87e5c755d5a889feb879e89347280b33cfc26ec (diff) | |
Giving access to some Fl_Text_Display member variables (#1153)
And typos in FLUID source code docs.
Diffstat (limited to 'FL/Fl_Text_Display.H')
| -rw-r--r-- | FL/Fl_Text_Display.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 533839a04..0cf218383 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -537,7 +537,11 @@ protected: void xy_to_rowcol(int x, int y, int* row, int* column, int PosType = CHARACTER_POS) const; void maintain_absolute_top_line_number(int state); +public: int get_absolute_top_line_number() const; + int scroll_row() { return mTopLineNum; } + int scroll_col() { return mHorizOffset; } +protected: void absolute_top_line_number(int oldFirstChar); int maintaining_absolute_top_line_number() const; void reset_absolute_top_line_number(); |
