aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_label.c')
-rw-r--r--src/gwin/gwin_label.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gwin/gwin_label.c b/src/gwin/gwin_label.c
index b78e4b3b..9b62679f 100644
--- a/src/gwin/gwin_label.c
+++ b/src/gwin/gwin_label.c
@@ -40,8 +40,6 @@ static coord_t getheight(const char *text, font_t font, coord_t maxwidth) {
return gdispGetFontMetric(font, fontHeight);
}
-static void gwinLabelDefaultDraw(GWidgetObject *gw, void *param);
-
static const gwidgetVMT labelVMT = {
{
"Label", // The class name
@@ -136,7 +134,7 @@ void gwinLabelSetBorder(GHandle gh, bool_t border) {
}
#endif // GWIN_LABEL_ATTRIBUTE
-static void gwinLabelDefaultDraw(GWidgetObject *gw, void *param) {
+void gwinLabelDefaultDraw(GWidgetObject *gw, void *param) {
coord_t w, h;
color_t c;
(void) param;