denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the color of the background (was Re: Shortcuts text colour a


From: Lib Lists
Subject: Re: Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux)
Date: Wed, 4 Mar 2020 11:53:18 +0200

On Tue, 3 Mar 2020 at 22:25, Richard Shann <address@hidden> wrote:
>
> On Tue, 2020-03-03 at 18:59 +0200, Lib Lists wrote:
> > > > Talking about colours, is it possible to modify the background
> > > > colour
> > > > of both the editing
> > > >   and print view windows?
> > >
> > > The "editing window" that is, the Denemo Display, can have its
> > > color
> > > set from Scheme - I forget the syntax, ask if you need it - while
> > > the
> > > Print View is (IIRC) just the default i.e. theme-able.
> >
> > It'd be nice to be able change the background colour of the Denemo
> > Display.
>
> I searched the Help->Browse Manual for "color" and came up with
>
> SetBackground. Set passed 24 bit number as RGB color of background.
>
> which is cryptic to say the least it means
>
> (d-SetBackground 0)
>
> would set the background to black.
> (d-SetBackground #x00ff00) turns red and blue off etc.
> There is a Denemo procedure to get a color from the user, too. (d-
> SelectColor) which returns a list of r, g and b values in range 0.0-1.0
> that would need converting to use with d-SetBackground.

Great, thanks, that works perfectly!

lib
>
> HTH
>
> Richard
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]