Re: [gtk-vnc-devel] PATCH: Clear areas outside of framebuffer region



On Wed, Aug 22, 2007 at 03:47:03PM -0300, Jonh Wendell wrote:
> Em Qua, 2007-08-22 às 19:24 +0100, Daniel P. Berrange escreveu:
> > > 
> > > BTW, What do you think about putting the widget in the middle of area,
> > > instead of top left?
> > 
> > It would complicate the drawing code :-)  Can you put the vnc widget
> > inside the GTK alignment widget and let the alignment do the centering ?
> > 
> > Dan.
> 
> Ah, but the widget itself is big, isn't it? I mean, the black part
> belongs to widget, right?

Yes, the black part is part of the VNC widget. But if you embedded the
VNC widget inside an alignment I think the VNC widget would always
remain at the perfect size to match the remote framebuffer, and the GTK
alignment widget would take care of positioning & filling the extra space.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]