Updated to hopefully fix a few bugs that fenixproductions found. 

@hamradio
Palettes work correctly when loaded from menu but there is still an error on startup.
To reproduce:Note: after deleting settings.dat application can be started without errors again.
- start Color Warlock,
- from Custom menu choose some palette,
- close application,
- start CW again.
BTW I've attached all converted Inkscape palettes. In addition: there is also small command line converter within package (requires .NET 2.0).



@hamradio
Everything seems to be fine now.
Although I am thinking about other converters so new palettes could come and there is always a chance for new bugs
BTW Few feature requests.
1. Would it be possible to add menu items grouping possibility? It would be nice feature for large lists scenario.
What I mean:
- get Custom menu items count,
- calculate height for all of them,
- if its larger than screen height then create groups for letters (i.e. A-D, E-H, etc.).
2. Create custom palettes thumbnails and store them in cache file. Next time user clicks on palettes menu, he/she will be able to choose them more easily.
Something like:
(see attachment in previous post)
3. Please add "unique colours only" option for Chart Builder.
4. Please add Color Warlock icon for its executable. It is nicer something else than the one provided by system by default.

). 

@hamradio
It is getting better and better
Any thoughts about sorting?

2. Sort by Alphabetical Order.
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetBrightness().CompareTo( p2.myColor.GetBrightness() ); } );
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetHue().CompareTo( p2.myColor.GetHue() ); } );
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetSaturation().CompareTo( p2.myColor.GetSaturation() ); } );outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetHashCode().CompareTo( p2.myColor.GetHashCode() ); } );
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeGrayscale().CompareTo( p2.MakeGrayscale() ); } );
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeGrayscale2().CompareTo( p2.MakeGrayscale2() ); } );
outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeSepia().ToArgb().CompareTo( p2.MakeSepia().ToArgb() ); } );

after downloading almost every update I finally got to unpack this one :-)
Thanks! this is a really lovely, well-thought-out, and well-made, programme![]()
____________________________________________________
I have managed to get two unhandled exceptions, but both seem to be resolved now - I'll report in case it's of help
OS is XP SP3
1) on the first start of colorwarlock; first copy (I dont know did I left or right-click, or maybe I did both too quickly) I got thisI clicked continue & all was well (I'm unable to reproduce that since though.. which is fine by me)
2) Second one is when I check for updates via the menuClicking continue - a window opens and it hangs. Looks like it just couldnt reach 'home' -ahh, after the fourth or fifth attempt it's working now, without exceptions!
3) a minor bug:
in the Chart Builder, when typing in a name for a custom colour, I pressed the delete key to delete some text and I got a "Delete colors..." dialogue:
"Are you sure you want to delete the 0 selected color(s) in this chart?"
4) suggestion/request:
again in the Chart Builder: it would be nice if the "Chart Name" as filled in would automatically be transferred to the File Name in the save dialogue.


Original address: https://www.donationcoder.com/forum/index.php?topic=24872.0