| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
Has anyone written the code (which could use the color selection
widget forthe SM) to allow a user to select a pixmpa for color. I
am looking for something like the SM uses for setting the colors --
three scales for R, G, and B. What it neds to do is print out the
numeric value to use. in ths way a user can decide what colors to
use where.
X10R4 had a program called pikapix which gave this functionality.
X11R3 has cpicker which I cannot get to work properly under DECwindows
(claims it cannot find a geometry manager). Both cpicker and the
older pikapic actually gave more funtionality. One was asked to
pick a window. then as you adjusted colors the colors in that window
changed so you could see what it would look like before you made your
choice. Very nice. (Unless you have a monochrome display... then very
boring :-).)
Fred (gildor::avolio)
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 384.1 | Is a color widget sufficient? | CADSYS::COOK | ALOE, ALOE | Thu Mar 16 1989 13:23 | 2 |
See note 142 in the DECWTOOLKIT conference for a color widget (CLT::DECWTOOLKIT). | |||||
| 384.2 | OSF sample demo should do the trick.. | FUEL::graham | if ya want home cookin, stay home | Sun Mar 19 1989 02:38 | 15 |
Fred,
the OSF/MOTIF demo has code that will do just what you want.
I have an executable ("colordemo") ...at:
fuel::/usr/users/guest/xpublic/colordemo (vax)
the source code is also there in :/usr/users/guest/xpublic/
if you have problems compiling for a PMAX, send me mail....I have
a Pmax version.
Kris..
| |||||
| 384.3 | xcolors | COOKIE::KITTELL | Richard S. Kittell - Database Sys | Mon Mar 20 1989 10:03 | 5 |
There's a program in ELKTRA::DW_EXAMPLES, note 105 that will let you interactively try various combinations of colors for the background and foreground. | |||||