diff options
| author | bernard.xiong <[email protected]> | 2009-11-09 02:13:25 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2009-11-09 02:13:25 +0000 |
| commit | 3f7faa3a3bb80dc30e073d6b314a3cf7ce101088 (patch) | |
| tree | 0aa212e629d8f75736a2b8460dac7d17aa71f3e0 /rtgui/common/rtgui_theme.c | |
| parent | 42e2844616a42aa57d2da3964c44f98c6df1bc85 (diff) | |
add get default color in theme.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@159 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'rtgui/common/rtgui_theme.c')
| -rw-r--r-- | rtgui/common/rtgui_theme.c | 11 |
1 files changed, 11 insertions, 0 deletions
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;
+}
|
