freenode/#clim - IRC Chatlog
Search
15:09:10
jackdaniel
one way to do that would be composing them in layout in :layouts section I think
15:11:21
jackdaniel
one way to do that would be subclassing button and adding your own compose-space and handle-repaint methods
15:12:30
jackdaniel
I agree with beach that "raw" clim should have orthogonal features instead of having mixin spaghetti
15:13:47
flip214
but please don't forget Naggum's preference for CL over Scheme _because_ it has everything included already, so avoids reinventing by everybody ;)
15:14:58
jackdaniel
regarding having everything included already - I definetely do not appreciate having remove-if and remove-if-not kind "richeness" in Common Lisp :-)
15:16:50
flip214
jackdaniel: x-spacing makes the button bigger, ie. creates whitespace around the text
15:29:41
flip214
hmmm, simply doing (make-pane 'spacing-pane :thickness 10 :child (make-pane 'push-button ...)) doesn't work.
15:31:03
flip214
and (spacing (:thickness 10) (make-button ...)) in :panes just moves it around, hiding parts of the button ;/
16:21:04
slyrus_
so, back to the discussion earlier... if I want to draw a bezier design using the render backend code, what's the best way to get the pixels onto my CLX medium? I believe that the plumbing for this is already there given the way we render truetype fonts, but I'm having a hard time figuring out the right inkovation of the drawing mediums.
16:22:43
beach
I think it is risky to do what you suggested, i.e. starting by transferring from the medium to the render-medium.
16:29:46
jackdaniel
also, regarding rendering things, Alessandro knows something about it for sure given that he wrote CLX-fb backend (it's gas2serra from github), you may ask him if he has some ideas
16:30:32
jackdaniel
btw his refactor of clx-fb works for me (I don't have this asynchronous error you have mentioned in the thread)
16:34:58
jackdaniel
slyrus_: then try commenting (apply #'xlib:default-error-handler display error-name args) in line 71 in Backend/CLX/basic.lisp
16:36:26
jackdaniel
from what I have witnessed it works fine when it doesn't blow on clx errors like that one
16:57:54
slyrus_
the clx-fb doesn't really work on MacOS, but that shouldn't hold things up. commenting out the error just has things hang.
16:59:19
jackdaniel
regarding draw-pattern* you may check out image-viewer example, which shows how to blit image (read with opticl) onto the medium with draw-pattern*