On Dec 24, 2014 11:49 AM, "Alessio Degani" alessio.degani@ymail.com wrote:
On 24/12/2014 06:18, Jonathan Wilkes via Pd-list wrote:
Hi list, I've been investigating other guis as possible replacements for tcl/tk
gui. A few reasons:
- tk is slow to redraw
- no anti-aliasing except on OSX
- poor support for theming
- poor support for standard image formats
- binary alpha channel
- limited control of font properties on canvas
- lack of proper canvas zooming
- non-standard file save/open dialogs
- lack of common gui-toolkit tools like tooltips and rich text
- too much bit-rot in third-party libraries to work around all the above
Good point. In my opinion, graphical stuff requires a lot of effort (in code/design
and, of course, for the portability).
I really *LOVE* the pd (well... I prefer pd-extended :) ) graphical
philosophy: small bocks, no exploding rainbows of color. Simple and elegant.
Can be better? Probably. Especially considering the issues presented by
Jonathan. But I think that will be a huge milestone (in terms of effort). Ok... the modular nature of pd can help a lot in order to make smooth transitions.
Actually, it is not that much of work. Porting to tkpath took me no more than a couple of days. Granted, tkpath is quite similar to tcl/tk but the principle is the same. Alas, tkpath is defunct project.
The real leap in the gui will happen once/if/when networked nature of communication between pd and tcl is replaced with threaded design. This will solve a good chunk of determinacy issues and likely introduce new problems, but the gui will be likely way more responsive.
To the technical side, which tk?
- JUCE: multiplatform
Licensing is fairly restrictive, though, in comparison to alternatives. Benefits obvious (Max uses it).
- FlowCanvas (now Ganv, http://drobilla.net/software/flowcanvas/):
technically is not a tk, but a widget for Gtkmm, but its a nice widget for drawing "boxes and lines" (cit. Drobilla) stuff.
Cheers
Alessio
[CUT] -Jonathan
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- a.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->