spiv: Add zoom modes.
commit5885e81e95f27117da33f1b68cdd7a88c3fad9c6
authorCyril Hrubis <metan@ucw.cz>
Sun, 10 Nov 2013 20:45:47 +0000 (10 21:45 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sun, 10 Nov 2013 20:50:25 +0000 (10 21:50 +0100)
tree4fb69889c44d37c324ed75a9db0fecca03844065
parent563e33e98b525b7b07f233389e7c522bbfd7aaec
spiv: Add zoom modes.

Finally spiv gets support for different zoom modes.

There are three zoom options:

* Fixed / Resizeable Window

* Turn On/Off Donwscale

* Turn On/Off Upscale

+ Maximal window size, which works best if you set it
  to your resolution - window decoration size.

What is still broken is fullscreen mode, we must not mess with window
size when we entered fullscreen (which needs a fix at a backend level
first.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
demos/spiv/spiv.c
demos/spiv/spiv_config.c
demos/spiv/spiv_config.h
demos/spiv/spiv_help.c