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 » Look and Chameleon Technology » A question of C++
Re: A question of C++ [message #20625 is a reply to message #20624] Fri, 27 March 2009 18:07 Go to previous messageGo to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
I am trying this to changle edit boxes globally:

Exemple:

#include "DG.h"
DG::DG()
{
CtrlLayout(*this, "Window title");

EditField::Style edits =EditField::StyleDefault();

edits.paper=Color(Color(255,0,0));
edits.focus=Color(Color(0,0,255));
edits.ink=Color(Color(0,255,0));

EditField::SetStyle(edits);
}

GUI_APP_MAIN
{
DG().Run();
}


But compiler says that i have to assign SetStyle to one object. So, I am confused. Can we set the global style or do I have to set control by control style?


Alex
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Custom Font
Next Topic: Questions about themeing plz
Goto Forum:
  


Current Time: Sat Sep 21 03:26:01 CEST 2024

Total time taken to generate the page: 0.03195 seconds