45 , m_PaneConfig(config_cache)
81 return &(iter->second);
class CRgbaColor provides a simple abstraction for managing colors.
void SetColor(objects::CSeqFeatData::ESubtype subtype, CRgbaColor color)
TFeatColorMap m_FeatColors
void SetFeatureColorationChoice(CSeqTextPaneConfig::EFeatureDisplayType ftype)
CSeqTextPaneConfig m_PaneConfig
bool GetShow(int subtype) const
void SetShowAbsolutePosition(bool show_abs)
void SetShowFeatAsLower(bool show_lower)
bool GetShowFeatAsLower()
void SetFontSize(int font_size)
void SetShow(objects::CSeqFeatData::ESubtype subtype, bool show)
void SetCaseFeature(objects::CSeqFeatData::ESubtype subtype)
CSeqTextConfig(CGuiRegistry *config_cache=0)
void SetCodonDrawChoice(CSeqTextPaneConfig::EFeatureDisplayType ftype)
CRgbaColor * GetColor(int subtype) const
objects::SAnnotSelector * GetCaseFeature()
CSeqTextPaneConfig::EFeatureDisplayType GetFeatureColorationChoice()
CSeqTextPaneConfig::EFeatureDisplayType GetCodonDrawChoice()
bool GetShowAbsolutePosition()
int GetCaseFeatureSubtype()
void Reload()
uncache any cached data
bool GetShowAbsolutePosition()
void SetShowFeatAsLower(bool show_lower)
void Reload()
uncache any cached data
void SetShowAbsolutePosition(bool show_abs)
void SetFontSize(int font_size)
objects::SAnnotSelector * GetCaseFeature()
void SetFeatureColorationChoice(EFeatureDisplayType ftype)
EFeatureDisplayType GetCodonDrawChoice()
void SetCodonDrawChoice(EFeatureDisplayType ftype)
bool GetShowFeatAsLower()
EFeatureDisplayType GetFeatureColorationChoice()
void SetCaseFeature(TFeatSubtype subtype)
int GetCaseFeatureSubtype()
CSettingsSet is an adapter of the CGuiRegistry to provide persistance of and easy access to view's (o...
static string GetFeatWriteKey(TFeatSubtype feat_subtype, const string §ion)
retrieve the key name to write values for a given feature subtype
void Set(const string &key, int val)
set a named integer value
void Uncache()
uncache any cached lookup data
CRgbaColor GetColor(const string &key, const CRgbaColor &default_val=CRgbaColor()) const
Retrieve a named color value from a section.key.
static const string kDefaultDelim
must be the same used as a default in CGuiRegistry.
string GetFeatReadKey(TFeatSubtype feat_subtype, const string §ion, const string &subkey=kEmptyStr) const
retrieve the key name to read values for a given feature subtype
bool GetBool(const string &key, bool default_val=false) const
Retrieve a named bool value from a section.key.
container_type::iterator iterator
const_iterator end() const
const_iterator find(const key_type &key) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const string kColorsKey("color")
static const string kShowKey("show")