1 // $Id: gc_color.cpp,v 1.4 2011/03/08 19:22:00 bobgian Exp $ 2 3 /* 4 Copyright 2002 Mary Kuhner, Jon Yamato, and Joseph Felsenstein 5 6 This software is distributed free of charge for non-commercial use 7 and is copyrighted. Of course, we do not guarantee that the software 8 works, and are not responsible for any damage you may cause or have. 9 */ 10 11 #include "gc_color.h" 12 13 #include "wx/colour.h" 14 #include "wx/gdicmn.h" 15 #include "wx/settings.h" 16 selectedFile()17const wxColour & gccolor::selectedFile() 18 { 19 static wxColour selectedFileColor = wxTheColourDatabase->Find("LIGHT BLUE"); 20 return selectedFileColor; 21 } 22 enteredObject()23const wxColour & gccolor::enteredObject() 24 { 25 static wxColour enteredObjectColor = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT); 26 return enteredObjectColor; 27 } 28 activeObject()29const wxColour & gccolor::activeObject() 30 { 31 static wxColour activeObjectColor = wxTheColourDatabase->Find("YELLOW"); 32 return activeObjectColor; 33 } 34 35 //____________________________________________________________________________________ 36