[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

384.0. "color-picker" by UFP::AVOLIO (I was ULTRIX when ULTRIX wasn't *cool*) Sat Mar 11 1989 13:51

    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.RTitleUserPersonal
Name
DateLines
384.1Is a color widget sufficient?CADSYS::COOKALOE, ALOEThu Mar 16 1989 13:232
See note 142 in the DECWTOOLKIT conference for a color widget (CLT::DECWTOOLKIT).

384.2OSF sample demo should do the trick..FUEL::grahamif ya want home cookin, stay homeSun Mar 19 1989 02:3815
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.3xcolorsCOOKIE::KITTELLRichard S. Kittell - Database SysMon Mar 20 1989 10:035
	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.