Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 8

PtMultiTextAttributes_t

Attributes for multiline text

Synopsis:

typedef struct
{
    char *          font;
    PgColor_t       text_color;
    PgColor_t       background_color;
    int             flags;
    void *          tag;

} PtMultiTextAttributes_t;

Description:

This structure describes a set of attributes for multiline text:

font
The font used to render text. This must be specified as the name of an existing font or as one of the following special values:
Pt_INHERIT_FONT
Use the same font as the previous range.
Pt_DEFAULT_FONT
Use the value of the Pt_ARG_TEXT_FONT resource.

Note: To make text bold/italic, change the font to a bold/italic typeface.

text_color
The color used for the text. This must be set to a valid color (i.e. a variable of type PgColor_t — see the Photon Library Reference) or one of the following special values:
Pt_INHERIT_COLOR
Use the same color as the previous range.
Pt_DEFAULT_COLOR
Use the value of the Pt_ARG_COLOR resource.
background_color
The color used as a background for the text. This must be set to a valid color (i.e. a variable of type PgColor_t) or one of the following special values:
Pt_INHERIT_COLOR
Use the same color as the previous range.
Pt_DEFAULT_COLOR
Use the value of the Pt_ARG_FILL_COLOR resource.
flags
For internal use.
tag
To be used at your application's discretion.

Classification:

Photon

See also:

PtMultiText, PtMultiTextInfo()

PgColor_t in the Photon Library Reference


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 179

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextattributes_t.html on line 179