freenode/#clim - IRC Chatlog
Search
6:54:31
bugrum
The more I think about it, the more I think it's doable. However, and this shows my limited understanding of McCLIm
6:55:12
bugrum
meaning the host OS's (or the backend in question) is ultimately responsible for providing basic widgets
6:56:18
jackdaniel
McCLIM backends may be three-fold: 1. you provide methods for everything (in this scenario backend is responsible for providing i.e basic widgets etc)
6:56:50
jackdaniel
2. you provide methods for rendering and gathering input (in this scenario backend is responsible for IO, but McCLIM draws widgets and handles logic – that's how CLX backend works)
6:57:12
jackdaniel
3. you provide only methods for rendering (in this case you have "draw-only" backend, like rendering to pdf, png etc)
6:58:04
bugrum
jackdaniel: based on this categorization, I'm guessing an SDL2 backend would fall into category 2
6:58:05
jackdaniel
that said, we don't have backend working like in point 1., I'm only saying that CLIM specification is defined that way, so you *can* write it that way
6:58:55
jackdaniel
and Qt could fall in 1. or 2. - depends how much you want to augument with "native QT" things
6:59:56
bugrum
I only suggested Qt because I am familiar with the library quite well and enjoyed using it when I had to. QML for example provides some nice fluid animation features that would be cool if brought into McCLIM
7:00:42
jackdaniel
if you like Qt/QML, you may be also interested in EQL5 project (ECL embedded in Qt)
7:04:04
bugrum
jackdaniel: I will check out EQL5. Might be useful for other projects I'm working on.
7:05:22
bugrum
the only thing I guess I'm wondering is a new backend just a matter of implementing the clim-backend package as commented in CLX?
7:09:17
bugrum
I noticed some functions were refactored out from the climi package over to clim-standard
7:09:56
bugrum
Once I fixed those, and then also fixed an issue with define-objc-method not being found (this is on CCL)
7:11:44
bugrum
btw, by fixing those issues, I really mean adding a new import-from clause in the defpackage
7:18:54
bugrum
jackdaniel: okay, I'm going to deal with these issues tomorrow. going to get some shuteye. Thanks for your help
7:30:30
red-dot
Just checking in again. If bugrum wants to try a SDL2 backend, I'd be willing to sponsor some of the work, provided it was done with CLIM-TOS. I realise McCLIM is farther ahead, but I am forbidden to touch anything with an encumbered license, even if that means going the longer and more expensive route.
7:32:47
jackdaniel
red-dot: I've fixed CLX to work with CCL better (what improves CLIM-TOS experience a lot), you may want to try newest quicklisp dist, or directly from sharplispers repository
7:42:18
jackdaniel
as of sdl2 backend, if it is done in separate repository, it may be shared between both implementations (some extra glue-code may be necessary)
7:43:02
loke
jackdaniel: I recall looking at the old GTK backend, but it was impossible for me to get it to work