[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting the color of the background (was Re: Shortcuts text colour and C
From: |
Richard Shann |
Subject: |
Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux) |
Date: |
Tue, 03 Mar 2020 20:25:41 +0000 |
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.
HTH
Richard
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Richard Shann, 2020/03/02
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Lib Lists, 2020/03/02
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Richard Shann, 2020/03/02
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Lib Lists, 2020/03/02
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Lib Lists, 2020/03/03
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Richard Shann, 2020/03/03
- Re: Shortcuts text colour and Command Center window problems on Puppy Linux, Lib Lists, 2020/03/03
- Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux),
Richard Shann <=
- Re: Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux), Lib Lists, 2020/03/04