GPmain.exe (GradPal) version 1.1

Notes: May 6, 2011

On 05-06-11 I discovered that GPmain was not adding entries to the
Palette Save Box from mouse right button clicks after using the
copy button which transfers a gradient from the Gradient Select Box
directly into the Palette Save Box.  How long that was going on, I
don't know; but it's fixed now.  The right button click should
transfer colors from the Hexagon Box, the Gradient Box, the
Gradient Select Box, and the Palette Strips directly into the
Palette Save Box; and why I never noticed it not working I don't
know.  Probably because I never checked it after using the copy
button.

Notes: March 17, 2012

The newest build of GPmain.exe containing the scaled viewer window
is now in the .ZIP archive.  For some reason, the left click to
select an auto-scaled region is not working, so you need to use
click-and-hold while dragging the mouse to select a region.  It is
also possible to generate errors when viewing bitmaps smaller than
the view window dimensions; usually just clicking "Ignore" on the
system message box will continue without any trouble, but the bitmap
won't be copied into the main hexagon drawing area.

Notes: August 26, 2013

I finally got around to fixing the style on the grid buttons, which
required bitmapping the button face at 10x10 pixels.  I never had
a display problem when I was coding GP; must just be display res on
a different machine.  So those once again look like real 'buttons'.

Now, the clipboard resizer popup form has 4 additional 'buttons' to
support window-size widening of the gradients to form bands.  That
will help out a lot; it's something I should've written into GP in
2011 when I was working on it.  So, that's done, too.

Notes:  Sept. 07, 2013

I tweaked the clipboard resize band edge so that it doesn't leave
a black or white area on closing, and moved the SkiPanel code around
to allow keeping the scaling and skate positions in sync.  The
viewport buttons are now separate, so there are ten of them instead
of the previous four.  The functions are the same; they've just been
moved onto their own buttons to save on mouse clicks.

Notes:  Sept. 09, 2013

I added tooltips for the new viewer buttons, moved the G-T-R palette
strip item auto-generate buttons to the form top (out of the way),
and added a current color edit panel so that both hex and decimal
RGB values can be changed in sync for a color, similarly to the way
the GradientBox controls and scrollbar work.

Notes:  Sept. 10, 2013

I just figured out why the viewer was in need of fixing...  It seems
that I copied-and-pasted a y-coordinate expression from one which is
nearly identical but for the x-coordinate.  Hokey programming method;
and it took me a while to catch it.  It was mis-calculating the size
and location of the fixed-scale 'rubber-band rectangle' and throwing
off the selection because of that.

I also added a formatting right-click context menu to the text box
on the current color edit panel to give pre-formatted HTML and CSS
strings containing the color value, to make things simpler for you
if you're editing web pages by hand.

Notes:  Sept. 12, 2013

The color edit panel now picks up a PaletteStrip click, and editing
the values by hand or moving the caret around in the textbox syncs
the current color with values entered manually (pressing Enter isn't
necessary).
