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

Re: gEDA: patch fixes xinerama, ports to GTK2



Stefan Petersen wrote:
> Sorry if I haven't answered this 'til now. Was on work trip to UK.
> 
>>The attached patch updates gerbv to use GTK+ 2.2.  It also
>>fixes a problem which makes gerbv have too large of a window
>>on multihead X servers.
> 
> 
> As Ales pointed out it will remove support for GTK 1.2 and I will not
> remove that for a long while. Though it's a good thing to support GTK 2.2.
> I don't know if 2.2 is compatible with 1.2 so I must change anything to be
> able to use 2.2 _at all_?

Theoretically it should be possible to compile gerbv without changes 
using any gtk+ version >1.2. Anyway - I did not tried this, please 
report problems if you encounter them...

Basically you run in problems when you use the new gtk2 API features, 
then it won't be backwards compatible anymore.


> As Holger sent out he has made some changes in the branch BRANCH_render_1
> to window size and key functions.

Right now the minimum gerbv window size is still limited because the 
layout is specified in a way that all child widgets have to fit in. 
Maybe we want to change this so that you can achieve arbitrary main 
window sizes...


> So...if people really want to live on the bleeding edge there is a branch
> in the gerbv repository called BRANCH_render_1 you can test. Everything
> should work there except png-export, which hasn't been "ported" yet.

Basically this work is intended to add OpenGL support for the screen 
renderer in order to achieve a more intuitive look of layers (mainly by 
introducing transparency) and graphics acceleration on cards that 
support it.

The renderer is now encapsulated in a way that it's pretty 
straightforward possible to hook in any other renderer, look in 
draw_gdk.c to get an idea how to implement e.g. a postscript renderer.

Holger