3 ms·
TTF, bezier curves &c. are just things for modernizing the look of McCLIM, which is itself just one implementation of CLIM 2. The most interesting thing about
by aidenn0 9y ago
TTF, bezier curves &c. are just things for modernizing the look of McCLIM, which is itself just one implementation of CLIM 2.
The most interesting thing about it is probably the presentations. It's very similar to MVC in that there is an object, a visualization, and things you can perform on the object, but it's different in that CLIM does a lot of the heavy lifting for you.
All things that have different presentations are considered distinct types so if a command expects e.g. a distance, then objects on the screen representing distances would be active, but other numeric objects would not be.
CLIM treats the GUI as just a visual representation to program state, and then mouse and keyboard actions are just visual ways of manipulating the program state. Other toolkits have tried similar things, but most of them fail to be useful for practical applications.
CLIM has been shown to be very useful for certain practical applications (e.g. various types of debuggers/state inspectors are almost trivial to write in it), and it is also great for converting command-line programs into GUI programs.
I don't use McCLIM mainly because it is right now tied into X11 (also until the past few years it wasn't clear that there was any place to submit bugfixes to). However, I am very glad I explored using it, because it has affected the way I think about GUIs. If you've heard of "Perlis languages," then this is a "Perlis library"