Code

screen: move code to screen_init.c
[ncmpc.git] / src / screen_interface.h
index a5b29b90318ac2b8f6f9daa16bbddd3ea8eac70b..82962420f8c064ce11a90ae3e14e6e7b2910d31d 100644 (file)
@@ -1,5 +1,5 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
  *
  * This program is free software; you can redistribute it and/or modify
 struct mpdclient;
 
 struct screen_functions {
-       void (*init)(WINDOW *w, int cols, int rows);
+       void (*init)(WINDOW *w, unsigned cols, unsigned rows);
        void (*exit)(void);
        void (*open)(struct mpdclient *c);
        void (*close)(void);
-       void (*resize)(int cols, int rows);
+       void (*resize)(unsigned cols, unsigned rows);
        void (*paint)(void);
        void (*update)(struct mpdclient *c);