|
From: Bogdan M. <dag...@gm...> - 2009-03-24 19:39:56
|
Hello. It turns out that both the normal and the night-mode colours of telescope markers, labels and circles can be set in the config.ini file. The reasons that this is not evident in the current version are: - night colour fields in the configuration file are set to the same values as the ones for the normal mode. - a bug in TelescopeMgr.cpp prevents the colour of the marker and circles from being set: line 160 at the moment is: setCircleColor(StelUtils::strToVec3f(conf->value(section+"/telescope_circleColor", defaultColor).toString())); and should be: setCircleColor(StelUtils::strToVec3f(conf->value(section+"/telescope_circle_color", defaultColor).toString())); The current default circle colour is kind of yellowish-greenish-brown and seems a bit muddy to me. Try and see if you like it. This unfortunately does not apply to the bright white selection marker that appears around the telescope marker when it's selected. What is the standard procedure for adapting it to night-vision mode? In TelescopeMgr, it is drawn by drawPointer(), which uses getInfoColor() to get the colour. Should I modify Telescope::getInfoColor()? Regards, Bogdan Marinov |