[squeak-dev] Displaying the class outline of FileList in the Vivide IDE

Marcel Taeumel marcel.taeumel at hpi.de
Fri Oct 6 09:25:03 UTC 2017


Try accessing the UI theme directly for the moment:

(UserInterfaceTheme current get: #selectionColor for: #MenuItemMorph) ifNil: [(Color r: 0.4 g: 0.5 b: 0.7)]


... look at MenuMorph class >> #menuSelectionColor (deprecated).

Best,
Marcel
Am 06.10.2017 11:19:24 schrieb H. Hirzel <hannes.hirzel at gmail.com>:
P.S. A temporary local fix I did in my image is

ECPreferences>>menuSelectionColor

^ Color r: 0.2 g: 0.3 b: 0.9


But what is needed is a fix which honours the UI theme.

On 10/6/17, H. Hirzel wrote:
> On 10/6/17, Marcel Taeumel wrote:
>> Seems to be related to OCompletion? We should fix
>> that: http://www.squeaksource.com/OCompletion
>
> you mean? I do not have access rights to that repo. But Levente has ....
>
> ECPreferences>>
> menuSelectionColor
>
> Smalltalk at: #UITheme ifPresent: [ :uiTheme |
> "Pharo"
> ^uiTheme current settings selectionColor ].
> Smalltalk at: #Preferences ifPresent: [ :preferences |
> "Squeak"
> ^preferences menuSelectionColor ]
>
>
> For a quick local fix in my image I just copied the hard coded variant from
>
> ColorTheme menuSelectionColor
>
> into
>
> ECPreferences>>menuSelectionColor
>
> ^ Color r: 0.2 g: 0.3 b: 0.9
>
>
> Now I have a working Vivide copy in a Squeak6.0a recent trunk image! Great!
>
> --Hannes
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171006/c26bdd99/attachment.html>


More information about the Squeak-dev mailing list