00001
00032 #include "llviewerprecompiledheaders.h"
00033
00034 #include "llcolorscheme.h"
00035
00036 #include "llviewercontrol.h"
00037
00038 LLColor4 gTrackColor;
00039 LLColor4 gSelfMapColor;
00040 LLColor4 gAvatarMapColor;
00041 LLColor4 gFriendMapColor;
00042 LLColor4 gLandmarkMapColor;
00043 LLColor4 gLocationMapColor;
00044 LLColor4 gTelehubMapColor;
00045 LLColor4 gFrustumMapColor;
00046 LLColor4 gRotatingFrustumMapColor;
00047 LLColor4 gEventColor;
00048 LLColor4 gPopularColor;
00049 LLColor4 gPickColor;
00050 LLColor4 gHomeColor;
00051 LLColor4 gDisabledTrackColor;
00052
00053 void init_colors()
00054 {
00055 gTrackColor = LLColor4::red;
00056 gDisabledTrackColor.setVec( 0.5f, 0.f, 0.f, 1.f );
00057
00058 gSelfMapColor = LLColor4::white;
00059 gAvatarMapColor = LLColor4::green;
00060 gFriendMapColor = LLColor4::yellow;
00061
00062
00063
00064 gLandmarkMapColor = LLColor4::red;
00065 gLocationMapColor.setVec( 0.f, 0.72f, 1.f, 1.f);
00066 gTelehubMapColor.setVec( 0.9f, 0.9f, 0.f, 1.f);
00067 gFrustumMapColor.setVec( 1.f, 1.f, 1.f, 0.08f);
00068 gRotatingFrustumMapColor.setVec(1.f, 1.f, 1.f, 0.2f);
00069 gEventColor.setVec( 1.f, 0.5f, 1.f, 1.f );
00070 gPopularColor.setVec( 1.f, 0.0f, 0.f, 1.f );
00071 gPickColor.setVec( 1.f, 0.0f, 0.f, 1.f );
00072 gHomeColor.setVec( 0.f, 0.5f, 1.f, 1.f );
00073 }