|
fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
#include <FL/fl_utf8.h>#include <FL/Fl.H>#include <FL/fl_draw.H>#include <FL/Fl_Image.H>#include "flstring.h"#include <ctype.h>#include <math.h>
Go to the source code of this file.
Defines | |
| #define | min(a, b) ((a)<(b)?(a):(b)) |
| #define | MAXBUF 1024 |
| #define | C_IN(c, a, b) ((c)>=(a) && (c)<=(b)) |
| #define | C_UTF8(c) C_IN(c,0x80,0xBF) |
Functions | |
| const char * | fl_expand_text (const char *from, char *buf, int maxbuf, double maxw, int &n, double &width, int wrap, int draw_symbols) |
| void | fl_draw (const char *str, int x, int y, int w, int h, Fl_Align align, void(*callthis)(const char *, int, int, int), Fl_Image *img, int draw_symbols) |
| void | fl_draw (const char *str, int x, int y, int w, int h, Fl_Align align, Fl_Image *img, int draw_symbols) |
| void | fl_measure (const char *str, int &w, int &h, int draw_symbols) |
| int | fl_height (int font, int size) |
Variables | |
| char | fl_draw_shortcut |
utf8 multibyte char seq. detection an pass-thru routine.
| false | if no utf8 seq detected, no change made. true if utf8 and d copied with s seq. note that for n bytes copied dest incremented of n, but s of n-1 for compatible loop use see below. |
Definition at line 56 of file fl_draw.cxx.
| #define C_UTF8 | ( | c | ) | C_IN(c,0x80,0xBF) |
Definition at line 57 of file fl_draw.cxx.
| #define MAXBUF 1024 |
Definition at line 45 of file fl_draw.cxx.
Referenced by fl_draw(), and fl_measure().
Definition at line 35 of file fl_draw.cxx.
Referenced by align_widget_cb(), Fl_Valuator::bounds(), Fl_Chart::bounds(), Fl_Text_Display::buffer_modified_cb(), Fl_Text_Display::draw_line_numbers(), Fl_Text_Display::draw_vline(), Fl_Text_Display::find_line_end(), Fl_Text_Display::find_wrap_range(), fl_draw(), inflate_table(), Fl_Valuator::minimum(), Fl_Text_Buffer::outputfile(), Fl_Text_Display::position_style(), Fl_Valuator::range(), Fl_Text_Display::redisplay_range(), Fl_Text_Buffer::redisplay_selection(), and Fl_Text_Selection::set().
| char fl_draw_shortcut |
Definition at line 47 of file fl_draw.cxx.
Referenced by Fl_Menu_Item::draw(), Fl_Choice::draw(), Fl_Widget::draw_label(), fl_expand_text(), and Fl_Menu_Item::measure().