Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
87569b6b
Commit
87569b6b
authored
Apr 06, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment text_style_t, reorder and type changes
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
7c37dd1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
include/vlc_text_style.h
include/vlc_text_style.h
+17
-8
No files found.
include/vlc_text_style.h
View file @
87569b6b
...
...
@@ -38,34 +38,43 @@ extern "C" {
*/
typedef
struct
{
/* Family font names */
char
*
psz_fontname
;
/**< The name of the font */
char
*
psz_monofontname
;
/**< The name of the mono font */
/* Font style */
int
i_font_size
;
/**< The font size in pixels */
int
i_font_color
;
/**< The color of the text 0xRRGGBB
(native endianness) */
u
nsigned
i_font_alpha
;
/**< The transparency of the text.
u
int8_t
i_font_alpha
;
/**< The transparency of the text.
0x00 is fully opaque,
0xFF fully transparent */
int
i_style_flags
;
/**< Formatting style flags */
int
i_spacing
;
/**< The spaceing between glyphs in pixels */
/* Outline */
int
i_outline_color
;
/**< The color of the outline 0xRRGGBB */
int
i_outline_alpha
;
/**< The transparency of the outline.
uint8_t
i_outline_alpha
;
/**< The transparency of the outline.
0x00 is fully opaque,
0xFF fully transparent */
int
i_outline_width
;
/**< The width of the outline in pixels */
/* Shadow */
int
i_shadow_color
;
/**< The color of the shadow 0xRRGGBB */
int
i_shadow_alpha
;
/**< The transparency of the shadow.
uint8_t
i_shadow_alpha
;
/**< The transparency of the shadow.
0x00 is fully opaque,
0xFF fully transparent */
int
i_shadow_width
;
/**< The width of the shadow in pixels */
/* Background (and karaoke) */
int
i_background_color
;
/**< The color of the background 0xRRGGBB */
int
i_background_alpha
;
/**< The transparency of the background.
uint8_t
i_background_alpha
;
/**< The transparency of the background.
0x00 is fully opaque,
0xFF fully transparent */
int
i_karaoke_background_color
;
/**< Background color for karaoke 0xRRGGBB */
int
i_karaoke_background_alpha
;
/**< The transparency of the karaoke bg.
uint8_t
i_karaoke_background_alpha
;
/**< The transparency of the karaoke bg.
0x00 is fully opaque,
0xFF fully transparent */
int
i_outline_width
;
/**< The width of the outline in pixels */
int
i_shadow_width
;
/**< The width of the shadow in pixels */
int
i_spacing
;
/**< The spaceing between glyphs in pixels */
}
text_style_t
;
/* Style flags for \ref text_style_t */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment