Fix "\todo provide user documentation for fl_set_status function"

This commit is contained in:
ManoloFLTK 2023-02-06 11:17:31 +01:00
parent a56c48079e
commit 57a87f7053
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);