Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
94fa0aeb
Commit
94fa0aeb
authored
Apr 01, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: use enum iso defines
parent
98b57857
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+7
-7
No files found.
modules/misc/text_renderer/freetype.c
View file @
94fa0aeb
...
...
@@ -136,13 +136,14 @@ static const char *const ppsz_sizes_text[] = {
#define EFFECT_LONGTEXT N_("It is possible to apply effects to the rendered " \
"text to improve its readability." )
#define EFFECT_BACKGROUND 1
#define EFFECT_OUTLINE 2
#define EFFECT_OUTLINE_FAT 3
static
int
const
pi_effects
[]
=
{
1
,
2
,
3
};
enum
{
EFFECT_BACKGROUND
=
1
,
EFFECT_OUTLINE
=
2
,
EFFECT_OUTLINE_FAT
=
3
,
};
static
int
const
pi_effects
[]
=
{
EFFECT_BACKGROUND
,
EFFECT_OUTLINE
,
EFFECT_OUTLINE_FAT
};
static
const
char
*
const
ppsz_effects_text
[]
=
{
N_
(
"Background"
),
N_
(
"Outline"
),
N_
(
"Fat Outline"
)
};
static
const
int
pi_color_values
[]
=
{
0x00000000
,
0x00808080
,
0x00C0C0C0
,
0x00FFFFFF
,
0x00800000
,
0x00FF0000
,
0x00FF00FF
,
0x00FFFF00
,
0x00808000
,
0x00008000
,
0x00008080
,
...
...
@@ -159,8 +160,7 @@ vlc_module_begin ()
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_SUBPIC
)
add_font
(
"freetype-font"
,
DEFAULT_FONT
,
FONT_TEXT
,
FONT_LONGTEXT
,
false
)
add_font
(
"freetype-font"
,
DEFAULT_FONT
,
FONT_TEXT
,
FONT_LONGTEXT
,
false
)
add_integer
(
"freetype-fontsize"
,
0
,
FONTSIZE_TEXT
,
FONTSIZE_LONGTEXT
,
true
)
...
...
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