[Pharo-project] Issue 3584 in pharo: ToDo: remove DisplayText class
Status: Started Owner: siguc...@gmail.com New issue 3584 by siguc...@gmail.com: ToDo: remove DisplayText class http://code.google.com/p/pharo/issues/detail?id=3584 DisplayText used for converting strings and text into forms, which then can be used to blit on other forms. It used sparsely, mostly in order to display simple text in number of old examples. In system there are already plenty of ways to display text, without using an intermediate string->form conversion, which is DisplayText. Ultimately, we should always use canvas(es) to display text, not forms or low-level DisplayObject(s). See MorphicUIManager>>#composeFormFor: in subclasses
Comment #1 on issue 3584 by fernando...@gmail.com: ToDo: remove DisplayText class http://code.google.com/p/pharo/issues/detail?id=3584 I've based this changes on CUIS 3.1, the idea is to remove the primary user of DisplayText in like this: String>>displayOn: aDisplayMedium at: aPoint textColor: aColor aDisplayMedium getCanvas drawString: self from: 1 to: self size at: aPoint font: nil color: aColor and also removed UIManager>>composeForm:. Attachments: DisplayTextRemoval.1.cs 13.8 KB
Updates: Status: FixProposed Labels: Milestone-1.3 Comment #2 on issue 3584 by marcus.d...@gmail.com: ToDo: remove DisplayText class http://code.google.com/p/pharo/issues/detail?id=3584 (No comment was entered for this change.)
Updates: Status: Closed Comment #3 on issue 3584 by marcus.d...@gmail.com: ToDo: remove DisplayText class http://code.google.com/p/pharo/issues/detail?id=3584 in 13120
participants (1)
-
pharo@googlecode.com