summaryrefslogtreecommitdiffstats
path: root/src/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.h')
-rw-r--r--src/widget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widget.h b/src/widget.h
index 04a6767..be7f79f 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -26,4 +26,9 @@ SDL_Texture *
mf_widget_text(TTF_Font *font, const char *text, SDL_Color *color,
SDL_Renderer *renderer, SDL_Rect *rect);
+SDL_Texture *
+mf_widget_button(TTF_Font *font, const char *text, SDL_Color *text_color,
+ SDL_Color *fill_color, int padding, SDL_Renderer *renderer,
+ SDL_Rect *rect);
+
#endif /* MF_WIDGET_H_ */