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 » U++ Library support » U++ Library : Other (not classified elsewhere) » Named HTML Colors [FEATURE REQUEST].
Re: Named HTML Colors [FEATURE REQUEST]. [message #22885 is a reply to message #22881] Mon, 24 August 2009 20:38 Go to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
Actually, Color is defined in Core. But I guess, using a little C++ magic, we can make this work without actually requiring any data...

Like

struct HtmlColor {
   enum Value {
      ... your list here
   }
};

class Color {
   .......
   Color(HtmlColor::Value x);
};


What do you think?

Mirek
 
Read Message
Read Message
Previous Topic: bug with displayPopUp with MT
Next Topic: Input value at main ()
Goto Forum:
  


Current Time: Mon Jun 30 01:33:06 CEST 2025

Total time taken to generate the page: 0.03570 seconds