Re: Colours

2013-05-29 Thread Michael Drake
In article <20130529143506.gc19...@kyllikki.org>,
   Vincent Sanders  wrote:
> For reference the default values are:

> sys_colour_ActiveBorder:d3d3d3
> sys_colour_ActiveCaption:f1f1f1
> sys_colour_AppWorkspace:f1f1f1
> sys_colour_Background:6e6e6e
> sys_colour_ButtonFace:f9f9f9
> sys_colour_ButtonHighlight:ff
> sys_colour_ButtonShadow:aeaeae
> sys_colour_ButtonText:4c4c4c
> sys_colour_CaptionText:4c4c4c
> sys_colour_GrayText:505050
> sys_colour_Highlight:0008c0
> sys_colour_HighlightText:ff
> sys_colour_InactiveBorder:f1f1f1
> sys_colour_InactiveCaption:e6e6e6
> sys_colour_InactiveCaptionText:a6a6a6
> sys_colour_InfoBackground:efdf8f
> sys_colour_InfoText:00
> sys_colour_Menu:f1f1f1
> sys_colour_MenuText:4e4e4e
> sys_colour_Scrollbar:cc
> sys_colour_ThreeDDarkShadow:aeaeae
> sys_colour_ThreeDFace:f9f9f9
> sys_colour_ThreeDHighlight:ff
> sys_colour_ThreeDLightShadow:ff
> sys_colour_ThreeDShadow:d5d5d5
> sys_colour_Window:f1f1f1
> sys_colour_WindowFrame:4e4e4e
> sys_colour_WindowText:00

Those are the defaults if the front end doesn't set something appropriate.

On RISC OS, the defaults are:

sys_colour_ActiveBorder:00
sys_colour_ActiveCaption:bb
sys_colour_AppWorkspace:dd
sys_colour_Background:dd
sys_colour_ButtonFace:dd
sys_colour_ButtonHighlight:55
sys_colour_ButtonShadow:77
sys_colour_ButtonText:00
sys_colour_CaptionText:00
sys_colour_GrayText:99
sys_colour_Highlight:00
sys_colour_HighlightText:ff
sys_colour_InactiveBorder:00
sys_colour_InactiveCaption:bb
sys_colour_InactiveCaptionText:00
sys_colour_InfoBackground:bb
sys_colour_InfoText:00
sys_colour_Menu:ff
sys_colour_MenuText:00
sys_colour_Scrollbar:bb
sys_colour_ThreeDDarkShadow:77
sys_colour_ThreeDFace:dd
sys_colour_ThreeDHighlight:ff
sys_colour_ThreeDLightShadow:ff
sys_colour_ThreeDShadow:77
sys_colour_Window:dd
sys_colour_WindowFrame:00
sys_colour_WindowText:00

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Colours

2013-05-29 Thread Michael Drake
In article <57935.82.153.33.53.1369835598.squir...@email.orpheusnet.co.uk>,
   Gerald Dodson  wrote:

> Following the recent changes and my deletion of ..Choices the colours
> have obviously changed - in the Hotlist in particular. I have looked at
> the User document but not found any way of changing the colours. How can
> this be done?

There is currently no RISC OS GUI for setting the colours in the Choices
dialogue.  So you have to set the colours manually in the Choices file.

If you visit the URL about:config you can see what colours are currently
set.  By default, on RISC OS, they are set according to the current WIMP
palette, to match other desktop furniture.

These colours are the CSS system colours.  There is a description of what
each of them means in the specification:

http://www.w3.org/TR/css3-color/#css-system

I believe the treeview uses the following:

  Window  for the background
  WindowText  for plain text
  Highlight   for selection backgrounds
  HightlightText  for selected text

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Colours

2013-05-29 Thread Vincent Sanders
On Wed, May 29, 2013 at 02:53:18PM +0100, Gerald Dodson wrote:
> Following the recent changes and my deletion of ..Choices the colours have
> obviously changed - in the Hotlist in particular. I have looked at the
> User document but not found any way of changing the colours. How can this
> be done?

The default colours can now be configured by each frontend maintainer
as they see fit. I beleive on RISC OS the defaults are derived from
the wimp colours and on GTK they are the css spec defined defaults
(which are a bit ugly truth be told).

However there are user settings to override all these. you can see all
configuration values on the about:Choices page and see the pretty
version on about:config

