summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-06 11:17:31 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-06 11:17:31 +0100
commit57a87f705324305092a671193784af596a340949 (patch)
tree91f981841338da3846aaaaa2a199cb862c7c51db
parenta56c48079e8d691611c62c92f2cf49b3fb6345d2 (diff)
Fix "\todo provide user documentation for fl_set_status function"
-rw-r--r--FL/fl_draw.H1
-rw-r--r--src/fl_font.cxx5
2 files changed, 5 insertions, 1 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index 2c08fe6c3..7f46a80f7 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -1120,7 +1120,6 @@ FL_EXPORT const char *fl_expand_text(const char *from, char *buf, int maxbuf, do
int &n, double &width, int wrap, int draw_symbols = 0);
// XIM:
-/** \todo provide user documentation for fl_set_status function */
FL_EXPORT void fl_set_status(int X, int Y, int W, int H);
/** Inform text input methods about the current text insertion cursor.
\param font Font currently in use in text input.
diff --git a/src/fl_font.cxx b/src/fl_font.cxx
index 423c49ab9..36004ae05 100644
--- a/src/fl_font.cxx
+++ b/src/fl_font.cxx
@@ -60,6 +60,11 @@ void fl_reset_spot()
Fl::screen_driver()->reset_spot();
}
+/** Related to text input methods under X11.
+ This function is presently used only by the \c utf8 test application and only for the X11 platform.
+ This function is apparently not indispensable for text input to work correctly
+ as suggested by other apps that don't use it (e.g., editor).
+ */
void fl_set_status(int X, int Y, int W, int H)
{
Fl::screen_driver()->set_status(X, Y, W, H);