From 3f7faa3a3bb80dc30e073d6b314a3cf7ce101088 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Mon, 9 Nov 2009 02:13:25 +0000 Subject: add get default color in theme. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@159 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- rtgui/common/rtgui_theme.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rtgui/common') diff --git a/rtgui/common/rtgui_theme.c b/rtgui/common/rtgui_theme.c index 5b4a069c64..a99030219d 100644 --- a/rtgui/common/rtgui_theme.c +++ b/rtgui/common/rtgui_theme.c @@ -441,3 +441,14 @@ void rtgui_theme_draw_iconbox(rtgui_iconbox_t* iconbox) rtgui_dc_end_drawing(dc); } +/* get default background color */ +rtgui_color_t rtgui_theme_default_bc() +{ + return default_background; +} + +/* get default foreground color */ +rtgui_color_t rtgui_theme_default_fc() +{ + return default_foreground; +} -- cgit v1.3.1