As I've wrote in the beginning, merely changing the background wasn't enough for me, and inverting colors was the only way.

As for Mondrian, it would have to act as a color scheme… but I personally don't really use Mondrian so don't ask me. :)

Peter

On Wed, Feb 24, 2016 at 2:01 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
I have noticed that TRCanvas has a color attribute. Does this help to make Mondrian dark-theme friendly?

b := RTMondrian new.
b nodes: (1 to: 20).
b layout grid.
b view canvas color: Color black.
b


Cheers,
Alexandre



On May 3, 2015, at 8:03 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:


The only (relevant) references of TRMorph is in TRCanvas >> morphClass. Here are some solutions:
        - We could add a registry. Each subclass of a new TRAbstractMorph has an order, and we use the highest order. In that case, you need to load a package Trachel4DarkTheme whenever you need to use it

        - We could have a method TRCanvas class>>morphClass: aTRMorphClass, and you need to execute “TRCanvas morphClass: TRDarkMorph” before enjoying its benefit. This setting could also be accessible from the Roassal World menu.

I was thinking that having a settings option might be more feasible.

Adding a checkbox to settings (Settings > Appearance probably)... "[] use dark Roassal"
this would be also be much easier to change back without the need to unload packages

and then somewhere (TRCanvas probably), on class side similarly to UITheme stored the class(name) in singleton variable. Thus changing the option in settings would just swap TRMorph for TRDarkMorph and vice versa.

To me this feels more versatile and maybe even easier to implement.
What do you think?

Peter
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev