iptvx icon indicating copy to clipboard operation
iptvx copied to clipboard

Make SDL window resizable and optionally fullscreen

Open jankammerath opened this issue 7 years ago • 1 comments

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

jankammerath avatar Jan 30 '17 14:01 jankammerath

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.

jankammerath avatar Jan 30 '17 19:01 jankammerath