diff options
Diffstat (limited to 'viewport.c')
-rw-r--r-- | viewport.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -112,3 +112,8 @@ void imv_viewport_set_redraw(struct imv_viewport *view) { view->redraw = 1; } + +void imv_viewport_set_title(struct imv_viewport *view, char* title) +{ + SDL_SetWindowTitle(view->window, title); +} |