Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Is it time for a dark theme?
Re: Is it time for a dark theme? [message #50179 is a reply to message #50178] Thu, 16 August 2018 10:11 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Using:
SColorPaper_Write(Color(51, 51, 51));

to set the paper color to dark gray causes QTF to not be displayed correctly. This looks to be intentional:

void  RichTextView::Paint(Draw& w)
{
        ...
	Color c = SColorPaper();
	if(Grayscale(c) < 100)
		pi.coloroverride = true;
        ...
}


This kills qtf RichTextView color display.

So I need some input on this issue.

Setting colors can only get you so far and you need to skin the GUI with chameleon.

So we need to set both and still U++ needs to be made aware if the theme is dark or light.

For some elements it is enough to set colors and chameleon. For some others, they need to know if the theme is dark or light. Like EditorBar. To select dark or light icons. Additionally, both CodeEditor and EditorBar might need and override. You may want a normal GUI with a dark editor.

So there should be a global default that each control can override? In practice only super advanced text based controls will need overrides, like CodeEditor?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WebWord - Turtle reference example issue
Next Topic: Windows 10 and UAC problem
Goto Forum:
  


Current Time: Sun Apr 28 06:19:41 CEST 2024

Total time taken to generate the page: 0.06345 seconds