[vlc-devel] [PATCH] wx intf MinSize implementation(360)

· zcot · cutmancw at hotmail.com
Mon Oct 10 17:12:48 CEST 2005


Note: Fully implement minimum-size-enforcement scheme(x/y dimensions) for 
main wx intf window under conditions of audio-only media playing and/or 
--wx-embed'ded video playing and/or --wx-extended intf panel being used. 
This should finally "re"-close ticket #360 for what it originally really 
was. ;p  O_O

Gildas,

..it's like we had chatted about.. -here's some detail:

It all works around the added 3 wxSize members to class Interface.  They are 
stack variables, even though I wouldn't have chosen that first.. -but wxSize 
wasn't being very friendly for me. :/

Maybe you can remove those and just get the data dynamically from the 
existing member windows(slider,extra)... -with the exception of the 
originally calculated default size(wxSize Interface::default_size).

I had played around with trying to get the data dynamically, but couldn't 
get it worked out right because I'm not familiar enough with the 
sizer-frames and such.. -so it kept being a few pixels off each time(like 
the size of the surrounding window border around an inner sizer).

included attachment file: diff-wx-intf-minsizes-stackvars


zcot

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-wx-intf-minsizes-stackvars
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20051010/73c6e2a8/attachment.ksh>


More information about the vlc-devel mailing list