Re: [PD] colors ( exthread : pd-extended, version )

2008-01-23 Thread Ctrl Alt Back
hi,

i compiled one pd-extended on gentoo as well, following 
http://puredata.info/docs/developer/Members/nanodust/pd-extended-gentoo
and found # color scheme section, was able to change canvas_fill,
text_color .. etc, but there was no set canvas_fill white line.
I tried to add that line but did not seem to do anything.

There was couple of postings where pd users demanded pd with reversed
colors, or at least darker background for using on stage and not getting
blinded. I am wandering if enybody found easy way how to configure this?

CtrlAltBack
-- 
|||Ctrl + Alt + Back|||
|||restart your view|||

On Fri, Jan 18, 2008 at 09:17:59AM -0500, Martin Peach wrote:
 Ctrl Alt Back wrote:
 On Fri, Jan 18, 2008 at 12:42:06AM +0100, Ctrl Alt Back wrote:
   
 the look of pd-extended : light greyed objects, text running out of 
 objects, lack of synoptic overview - is that definite ? can i configure 
 it that
 it looks the old way ?
 
 yes it is possible but how ? 
 i installed it on another machine, and it keeps the same old look.
 
 CtrlAltBack
   
 In pd/bin/pd.tk around line 87 you have these lines:
 
 # color scheme
 set canvas_fill white
 set text_color #000
 set select_color #00f
 set dash_outline #f00
 set dash_fill #f7f7f7
 set box_outline #ccc
 puts stdout box_outline $box_outline
 puts stdout current namespace is [namespace current]
 puts stdout namespace children [namespace children]
 set graph_outline #777
 set atom_box_fill #eee
 set msg_box_fill #f8f8f6
 set obj_box_fill #f6f8f8
 set signal_cord_highlight #58a
 set signal_cord #558
 set signal_nlet $signal_cord
 set msg_cord_highlight #474
 set msg_cord #565
 set msg_nlet white
 set mixed_nlet #88aaff
 
 
 You can change the colours, for example by setting box_outline black 
 or #000 instead of #ccc.
 None of this works in the MSW version for some reason, probably because 
 tcl/tk on MSWindows is not the full package. Variables defined in pd.tk 
 are not recognized when accessed from pd in Windows, although the 
 variables accessed from procs inside pd.tk are.
 
 Martin


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] colors ( exthread : pd-extended, version )

2008-01-23 Thread Martin Peach
Ctrl Alt Back wrote:
hi,

i compiled one pd-extended on gentoo as well, following
http://puredata.info/docs/developer/Members/nanodust/pd-extended-gentoo
and found # color scheme section, was able to change canvas_fill,
text_color .. etc, but there was no set canvas_fill white line.
I tried to add that line but did not seem to do anything.

There was couple of postings where pd users demanded pd with reversed
colors, or at least darker background for using on stage and not getting
blinded. I am wandering if enybody found easy way how to configure this?

The canvas backgound is outside of that section. It's in a proc called 
pdtk_canvas_new, near line 900 of pd.tk.
I have this at line 932 of the latest pd.tk from cvs:
   wm geometry $name $geometry
   canvas $name.c -width $width -height $height -background white \
-yscrollcommand $name.scrollvert set \
-xscrollcommand $name.scrollhort set \
-scrollregion [concat 0 0 $width $height]
The line beginning canvas sets the attribute background to white. If 
you change white to your favourite colour then your canvases will all be 
that colour. Unfortunately you can't set the colours of lines and boxes that 
way.

Martin



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list