color-themes-plugin/themes/mariahs-colors-plugin.tcl
2021-11-04 01:03:22 -07:00

100 lines
3.1 KiB
Tcl

# canvas_fill - the canvas (patch background)
# gop_box - the GOP rectangle (when editing GOP patches)
# obj_box_text - text in an object box
# msg_box_text - text in a message box
# comment
# selected - selection
# obj_box_outline_broken - outline of "broken" object
# (that failed to create)
# obj_box_outline
# msg_box_outline
# msg_box_fill - fill of a message box
# obj_box_fill - " " object box
# signal_cord - signal cord and outline of signal inlets
# msg_cord - message cord and outline of message inlets
# msg_iolet - message inlet/outlet fill
# signal_iolet - signal inlet/outlet fill
# graph_outline - outline of arrays and GOP patches in the parent patch
# graph_text - color of the names of GOP patches in the parent patch
# selection_rectangle - selection rectangle color in edit mode
# txt_highlight - color text is highlighted
# (in the "background") when selected
# array_name - garray names
# array_values - array elements
# atom_box_fill - fill of gatoms (number box, symbol box)
# atom_box_text - text of gatoms
# atom_box_label - label of gatoms
# atom_box_outline - outline of gatoms
# text_window_fill - [text] window background
# text_window_text - [text] window text
# text_window_highlight - like txt_highlight but for [text] window
# text_window_cursor - [text] window cursor
# pdwindow_fill - background of post window
# pdwindow_fatal_text - text for fatal errors
# pdwindow_fatal_highlight - highlight (background) for fatal errors
# pdwindow_error_text - text for errors
# pdwindow_post_text - text for posting
# pdwindow_debug_text - text for verbose logs
# helpbrowser_fill
# helpbrowser_text
# helpbrowser_highlight - like txt_highlight but for help browser
array set ::pd_colors {
canvas_fill "magenta"
gop_box "black"
selected "yellow"
obj_box_outline_broken "light blue"
msg_box_fill "cyan"
obj_box_fill "lime green"
signal_cord "orange"
msg_cord "orange"
msg_iolet "pink"
signal_iolet "red"
signal_iolet_border "orange"
msg_iolet_border "orange"
graph_outline "blue"
selection_rectangle "light green"
txt_highlight "white"
graph_text "purple"
array_name "#0B8100"
array_values "purple"
atom_box_fill "cyan"
atom_box_outline "cyan"
text_window_fill "black"
text_window_text "magenta"
text_window_highlight "green"
text_window_cursor "green"
pdwindow_fill "#000"
pdwindow_fatal_text "#D00"
pdwindow_fatal_highlight "#FFE0E8"
pdwindow_error_text "#D00"
pdwindow_post_text "deep sky blue"
pdwindow_debug_text "green"
helpbrowser_fill "#000"
helpbrowser_highlight "red"
canvas_text_cursor "deep sky blue"
helpbrowser_hl_text "white"
helpbrowser_text "lime green"
}
#random colors for everything
#proc ::pdtk_canvas::get_color {type {window 0}} {
# return [format #%06x [expr {int(rand() * 0xFFFFFF)}]]
#}
# 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