Ok, after a busy week this is what I've been able to come up with for the Path dialog. I'm thinking about adapting this UI for the Startup dialog - shouldn't be hard to do - except instead of choosing directories you want to enter arbitrary text. Still, have a look and let me know what you think - I've set up some various key bindings so I want to make sure it seems usable for everyone. So far I've only tested this on Mac OS X, so feedback on other platforms would be nice. I'll probably get a Windows build at some point as well.
-David
On Thu, May 8, 2008 at 4:12 PM, Hans-Christoph Steiner hans@eds.org wrote:
On May 8, 2008, at 9:18 PM, Steffen Juul wrote:
On 03/05/2008, at 20.06, David Golightly wrote:
So, I'm interested in starting with fixing some of the messy dialogs, then working toward getting a mouse-less edit mode.
That sounds great. I especially like your focus on editing objects prefs.
For the path/lib pref panel, the attached is what i got at when i stalled.
- It's super messy and only trying to sketch an idea on how to actually do
it while learning tcl/tk and getting into Pd src. This sketching need no edits to Pd source code but tries to black-box test first. Depending on the actual implementation one might need to patch s_path.c, hence recompile Pd to do a full test (as opposed to just swap main.tk). IOhannes recently got a patch for adding more path/libs into Vanilla that gives more then 10 variables to work with in the Tcl side of Pd. A better fix would be to use another format (not assumed in my test) then pd_path0, pd_path1, ..., pd_pathN - like a 'pd_path' array.
This test looks like a great start. If it could have in-place editing and the ability to change the order, it would be perfect!
The path/startup stuff should already be in place for this to plug into, thanks to IOhannes' patch.
.hc
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White