Powerino73 / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

background colors ignored/overwritten from/to config file #311

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It looks like the default colors in the Graphicscanvas have been set to black 
and I can't seem to get user selected colors to stick. The application seems to 
keep reading the background colors as black and keeps writing this as such to 
the .HeeksCAD file, no matter what I set them to.

Original issue reported on code.google.com by ddfalck2...@yahoo.com on 14 Oct 2010 at 7:02

GoogleCodeExporter commented 8 years ago
This was caused by haberlerm at revision 1312.
A constructor was added to HeeksColor
    HeeksColor(Aci_t aci);

where Aci_t is an "int".
problem is, it is very similar to the existing constructor
    HeeksColor(long color);
which was what should be getting used.

I have fixed this by casting all existing cases to "long", so that they use the 
old function.  haberlerm's code should still work ok.

Original comment by danhe...@gmail.com on 14 Oct 2010 at 9:48

GoogleCodeExporter commented 8 years ago
thanks!

Original comment by ddfalck2...@yahoo.com on 14 Oct 2010 at 10:30