demos: c_simple: showimage: Handle SYS_RESIZE
commitc5eee130375dd816b5e5a94ac24d9b2b5a4bf168
authorCyril Hrubis <metan@ucw.cz>
Sat, 19 Dec 2015 21:49:43 +0000 (19 22:49 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sat, 19 Dec 2015 21:49:43 +0000 (19 22:49 +0100)
treee823fdafa928d29df2be64c447c294c217eea254
parent619a12314f7dee80aff4bdcdcabd4918300af001
demos: c_simple: showimage: Handle SYS_RESIZE

Adds SYS_RESIZE event handling and centers the image in the window.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
demos/c_simple/showimage.c