On Wed, Mar 05, 2014 at 08:00:24PM +0000, jz78...@comcast.net wrote:
> I remember way back the Color Style Manager used to let you directly modify 
> any color in a palette by clicking on it and selecting the "modify" button. 
> This feature is still listed in the Help Viewer in the 2.2.1 release. Was 
> this something that had to be stripped out when CDE was open-sourced, or is 
> it just not working yet? 
> 
> Thank you, 
> Jim 

The code's still there, in programs/dtstyle/ColorMain.c and 
programs/dtstyle/Main.c; it depends on style.dynamicColor, which seeems to 
be the resource *dynamicColor.
However, adding *dynamicColor: true to /usr/dt/app-defaults/Dt doesn't 
seem to do anything.
...seems to be set if there's a color server (dtsession, per Sun's docs) 
and it returns something or other...

Stuck a puts() right after it checks the color server:
    if (style.dynamicColor != FALSE) 
    {
       puts("Dynamic Colors");
    } else {
       puts("No dynamic colors");
    }
I get "No dynamic colors".
And it's getting something from the server.

I'm not sure how to fix this, but it looks like the place to look is dtsession.

Hope this helps,
Isaac Dunham

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to