[squeak-dev] How should one implement a custom window color for a custom window?
tim at rowledge.org
Mon Sep 18 23:50:50 UTC 2017
If performance is an issue (as appears to be the case from the comment in #getViaSuperclasses:) I’d anticipate that it might be worth explicitly implementing frequently used messages such as borderColor, customWindowColor etc along the lines of
^[self get: scope top class->#borderColor] ensure:[scope pop]
… in order to avoid the time cost of the whole dNU: dance.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: RCR: Rewind Card Reader
More information about the Squeak-dev