FLTK 1.3.4
Fl_Text_Display::Style_Table_Entry Struct Reference

This structure associates the color, font, and font size of a string to draw with an attribute mask matching attr. More...

#include <Fl_Text_Display.H>

Public Attributes

unsigned attr
 currently unused (this may be change in the future)
 
Fl_Color color
 text color
 
Fl_Font font
 text font
 
Fl_Fontsize size
 text font size
 

Detailed Description

This structure associates the color, font, and font size of a string to draw with an attribute mask matching attr.

There must be one entry for each style that can be used in an Fl_Text_Display for displaying text. The style table is an array of struct Style_Table_Entry.

The style table is associated with an Fl_Text_Display by using Fl_Text_Display::highlight_data().

See Also
Fl_Text_Display::highlight_data()

The documentation for this struct was generated from the following file: