I am going to be working with u_main.tk/pd.tk a bit to make the menus confirm to the Apple and MS styles. I want to suggest a minor change which would make working with that file easier:
By changing this in makefile.in:
------------------------------------------------------------ $(BIN_DIR)/pd.tk: u_main.tk echo set pd_nt @OSNUMBER@ > $(BIN_DIR)/pd.tk grep -v "set pd_nt" < u_main.tk >> $(BIN_DIR)/pd.tk ------------------------------------------------------------
to this:
------------------------------------------------------------ $(BIN_DIR)/pd.tk: u_main.tk install -m644 u_main.tk $(BIN_DIR)/pd.tk ------------------------------------------------------------
and replacing the first line of u_main.tk:
------------------------------------------------------------ set pd_nt 1 ------------------------------------------------------------
with this:
------------------------------------------------------------ if { $tcl_platform(platform) == "windows" } { set pd_nt 1 puts stderr {Configuring for Windows} } elseif { $tcl_platform(os) == "Darwin" } { set pd_nt 2 puts stderr {Configuring for MacOS X} } else { set pd_nt 0 puts stderr {Configuring for UNIX} } ------------------------------------------------------------
I attached the diff for the u_main.tk part. I tested this on Windows XP and MacOS X 10.3.3 with Pd-0.38-test4.
.hc ________________________________________________________________________ ____
Using ReBirth is like trying to play an 808 with a long stick. -David Zicarelli