Skip to content

0.51-3

Compare
Choose a tag to compare
@sebshader sebshader released this 20 Nov 06:10
· 3120 commits to next since this release

Update scrollbars and to using native tk help menu fix on osx
use windows-installer before resorting to windows-files

to get started with colors: copy doc/7.stuff/colors-plugin.txt into your pd path and change the extension to .tcl. Then change the values below "array set ::pd_colors {" using values from a hex color picker, or tk color names.

bezier cords can also be turned on/off by setting the tcl variable "::curve_cords" e.g. "set ::curve_cords 1", as well as in the "preferences" menu.

if you want the changes to the bezier cord variable to take effect when it is changed put the following lines in some -plugin.tcl file in your pd path:

proc redraw_cords {name, blank, op} {
    foreach wind [wm stackorder .] {
        if {[winfo class $wind] eq "PatchWindow"} {
            set canv ${wind}.c
            foreach record [$canv find withtag cord] {
                set tag [lindex [$canv gettags $record] 0]
                set coords [lreplace [$canv coords $tag] 2 end-2]
                ::pdtk_canvas::pdtk_coords {*}$coords $tag $canv
            }
        }
    }   
}

trace variable ::curve_cords w redraw_cords

edit December 7th, 2020: fix tk regression with window sizing