aboutsummaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authorJose Diez <jose.manuel.diez@gmail.com>2015-11-11 13:42:08 +0000
committerJose Diez <jose.manuel.diez@gmail.com>2015-11-11 13:43:13 +0000
commit3ec88a6a3940621d5ca36671887a85487ff15775 (patch)
tree72c4db676b146d6988a8c02c0c5325f9dd11bb98 /viewport.c
parentb4c5b57e5b0c24b38c01d09e41c370b00934bec1 (diff)
downloadimv-3ec88a6a3940621d5ca36671887a85487ff15775.tar.gz
Code cleanup: moved some SDL calls to the appropriate classes.
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/viewport.c b/viewport.c
index 4ba207f..1630604 100644
--- a/viewport.c
+++ b/viewport.c
@@ -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);
+}