summaryrefslogtreecommitdiff
path: root/components/rtgui/common
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-14 03:34:24 +0000
committer[email protected] <[email protected]>2012-12-14 03:34:24 +0000
commit601eb6fe70aa10e4bf62f7a68915dc1ad7b37553 (patch)
tree129551544b46d6005dfdab4d4d9b09648114df15 /components/rtgui/common
parent5927bf0ac16df159910058ceffc798d07cbdc973 (diff)
sync RTGUI with github(https://github.com/RT-Thread/RTGUI) c4b8c0ac2a3de482357b88d584931831aed7c8ae
As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2481 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/common')
-rw-r--r--components/rtgui/common/font.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/rtgui/common/font.c b/components/rtgui/common/font.c
index 8739b0b4b0..f2518f8cf7 100644
--- a/components/rtgui/common/font.c
+++ b/components/rtgui/common/font.c
@@ -70,11 +70,13 @@ void rtgui_font_system_add_font(struct rtgui_font *font)
if (font->engine->font_load != RT_NULL)
font->engine->font_load(font);
}
+RTM_EXPORT(rtgui_font_system_add_font);
void rtgui_font_system_remove_font(struct rtgui_font *font)
{
rtgui_list_remove(&_rtgui_font_list, &(font->list));
}
+RTM_EXPORT(rtgui_font_system_remove_font);
struct rtgui_font *rtgui_font_default()
{
@@ -105,6 +107,7 @@ struct rtgui_font *rtgui_font_refer(const char *family, rt_uint16_t height)
return RT_NULL;
}
+RTM_EXPORT(rtgui_font_refer);
void rtgui_font_derefer(struct rtgui_font *font)
{