Skip to content

0.52-2

Compare
Choose a tag to compare
@sebshader sebshader released this 11 Apr 00:35
· 1918 commits to next since this release

edit 6/5/22: update windows release to include bugfix for selected array name colors
edit 6/3/22: update mac release to include bugfix for selected array name colors
also upload version using tk 8.6.10, reported to be less laggy
edit 5/18/22: make sure right compile flags are used on windows
Release Notes:
added pdwindow_hl_text, the color that the selected text is highlighted in the pd console window

compiled a universal binary for mac intel x86_64 and arm64 (apple silicon m1 architecture)


to make a theme: 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.

for a user-friendly way to use color themes install https://github.com/sebshader/color-themes-plugin for a tcl plugin that adds a preference dialog for choosing color themes

(see github discussions for other help/instructions)

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. (put set ::curve_cords 1 in a *-plugin.tcl file in the pd path to save/keep bezier cables on)

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