VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vlc_text_style.h File Reference
Include dependency graph for vlc_text_style.h:

Go to the source code of this file.

Data Structures

struct  text_style_t
 Text style. More...

Macros

#define STYLE_BOLD   1
#define STYLE_ITALIC   2
#define STYLE_OUTLINE   4
#define STYLE_SHADOW   8
#define STYLE_BACKGROUND   16
#define STYLE_UNDERLINE   32
#define STYLE_STRIKEOUT   64

Functions

text_style_ttext_style_New (void)
 Create a default text style.
text_style_ttext_style_Copy (text_style_t *, const text_style_t *)
 Copy a text style into another.
text_style_ttext_style_Duplicate (const text_style_t *)
 Duplicate a text style.
void text_style_Delete (text_style_t *)
 Delete a text style created by text_style_New or text_style_Duplicate.

Macro Definition Documentation

#define STYLE_BACKGROUND   16
#define STYLE_BOLD   1
#define STYLE_ITALIC   2
#define STYLE_OUTLINE   4

Referenced by text_style_New().

#define STYLE_SHADOW   8
#define STYLE_STRIKEOUT   64
#define STYLE_UNDERLINE   32

Function Documentation

text_style_t* text_style_Copy ( text_style_t ,
const text_style_t  
)

Copy a text style into another.

References text_style_t::psz_fontname, and strdup().

Referenced by text_style_Duplicate().

void text_style_Delete ( text_style_t )

Delete a text style created by text_style_New or text_style_Duplicate.

References text_style_t::psz_fontname.

Referenced by subpicture_region_Delete().

text_style_t* text_style_Duplicate ( const text_style_t )

Duplicate a text style.

References text_style_Copy().

text_style_t* text_style_New ( void  )