freenode/#clim - IRC Chatlog
Search
21:32:31
slyrus1
I'm once again having trouble grokking presentation-types, present, etc... If I manually specify the type with (present obj 'my-presentation-type) it works as expected. I'd like to be able call (present obj) and have my (presentation-method present) get called.
21:34:05
slyrus1
As a concrete example I'd like (present (make-point 100 100)) to result in my (presentation-method present) (I call it this to distinguish from the function present) with a suitable presentation class.
23:03:28
scymtym
slyrus1: i think CLIM:PRESENTATION-TYPE-OF is called if no presentation type is specified
23:16:02
slyrus1
scymtym: yeah, and I suppose I could make my own method for that, but it seems like the right incantation of define-presentation-type/method/etc... should handle that automatically.
23:22:47
slyrus1
Use the Add Point command to add a point and control click on the point to add new ones, control click on the lines to split them.
1:07:24
slyrus
I can make the hit detection and what not work if I do (preset ... 'line :record-type 'line-presentation). I still have the idea that I can somehow set these to be "default" options such that (present line) will DTRT, or, more to the point (present object) and that I won't have to work up my own dispatching mechanism.
1:13:34
slyrus
Ok, it looks like the present function (not the (presentation-method present)) has built-in smarts to get the type (presentation-type?) of the object to be presented, but not the record-type. If you want a custom record type you have to add that as an argument to present.
1:15:24
slyrus
but I'm using that for the specializer in output-record-refined-position-test and highlight-output-record. Is there another way?
1:24:40
fiddlerwoaroof
Also, is there some way to force an application pane to recalculate its scrollbar?
2:36:36
loke
jackdaniel: Alex got back to me and said LGPL2.1+ is fine. He even offered to do a full copyright transfer if needed.
3:01:10
loke
beach: Do you have a suggestion for how to make it official? Should he just make a merge request of an update of the README? That way it'll be part of the git history.
3:02:27
loke
He sent it to me as a private Mastodon message, which is obviously not very, hmm... “available”.
3:06:51
beach
I suggest you write to him and ask. It would be reasonable for you to do most of the work and for him to just click on a link, like a PR or something. But he needs to understand that we must be careful and get it official.
3:08:24
loke
beach: At first I thought that simply creating a bug report on the CLIM project and have him reply to it would be enough, but comments to bug reports are editeable.