OK, that's what I've done, however, I've implemented it in a way that allows the colorDialogColors on other platforms to have a data structure that mirrors the colors lists for the platform.
Windows is just a simple ordered list of 16 lines of colors. The line number maps to the place in the dialog the color shows up. It could be a numerically indexed array but it's probably not necessary.
Mac (when the dialog is implemented with Cocoa) could have a multi-dimensional array:
colorDialogColors[<color list name>][<index 1...n>]([color name] & [color])
That would allow you to add multiple color lists.
Enabling persistence of custom colors in answer color
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
Re: Enabling persistence of custom colors in answer color
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: Enabling persistence of custom colors in answer color
Here's the pull request:
https://github.com/runrev/livecode/pull/133
https://github.com/runrev/livecode/pull/133
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: Enabling persistence of custom colors in answer color
@monte: This has been merged into develop - it will appear in 6.5-dp-1 which we're hoping to get out asap.