The Sample Program
The sample program we will use in this section is called SIMPOL Color Lab.
While thinking about the program, it was decided to make something that would let the user see the
color that corresponds to a specific web color value. These are normally specified in the format:
#A0B0C0
where the first character is an indicator signifying that the following
number is in the hexadecimal format and the following values are interpreted as the three
RGB values between 0 and 255 (or in this case between 0 and FF). To make the
tool more interesting, the user should also be able to enter a decimal value, or the values for
the three color components: red, green, and blue. These can be entered by hand or by moving a
sliding widget.
There are many different design approaches that can be taken with development of a software project, some of them more formal than others. This sort of project lends itself well to a fairly informal and interactive approach. To get this project moving, it would be a good idea to start with the layout and look of the dialog that the user will see. Once the basic design is done, it will only require the additional work to show the dialog and react to what happens when it is used.
Note | |
---|---|
The source code for this project is included in the Superbase NG product and can be found in the
directory |