Search
16:05:14
flip214
https://github.com/phmarek/McCLIM in case anybody wants to take a look and tell me what I'm doing wrong with the button...
16:05:33
nyef
The specific case that I'm thinking of is "classic" MacOS.
16:26:48
jackdaniel
flip214: tomorrow morning I'll try to help you with button (today I have guests)
16:27:08
jackdaniel
if you could drop me an email with things you "need" to work and can't figure it out it would be great
16:27:24
jackdaniel
flip214: → daniel@turtleware.eu
16:27:42
jackdaniel
I'll also review your pull request later, thanks!
16:48:17
flip214
jackdaniel: thank you very much, that is a very kind offer!
16:55:14
flip214
I'll read this channel tomorrow, in case you can offer any insights about button coloring...
17:59:48
flip214
0: (CLIM-INTERNALS::EFFECTIVE-GADGET-BACKGROUND
17:59:48
flip214
#<CLIM-CLX::CLX-PUSH-BUTTON-PANE-DUMMY CE {1004916AF3}>)
17:59:48
flip214
0: CLIM-INTERNALS::EFFECTIVE-GADGET-BACKGROUND returned
17:59:48
flip214
#<CLIM-INTERNALS::NAMED-COLOR "Unnamed color">
17:59:48
flip214
0: (DRAW-RECTANGLE* #<CLIM-CLX::CLX-PUSH-BUTTON-PANE-DUMMY CE {1004916AF3}> 0
17:59:53
flip214
#<CLIM-INTERNALS::NAMED-COLOR "Unnamed color">)
17:59:55
flip214
0: DRAW-RECTANGLE* returned NIL
17:59:58
flip214
0: (CLIM-INTERNALS::EFFECTIVE-GADGET-BACKGROUND
18:00:00
flip214
#<CLIM-CLX::CLX-PUSH-BUTTON-PANE-DUMMY CE {1004916AF3}>)
18:00:03
flip214
0: CLIM-INTERNALS::EFFECTIVE-GADGET-BACKGROUND returned
18:00:05
flip214
#<CLIM-INTERNALS::NAMED-COLOR "gray84">
18:00:08
flip214
0: (DRAW-RECTANGLE* #<CLIM-CLX::CLX-PUSH-BUTTON-PANE-DUMMY CE {1004916AF3}> 0
18:00:10
flip214
0 31 25 :INK #<CLIM-INTERNALS::NAMED-COLOR "gray84">)
18:00:13
flip214
0: DRAW-RECTANGLE* returned NIL
18:00:15
flip214
the "Unnamed color" is my method override... why is the same rectangle painted again in gray84?
18:06:21
flip214
oh shit.... with (EQL XXX), the XXX is only evaluated once during compilation of the method.
18:06:57
flip214
http://clhs.lisp.se/Body/m_defmet.htm
18:07:06
flip214
The eql-specializer-form is evaluated at the time that the expansion of the defmethod macro is evaluated.
18:07:18
flip214
so I can't use that. sad.
18:17:00
flip214
okay, with an :AROUND I got it working - at least partially.
18:17:17
flip214
the repainting via (clim::redisplay-frame-panes *application-frame* :force-p T)
18:17:24
flip214
doesn't work, too many buttons stay highlighted.
18:23:42
flip214
okay, got it working. << jackdaniel
18:23:46
flip214
thanks for all the fish!
3:57:57
beach
Good morning everyone!
3:58:19
beach
slyrus: I am never around after around 6pm UTC+2.