summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-08-03 17:35:19 +0200
committerMatthias Melcher <github@matthiasm.com>2023-08-03 17:35:27 +0200
commitee4ab86c3cbf8d03ea3bf0441943fc6928d91f09 (patch)
treec577cdc56e61446f43ef880556b52976eba6c161 /FL
parent0bf6a4b04419bca44fa775144649053848d6525d (diff)
#211: adds optional parameter for Fl_Input_::drawtext()
Does not change the original API but adds a function and keeps the original automatic.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Input_.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H
index 8c7a887f2..a800d7e49 100644
--- a/FL/Fl_Input_.H
+++ b/FL/Fl_Input_.H
@@ -193,6 +193,9 @@ protected:
/* Draw the text in the passed bounding box. */
void drawtext(int, int, int, int);
+ /* Draw the text in the passed bounding box. */
+ void drawtext(int, int, int, int, bool draw_active);
+
/* Move the cursor to the column given by up_down_pos. */
int up_down_position(int, int keepmark=0);