FreeOrion

Forums for the FreeOrion project
It is currently Tue Dec 12, 2017 4:30 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Changing default colors
PostPosted: Mon Sep 02, 2013 6:10 pm 
Offline
Design & Graphics Lead Emeritus
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3858
Location: USA — midwest
Some time ago, i asked about how to change the default color settings of FO.

I messed around with finding better default colors, but lost my work before i could commit, and never got back around to it.

I'd like to get back to that, but after several searches i can't find the instructions on how to change the defaults.

Reminder please....

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
PostPosted: Tue Sep 03, 2013 1:01 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12040
Location: Munich
Do you mean the default colours used in the C++ code for the in-GUI configurable colours?

These are defined in lines like this:
Code:
        db.Add("UI.system-name-unowned-color",      UserStringNop("OPTIONS_DB_UI_SYSTEM_NAME_UNOWNED_COLOR"),      StreamableColor(GG::Clr(160, 160, 160, 255)),   Validator<StreamableColor>());
where "160, 160, 160, 255" is the colour in RGBA components between 0 and 255 of the default value of that option. Search for "StreamableColor(GG::Clr" in the source code to find all the instances of this sort of line (such as that example, which is from MapWnd.cpp). The strings like "OPTIONS_DB_UI_SYSTEM_NAME_UNOWNED_COLOR" indicates what colour is being specified.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group