/***************************************************************************** # Copyright (C) 1994-2008 by David Gordon. # All rights reserved. # # This software is part of a beta-test version of the Consed/Autofinish # package. It should not be redistributed or # used for any commercial purpose, including commercially funded # sequencing, without written permission from the author and the # University of Washington. # # This software is provided ``AS IS'' and any express or implied # warranties, including, but not limited to, the implied warranties of # merchantability and fitness for a particular purpose, are disclaimed. # In no event shall the authors or the University of Washington be # liable for any direct, indirect, incidental, special, exemplary, or # consequential damages (including, but not limited to, procurement of # substitute goods or services; loss of use, data, or profits; or # business interruption) however caused and on any theory of liability, # whether in contract, strict liability, or tort (including negligence # or otherwise) arising in any way out of the use of this software, even # if advised of the possibility of such damage. # # Building Consed from source is error prone and not simple which is # why I provide executables. Due to time limitations I cannot # provide any assistance in building Consed. Even if you do not # modify the source, you may introduce errors due to using a # different version of the compiler, a different version of motif, # different versions of other libraries than I used, etc. For this # reason, if you discover Consed bugs, I can only offer help with # those bugs if you first reproduce those bugs with an executable # provided by me--not an executable you have built. # # Modifying Consed is also difficult. Although Consed is modular, # some modules are used by many other modules. Thus making a change # in one place can have unforeseen effects on many other features. # It may takes months for you to notice these other side-effects # which may not seen connected at all. It is not feasable for me to # provide help with modifying Consed sources because of the # potentially huge amount of time involved. # #*****************************************************************************/ #ifndef COLORDEFAULTS_INCLUDED #define COLORDEFAULTS_INCLUDED #include "rwcstring.h" #include "sysdepend.h" class ColorDefaults { public: ColorDefaults(); // this member function provides read access to the // sole instance static ColorDefaults* pGetColorDefaults() { return pGlobalColorDefaults_; } RWCString soColorHighlightBackground_; RWCString soColorHighlightForegroundX_; RWCString soColorMeansMatch_same_; RWCString soColorMeansMatch_different_; RWCString soColorMeansMatch_clippedEnds_; RWCString soColorMeansMatch_consensus_; RWCString soColorMeansMatch_lowQualConsensus_; RWCString soColorConsensusLabel_; RWCString soColorConsensusLabelBackground_; RWCString soColorMeansQualityAgree_; RWCString soColorMeansQualityDisagree_; RWCString soColorMeansQualityConsensusForeground_; RWCString soColorMeansQuality0_4_; RWCString soColorMeansQuality5_9_; RWCString soColorMeansQuality10_14_; RWCString soColorMeansQuality15_19_; RWCString soColorMeansQuality20_24_; RWCString soColorMeansQuality25_29_; RWCString soColorMeansQuality30_34_; RWCString soColorMeansQuality35_39_; RWCString soColorMeansQuality40_97_; RWCString soColorMeansQuality98_; RWCString soColorMeansQuality99_; RWCString soColorMeansEditedAgree_; RWCString soColorMeansEditedDisagree_; RWCString soColorMeansEditedUnedited_; RWCString soColorMeansEdited98_; RWCString soColorMeansEdited99_; RWCString soColorVerticalScrollbarScrolledDown_; RWCString soColorMode_editCursorForeground_; RWCString soColorMode_editCursorBackground_; RWCString soColorTracesA_; RWCString soColorTracesC_; RWCString soColorTracesG_; RWCString soColorTracesT_; RWCString soColorTracesN_; RWCString soColorTracesPad_; RWCString soColorScale_; RWCString soColorScaleBackground_; RWCString soColorHighlightedReadNames_; RWCString soColorSequencingDirectionArrow_; RWCString soColorSequencingDirectionArrowTracesUp_; RWCString soColorVerticalLineAtCursor_; RWCString soColorHorizontalLineAtCursor_; RWCString soColorProteinTranslation_; RWCString soColorProteinTranslationLabels_; RWCString soColorProteinStartCodon_; RWCString soColorProteinStopCodon_; RWCString soColorUnmatchedRestrictionFragment_; RWCString soColorRestrictionFragmentPairTooFarApart_; RWCString soColorRestrictionFragmentInContig_; RWCString soColorRestrictionFragmentPartlyOffContig_; RWCString soColorRestrictionFragmentEntirelyOffContig_; RWCString soColorActualGelRestrictionFragment_; RWCString soColorRestrictionDigestScale_; RWCString soColorRestrictionDigestCursorIndicator_; RWCString soColorRestrictionFragmentsOnTopOfEachOther_; RWCString soColorAssemblyViewScale_; RWCString soColorAssemblyViewScaleNumbers_; RWCString soColorAssemblyViewContigs_; RWCString soColorAssemblyViewContigNamesForeground_; RWCString soColorAssemblyViewContigNamesBackground_; RWCString soColorAssemblyViewConsistentFwdRevPairs_; RWCString soColorAssemblyViewConsistentFwdRevPairDepth_; RWCString soColorAssemblyViewReadDepth_; RWCString soColorAssemblyViewDiscrepanciesNotIndels_; RWCString soColorAssemblyViewDiscrepanciesIndels_; RWCString soColorAssemblyViewTooFewConsistentFwdRevPairs_; RWCString soColorAssemblyViewInconsistentFwdRevPair_; RWCString soColorAssemblyViewConsistentGapSpanningFwdRevPair_; RWCString soColorAssemblyViewHighlight_; RWCString soColorAssemblyViewMultipleItemsOnTopOfEachOther_; RWCString soColorAssemblyViewDirectSequenceMatches_; RWCString soColorAssemblyViewInvertedSequenceMatches_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment1_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment2_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment3_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment4_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment5_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment6_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment7_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment8_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment9_; RWCString soColorAssemblyViewConsistentRestrictionDigestFragment10_; RWCString soColorAssemblyViewInconsistentRestrictionDigestFragment_; RWCString soColorAssemblyViewCloneEnd_; RWCString soColorReadPrefixDefault_; private: static ColorDefaults* pGlobalColorDefaults_; // fail if anyone tries to create a second object. static bool bColorDefaultsCreated_; }; #endif