jankammerath / iptvx

IPTV player and streamer for Linux that allows to play any stream that LibVLC can play, offers an overlay based on WebKit using HTML5, JavaScript and CSS and uses XMLTV data for EPG information. It allows the playback of URLs, files and can grab URLs from shell scripts. XMLTV EPG data can be downloaded from URLs or grabbed from shell scripts.
http://iptvx.org
Apache License 2.0
83 stars 37 forks source link

Make SDL window resizable and optionally fullscreen #23

Open jankammerath opened 7 years ago

jankammerath commented 7 years ago

F key should make it go fullscreen and in window mode the window should be resizable.

jankammerath commented 7 years ago

I implemented fullscreen toggle. In the SDL documentation it describes how to define a window as resizable: https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlsetvideomode.html

The problem however with the SDL_RESIZABLE flag is that it signals the resize event which then requires all elements (LibVLC, WebKit2Gtk and SDL) to resize theirselves. Also patched issues where the dimensions defined in config were not considered by WebKit.

However all of this work does not reflect the initial ticket purpose, so I removed the milestone tag and will keep it for a later version. Beta 0.7 or even 1.0 would be suitable as this at the moment is nice to have.