|
Fl_Color | fl_color () |
| Returns the last fl_color() that was set. More...
|
|
void | fl_color (Fl_Color c) |
| Sets the color for all subsequent drawing operations. More...
|
|
void | fl_color (int c) |
| for back compatibility - use fl_color(Fl_Color c) instead
|
|
void | fl_color (uchar r, uchar g, uchar b) |
| Sets the color for all subsequent drawing operations. More...
|
|
Fl_Color | fl_color_average (Fl_Color color1, Fl_Color color2, float weight) |
| Returns the weighted average color between the two given colors. More...
|
|
Fl_Color | fl_contrast (Fl_Color fg, Fl_Color bg) |
| Returns a color that contrasts with the background color. More...
|
|
int | fl_descent () |
| Returns the recommended distance above the bottom of a fl_height() tall box to draw the text at so it looks centered vertically in that box.
|
|
Fl_Font | fl_font () |
| Returns the face set by the most recent call to fl_font(). More...
|
|
void | fl_font (Fl_Font face, Fl_Fontsize fsize) |
| Sets the current font, which is then used in various drawing routines. More...
|
|
int | fl_height () |
| Returns the recommended minimum line spacing for the current font. More...
|
|
FL_EXPORT int | fl_height (int font, int size) |
| This function returns the actual height of the specified font and size . More...
|
|
Fl_Color | fl_inactive (Fl_Color c) |
| Returns the inactive, dimmed version of the given color.
|
|
FL_EXPORT const char * | fl_latin1_to_local (const char *t, int n=-1) |
| Converts text from Windows/X11 latin1 character set to local encoding. More...
|
|
FL_EXPORT const char * | fl_local_to_latin1 (const char *t, int n=-1) |
| Converts text from local encoding to Windowx/X11 latin1 character set. More...
|
|
FL_EXPORT const char * | fl_local_to_mac_roman (const char *t, int n=-1) |
| Converts text from local encoding to Mac Roman character set. More...
|
|
FL_EXPORT const char * | fl_mac_roman_to_local (const char *t, int n=-1) |
| Converts text from Mac Roman character set to local encoding. More...
|
|
FL_EXPORT Fl_Color | fl_show_colormap (Fl_Color oldcol) |
| Pops up a window to let the user pick a colormap entry. More...
|
|
Fl_Fontsize | fl_size () |
| Returns the size set by the most recent call to fl_font(). More...
|
|
FL_EXPORT void | fl_text_extents (const char *, int &dx, int &dy, int &w, int &h) |
| Determines the minimum pixel dimensions of a nul-terminated string. More...
|
|
void | fl_text_extents (const char *t, int n, int &dx, int &dy, int &w, int &h) |
| Determines the minimum pixel dimensions of a sequence of n characters. More...
|
|
FL_EXPORT double | fl_width (const char *txt) |
| Returns the typographical width of a nul-terminated string using the current font face and size.
|
|
double | fl_width (const char *txt, int n) |
| Returns the typographical width of a sequence of n characters using the current font face and size.
|
|
double | fl_width (unsigned int c) |
| Returns the typographical width of a single character using the current font face and size. More...
|
|
ulong | fl_xpixel (Fl_Color i) |
| Returns the X pixel number used to draw the given FLTK color index. More...
|
|
ulong | fl_xpixel (uchar r, uchar g, uchar b) |
| Returns the X pixel number used to draw the given rgb color. More...
|
|
static void | Fl::free_color (Fl_Color i, int overlay=0) |
| Frees the specified color from the colormap, if applicable. More...
|
|
static unsigned | Fl::get_color (Fl_Color i) |
| Returns the RGB value(s) for the given FLTK color index. More...
|
|
static void | Fl::get_color (Fl_Color i, uchar &red, uchar &green, uchar &blue) |
| Returns the RGB value(s) for the given FLTK color index. More...
|
|
static const char * | Fl::get_font (Fl_Font) |
| Gets the string for this face. More...
|
|
static const char * | Fl::get_font_name (Fl_Font, int *attributes=0) |
| Get a human-readable string describing the family of this face. More...
|
|
static int | Fl::get_font_sizes (Fl_Font, int *&sizep) |
| Return an array of sizes in sizep . More...
|
|
static void | Fl::set_color (Fl_Color i, unsigned c) |
| Sets an entry in the fl_color index table. More...
|
|
static void | Fl::set_color (Fl_Color, uchar, uchar, uchar) |
| Sets an entry in the fl_color index table. More...
|
|
static void | Fl::set_font (Fl_Font, const char *) |
| Changes a face. More...
|
|
static void | Fl::set_font (Fl_Font, Fl_Font) |
| Copies one face to another.
|
|
static Fl_Font | Fl::set_fonts (const char *=0) |
| FLTK will open the display, and add every fonts on the server to the face table. More...
|
|