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
da51bf44
Commit
da51bf44
authored
Aug 03, 2009
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add add_font define to plugin defines, and change freetype to use it
parent
c6f40f60
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
include/vlc_plugin.h
include/vlc_plugin.h
+4
-0
modules/misc/freetype.c
modules/misc/freetype.c
+1
-1
src/config/core.c
src/config/core.c
+1
-1
No files found.
include/vlc_plugin.h
View file @
da51bf44
...
...
@@ -315,6 +315,10 @@ enum vlc_module_properties
add_string_inner( CONFIG_ITEM_DIRECTORY, name, text, longtext, advc, \
p_callback, value )
#define add_font( name, value, p_callback, text, longtext, advc )\
add_string_inner( CONFIG_ITEM_FONT, name, text, longtext, advc, \
p_callback, value )
#define add_module( name, psz_caps, value, p_callback, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_MODULE, name, text, longtext, advc, \
p_callback, value ) \
...
...
modules/misc/freetype.c
View file @
da51bf44
...
...
@@ -142,7 +142,7 @@ vlc_module_begin ()
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_SUBPIC
)
add_f
ile
(
"freetype-font"
,
DEFAULT_FONT
,
NULL
,
FONT_TEXT
,
FONT_LONGTEXT
,
add_f
ont
(
"freetype-font"
,
DEFAULT_FONT
,
NULL
,
FONT_TEXT
,
FONT_LONGTEXT
,
false
)
add_integer
(
"freetype-fontsize"
,
0
,
NULL
,
FONTSIZE_TEXT
,
...
...
src/config/core.c
View file @
da51bf44
...
...
@@ -47,7 +47,7 @@ int IsConfigStringType (int type)
{
CONFIG_ITEM_STRING
,
CONFIG_ITEM_FILE
,
CONFIG_ITEM_MODULE
,
CONFIG_ITEM_DIRECTORY
,
CONFIG_ITEM_MODULE_CAT
,
CONFIG_ITEM_PASSWORD
,
CONFIG_ITEM_MODULE_LIST
,
CONFIG_ITEM_MODULE_LIST_CAT
CONFIG_ITEM_MODULE_LIST
,
CONFIG_ITEM_MODULE_LIST_CAT
,
CONFIG_ITEM_FONT
};
/* NOTE: this needs to be changed if we ever get more than 255 types */
...
...
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