Re: [Pharo-project] ProfStef on steroids (was: Athens OpenGL backend - what does it mean?)
Sebastian Nozzi wrote:
When I read your past discussion about the help-system not being able to show "figures" (I think Igor pointed it out) I thought: "wait a second, why is it not possible to "embed" Morphs into the text?". I thought I had seen something like that in the past before... (in Squeak).
Yes, you can do those things. I use that in the (Glamour based) Tutorial code. The red bullets are forms, inserted in a (non-empty) Text with richText addAttribute: (TextAnchor new anchoredMorph: GLMUIThemeExtraIcons glamorousRedCircle asMorph; yourself) from: richText size -1 to: richText size. (and yes, I'll look up the unicode value for bullet) Stephan
Very nicely done, thanks for sharing. Another class I need to take a look at, great! ________________________________ From: Stephan Eggermont <stephan@stack.nl> To: Pharo Development <pharo-project@lists.gforge.inria.fr> Sent: Tuesday, 27 November 2012, 1:16 Subject: Re: [Pharo-project] ProfStef on steroids (was: Athens OpenGL backend - what does it mean?) Sebastian Nozzi wrote:
When I read your past discussion about the help-system not being able to show "figures" (I think Igor pointed it out) I thought: "wait a second, why is it not possible to "embed" Morphs into the text?". I thought I had seen something like that in the past before... (in Squeak).
Yes, you can do those things. I use that in the (Glamour based) Tutorial code. The red bullets are forms, inserted in a (non-empty) Text with    richText addAttribute: (TextAnchor new       anchoredMorph: GLMUIThemeExtraIcons glamorousRedCircle asMorph;       yourself) from: richText size -1 to: richText size. (and yes, I'll look up the unicode value for bullet) Stephan
participants (2)
-
dimitris chloupis -
Stephan Eggermont