The numbers are hexidecimal values in the format OOBBGGRR

Where O is opacity 0x00 is opaque 0xff is transparent
BB is blue
GG is green
RR is red

For reference the default values are:

sys_colour_ActiveBorder:d3d3d3
sys_colour_ActiveCaption:f1f1f1
sys_colour_AppWorkspace:f1f1f1
sys_colour_Background:6e6e6e
sys_colour_ButtonFace:f9f9f9
sys_colour_ButtonHighlight:ff
sys_colour_ButtonShadow:aeaeae
sys_colour_ButtonText:4c4c4c
sys_colour_CaptionText:4c4c4c
sys_colour_GrayText:505050
sys_colour_Highlight:0008c0
sys_colour_HighlightText:ff
sys_colour_InactiveBorder:f1f1f1
sys_colour_InactiveCaption:e6e6e6
sys_colour_InactiveCaptionText:a6a6a6
sys_colour_InfoBackground:efdf8f
sys_colour_InfoText:00
sys_colour_Menu:f1f1f1
sys_colour_MenuText:4e4e4e
sys_colour_Scrollbar:cc
sys_colour_ThreeDDarkShadow:aeaeae
sys_colour_ThreeDFace:f9f9f9
sys_colour_ThreeDHighlight:ff
sys_colour_ThreeDLightShadow:ff
sys_colour_ThreeDShadow:d5d5d5
sys_colour_Window:f1f1f1
sys_colour_WindowFrame:4e4e4e
sys_colour_WindowText:00

-- 
Regards Vincent
http://www.kyllikki.org/



Colours

2013-05-29 Thread Gerald Dodson
Following the recent changes and my deletion of ..Choices the colours have
obviously changed - in the Hotlist in particular. I have looked at the
User document but not found any way of changing the colours. How can this
be done?

Gerald




Re: Hotlist display illegible

2013-05-29 Thread Michael Drake
In article <0039c5d3.01dc65003...@smtp.freeola.net>,
   Peter Slegg  wrote:

> I fixed mine in the choices file:

> sys_colour_Window:ff

Changing just one colour is a *really bad thing to do*.  For example
you'll find that scrollbars (frames & textareas) are still black.

As I said in the "Options/Choices refactor" thread, the recommended fix is
to delete old Choices files, as doing this has other benefits.

Also, NetSurf has just been fixed to reset all colour values to their
defaults if they are all black.  If you just change one colour, it won't
be able to detect this problem and reset them for you.


BTW, you can see the colours (and all the other current settings) by
visiting about:config in NetSurf.  It also indicates whether you are using
a default setting, or if you have modified a Choices value.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Hotlist display illegible

2013-05-29 Thread Dave Symes
In article <0039c5d3.01dc65003...@smtp.freeola.net>,
   Peter Slegg  wrote:

> I fixed mine in the choices file:
> sys_colour_Window:ff

> Peter

I find that a bit hard on my eyes, so use dd instead (Very light grey).

Dave

-- 

Dave Triffid



Re: Hotlist display illegible

2013-05-29 Thread Dave Symes
In article <53531ae9e1ch...@chris-johnson.org.uk>,
   cj  wrote:
> In article <7120175353.davem...@my.inbox.com>,
>Dave Higton  wrote:
> > The hotlist display was OK up to CI1201.  CI1212 and CI1219 display
> > the hotlist as black on black.  RISC OS 5.18, Iyonix, 512 MiB.
> > Reverted to CI1201 and it's OK again.

> > I'll put in a bug report.

> Have you tried deleting your Choices file, as per suggestions in
> other threads?

As someone also getting the same problem, I did just that, and thereafter
it was okay.

However, I'm using two versions of NetSurf, the latest and an older
version, when I re-use the older version, then later go to the latest
version the Hotlist is back to Black.

Dave

-- 

Dave Triffid



Choices change, or avoiding the all black

2013-05-29 Thread Vincent Sanders
As this seems to be a stumbling block for so many and I can see
complaints from users upgrading stretching into my future. 

The choices validation will (from CI build #1223), when the system
colour options are all configured to black, simply reset them back to
defaults.

This does mean that in future noone will be able to set all system
colours to black intentionaly, but as that seems a daft thing to do
anyway...

-- 
Regards Vincent
http://www.kyllikki.org/