From ee4ab86c3cbf8d03ea3bf0441943fc6928d91f09 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 3 Aug 2023 17:35:19 +0200 Subject: #211: adds optional parameter for Fl_Input_::drawtext() Does not change the original API but adds a function and keeps the original automatic. --- FL/Fl_Input_.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL') 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); -- cgit v1.2.3