aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 13:05:27 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 13:05:27 +1000
commitcbf1d4dfa095bc1fae927228ad108b6086738f01 (patch)
tree158ad908c0cd4d2f96218dfbbf8eb647c2609b91 /src/gwin/gwin.h
parenta24fab0d7217aaae1463f62d5d1381ef820cfa17 (diff)
downloaduGFX-cbf1d4dfa095bc1fae927228ad108b6086738f01.tar.gz
uGFX-cbf1d4dfa095bc1fae927228ad108b6086738f01.tar.bz2
uGFX-cbf1d4dfa095bc1fae927228ad108b6086738f01.zip
Added type gFont to replace V2.x font_t
Diffstat (limited to 'src/gwin/gwin.h')
-rw-r--r--src/gwin/gwin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gwin/gwin.h b/src/gwin/gwin.h
index aad87efc..557d3373 100644
--- a/src/gwin/gwin.h
+++ b/src/gwin/gwin.h
@@ -52,7 +52,7 @@ typedef struct GWindowObject {
gColor bgcolor; /**< The current background drawing color */
uint32_t flags; /**< Window flags (the meaning is private to the GWIN class) */
#if GDISP_NEED_TEXT
- font_t font; /**< The current font */
+ gFont font; /**< The current font */
#endif
#if GWIN_NEED_CONTAINERS
GHandle parent; /**< The parent window */
@@ -174,7 +174,7 @@ gColor gwinGetDefaultBgColor(void);
*
* @api
*/
- void gwinSetDefaultFont(font_t font);
+ void gwinSetDefaultFont(gFont font);
/**
* @brief Get the current default font
@@ -183,7 +183,7 @@ gColor gwinGetDefaultBgColor(void);
*
* @api
*/
- font_t gwinGetDefaultFont(void);
+ gFont gwinGetDefaultFont(void);
#endif
/*-------------------------------------------------
@@ -595,7 +595,7 @@ void gwinRedraw(GHandle gh);
*
* @api
*/
- void gwinSetFont(GHandle gh, font_t font);
+ void gwinSetFont(GHandle gh, gFont font);
#endif
/*-------------------------------------------------