[Top][All Lists]

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

Re: [XBoard-devel] 4.9.0 what's new

From: H.G. Muller
Subject: Re: [XBoard-devel] 4.9.0 what's new
Date: Fri, 1 Apr 2016 22:16:13 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Op 4/1/2016 om 7:32 PM schreef Joshua Pettus:
Hey Harm,

I know I brought it up before, but that GTK widget for fonts is so nice, it 
made me think about it again.

Couldn’t we take the color selection portion of the board menu and put it in a 
function.  Have that function be defined one way for XAW and have it defined in 
another way for GTK utalizing the GTK Color picker?
Well, the simplest way to do this was through a rather ugly hack with simply ignores any button called R, G or B in the GTK GenericPopUp, and uses the GtkColorButton for any button called 'D', and connects a special handler for those. (As we know such buttons occur only in the Board dialog in this very special.)

I have now done that. The price is that I had to use some deprecated stuff, (GdkColor instead of GdkRGBA), as the earlier code also did, because the newer stuff doesn't work for me. So this change will no doubt cause merge conflicts with the GTK3 patches. But if you like the result I think we should go for it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]