[vlc-devel] [PATCH 2/2] Resize qt interface while keeping the aspect ratio (on windows)

Mario Speiß 1034-135 at online.de
Sun Jul 15 18:12:57 CEST 2012


On 15.07.2012 17:28, Rémi Denis-Courmont wrote:
> I am not convinced that using Qt functions from within the window procedure is
> very well defined.
I think this is exactly the position where platform specific 
events/messages should be handled if they are not supported by Qt.
>
> Le dimanche 15 juillet 2012 18:16:23 Mario Speiß, vous avez écrit :
>> Handling the WM_SIZING-message for windows along with the current video
>> size supports to resize the interface and keeping the aspect ratio (ticket
>> #6208). Works only for windows machines, though...
>
> Well, that bug report is explicitly about Ubuntu Linux so that won't help. You
> need to use ICCCM, though maybe Qt provides a nicer API.
>
On my windows machine VLC behaves exactly as described at #6208. As 
noted there this enhancement concerns 'all' platforms, so I tried a 
solution targetting at least one major platform. I am not too familiar 
with ICCCM...

Regards,
Mario




More information about the vlc-devel mailing list