NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSeqGraphicConfig Class Reference

Search Toolkit Book for CSeqGraphicConfig

#include <gui/widgets/seq_graphic/seqgraphic_conf.hpp>

+ Inheritance diagram for CSeqGraphicConfig:
+ Collaboration diagram for CSeqGraphicConfig:

Public Types

enum  EAnnotDepth {
  eDepth_unknown = -2 , eDepth_nolimit = -1 , eDepth_level0 = 0 , eDepth_level1 = 1 ,
  eDepth_level2 = 2 , eDepth_level3 = 3 , eDepth_level4 = 4
}
 
typedef map< string, CRef< CFeatureParams > > TFeatParams
 
typedef int TFeatSubtype
 we use int instead of CSeqFeatData::ESubtype for two reasons: More...
 
- Public Types inherited from CObject
enum  EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern }
 Control filling of newly allocated memory. More...
 
typedef CObjectCounterLocker TLockerType
 Default locker type for CRef. More...
 
typedef atomic< Uint8TCounter
 Counter type is CAtomiCounter. More...
 
typedef Uint8 TCount
 Alias for value type of counter. More...
 

Public Member Functions

 CSeqGraphicConfig (bool cgi_mode=false, CGuiRegistry *registry=0, const string &theme="", const string &color="", const string &size="", const string &deco="", const string &profile="", const string &layout="", const string &label="")
 
 ~CSeqGraphicConfig ()
 
void LoadSettings ()
 update the cached settings. More...
 
void SaveSettings (bool clear_themes=false)
 
const stringGetCurrTheme () const
 
void SetCurrTheme (const string &theme)
 
const stringGetColorTheme () const
 
void SetColorTheme (const string &theme)
 
const stringGetSizeLevel () const
 
void SetSizeLevel (const string &size)
 
const stringGetDecorateStyle () const
 
void SetDecorateStyle (const string &style)
 
const stringGetTrackProfile () const
 
void SetTrackProfile (const string &profile)
 
const stringGetLayout () const
 
void SetLayout (const string &layout)
 
const stringGetLabelPos () const
 
void SetLabelPos (const string &label_pos)
 
const stringGetGlobalSettingStyle () const
 
void SetGlobalSettingStyle (const string &style)
 
bool IsAjdustRulerToSelection () const
 
void SetAjdustRulerToSelection (bool flag)
 
bool GetShowComments () const
 
void SetShowComments (bool flag)
 
bool GetShowSimpleComments () const
 
void SetShowSimpleComments (bool flag)
 
bool GetShowMessage () const
 
void SetShowMessage (bool flag)
 
bool ReserveCmmtSpace () const
 
void SetReserveCmmtSpace (bool flag)
 
bool GetShowCommentBg () const
 
void SetShowCommentBg (bool flag)
 
bool GetRepeatComment () const
 
void SetRepeatComment (bool flag)
 
bool AutoHideTrack () const
 
void SetAutoHideTrack (bool flag)
 
bool GetShowHorzGrid () const
 
void SetShowHorzGrid (bool flag)
 
bool GetShowVertGrid () const
 
void SetShowVertGrid (bool flag)
 
bool GetShowTrackMinusPlusSign () const
 
void SetShowTrackMinusPlusSign (bool flag)
 
bool GetBackgroundLoading () const
 
void SetBackgroundLoading (bool flag)
 
bool GetCgiMode () const
 
void SetCgiMode (bool flag)
 
bool GetShowDownwardHairlines () const
 
void SetShowDownwardHairlines (bool flag)
 
CRef< CGlTextureFontGetLabelFont () const
 
void SetLabelFont (CGlTextureFont::EFontFace font, unsigned int font_size)
 
CRef< CGlTextureFontGetCommentFont () const
 
void SetCommentFont (CGlTextureFont::EFontFace font, unsigned int font_size)
 
CRef< CGlTextureFontGetTitleFont () const
 
void SetTitleFont (CGlTextureFont::EFontFace font, unsigned int font_size)
 
const CRgbaColorGetBkColor () const
 
void SetBkColor (const CRgbaColor &color)
 
const CRgbaColorGetSelHairlineOneColor () const
 
void SetSelHairlineOneColor (const CRgbaColor &color)
 
const CRgbaColorGetSelHairlineManyColor () const
 
void SetSelHairlineManyColor (const CRgbaColor &color)
 
const CRgbaColorGetSelHairlineDownColor () const
 
void SetSelHairlineDownColor (const CRgbaColor &color)
 
const CRgbaColorGetBGCommentColor () const
 
void SetBGCommentColor (const CRgbaColor &color)
 
const CRgbaColorGetFGCommentColor () const
 
void SetFGCommentColor (const CRgbaColor &color)
 
const CRgbaColorGetTitleBackground () const
 
void SetTitleBackground (const CRgbaColor &color)
 
const CRgbaColorGetNonNCBITitleBackground () const
 
void SetNonNCBITitleBackground (const CRgbaColor &color)
 
const CRgbaColorGetSelLabelColor () const
 
void SetSelLabelColor (const CRgbaColor &color)
 
const CRgbaColorGetSelectionColor () const
 
void SetSelectionColor (const CRgbaColor &color)
 
const CRgbaColorGetHorizontalGridColor () const
 
void SetHorizontalGridColor (const CRgbaColor &color)
 
const CRgbaColorGetVerticalGridColor () const
 
void SetVerticalGridColor (const CRgbaColor &color)
 
int GetHairlineOption () const
 
void SetHairlineOption (int option)
 
int GetCommentRepeatDist () const
 
void SetCommentRepeatDist (int d)
 
int GetOverviewCutoff () const
 
void SetOverviewCutoff (int cutoff)
 
int GetHistogramCutoff () const
 
void SetHistogramCutoff (int cutoff)
 
float GetLineWidth () const
 
void SetLineWidth (float w)
 
float GetZoomFactor () const
 
void SetZoomFactor (float)
 
float GetBarHeight () const
 
void SetBarHeight (float h)
 
float GetCommentTopMargin () const
 
void SetCommentTopMargin (float s)
 
float GetCommentBottomMargin () const
 
void SetCommentBottomMargin (float s)
 
int GetObjectSpace () const
 
void SetObjectSpace (int s)
 
int GetIconSize () const
 
void SetIconSize (int s)
 
int GetIconSignSize () const
 
void SetIconSignSize (int s)
 
EAnnotDepth GetAnnotDepth () const
 
void SetAnnotDepth (int depth)
 
CConstRef< CFeatureParamsGetFeatParams (TFeatSubtype subtype) const
 Get feature settings using a feature subtype. More...
 
CConstRef< CFeatureParamsGetFeatParams (const string &name) const
 Get feature settings using a key name. More...
 
TFeatParamsSetFeatSettings ()
 
void IgnoreFeatureStrand ()
 Set show feature strand indicator to false for all features. More...
 
CConstRef< CClonePlacementParamsGetClonePlacementParams () const
 
CRef< CHistParamsManagerGetHistParamsManager () const
 Get histogram config manager. More...
 
CRef< CHistParamsGetHistParams (TFeatSubtype subtype) const
 
CRef< CHistParamsGetHistParams (const string &name) const
 
CConstRef< CCommentConfigGetCommentConfig () const
 
CConstRef< CCustomFeatureColorGetCustomFeatColors () const
 
void InitCategoryConfig (const CCategoryConfig::TGroupMap &group_map, const CCategoryConfig::TSubgroupMap &sub_group_map)
 if the category configuration is not loaded, load it More...
 
CRef< CCategoryConfigGetCategoryConfig ()
 
void SetDirty (bool f)
 
bool GetDirty () const
 
- Public Member Functions inherited from CObject
 CObject (void)
 Constructor. More...
 
 CObject (const CObject &src)
 Copy constructor. More...
 
virtual ~CObject (void)
 Destructor. More...
 
CObjectoperator= (const CObject &src) THROWS_NONE
 Assignment operator. More...
 
bool CanBeDeleted (void) const THROWS_NONE
 Check if object can be deleted. More...
 
bool IsAllocatedInPool (void) const THROWS_NONE
 Check if object is allocated in memory pool (not system heap) More...
 
bool Referenced (void) const THROWS_NONE
 Check if object is referenced. More...
 
bool ReferencedOnlyOnce (void) const THROWS_NONE
 Check if object is referenced only once. More...
 
void AddReference (void) const
 Add reference to object. More...
 
void RemoveReference (void) const
 Remove reference to object. More...
 
void ReleaseReference (void) const
 Remove reference without deleting object. More...
 
virtual void DoNotDeleteThisObject (void)
 Mark this object as not allocated in heap – do not delete this object. More...
 
virtual void DoDeleteThisObject (void)
 Mark this object as allocated in heap – object can be deleted. More...
 
void * operator new (size_t size)
 Define new operator for memory allocation. More...
 
void * operator new[] (size_t size)
 Define new[] operator for 'array' memory allocation. More...
 
void operator delete (void *ptr)
 Define delete operator for memory deallocation. More...
 
void operator delete[] (void *ptr)
 Define delete[] operator for memory deallocation. More...
 
void * operator new (size_t size, void *place)
 Define new operator. More...
 
void operator delete (void *ptr, void *place)
 Define delete operator. More...
 
void * operator new (size_t size, CObjectMemoryPool *place)
 Define new operator using memory pool. More...
 
void operator delete (void *ptr, CObjectMemoryPool *place)
 Define delete operator. More...
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
- Public Member Functions inherited from CDebugDumpable
 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
void DumpToConsole (void) const
 

Static Public Member Functions

static const stringThemeKey ()
 CSeqGraphicConfig inline methods. More...
 
static const stringDefTheme ()
 
static void LoadSettingStyles (const CGuiRegistry &reg, string &theme, string &color, string &size, string &deco, string &profile, string &label)
 Utility method helping initializing various settings styles. More...
 
- Static Public Member Functions inherited from CObject
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void)
 Define method to throw null pointer exception. More...
 
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type)
 
static EAllocFillMode GetAllocFillMode (void)
 
static void SetAllocFillMode (EAllocFillMode mode)
 
static void SetAllocFillMode (const string &value)
 Set mode from configuration parameter value. More...
 
- Static Public Member Functions inherited from CDebugDumpable
static void EnableDebugDump (bool on)
 

Private Member Functions

void x_VerifySettings () const
 
void x_LoadFeatSettings ()
 
void x_SaveFeatSettings ()
 
void x_LoadHistSettings ()
 
void x_SaveHistSettings ()
 
Forbidden
 CSeqGraphicConfig (const CSeqGraphicConfig &)
 
CSeqGraphicConfigoperator= (const CSeqGraphicConfig &)
 

Private Attributes

CRef< CGuiRegistrym_Registry
 
bool m_AdjustRuler
 
bool m_ShowComments
 
bool m_ShowSimpleComments
 
bool m_ShowMessage
 
bool m_ReserveCmmtSpace
 
bool m_ShowCmmtBg
 
bool m_RepeatComment
 
bool m_AutoHideTrack
 Automatically hide tracks w/o data. More...
 
bool m_ShowHorzGrid
 
bool m_ShowVertGrid
 
bool m_ShowTrackMinusPlusSign
 
bool m_BackgroundLoading
 
bool m_CgiMode
 not loaded from configure file More...
 
bool m_ShowDownwardHairlines
 
int m_HairLineOption
 Cached sizes. More...
 
int m_CmmtRepDist
 
int m_OverviewCutoff
 cut-off between overview and detail mode(base per pixel) More...
 
int m_HistogramCutoff
 Num of features. More...
 
float m_LineWidth
 
float m_ZoomFactor
 Per pexel of a mouse movement. More...
 
float m_BarHeight
 
float m_CmmtTopMargin
 
float m_CmmtBottomMargin
 
int m_ObjSpace
 
int m_IconSize
 
int m_IconSignSize
 
EAnnotDepth m_AnnotDepth
 
CRef< CGlTextureFontm_LabelFont
 cached fonts. More...
 
CRef< CGlTextureFontm_CommentFont
 
CRef< CGlTextureFontm_TitleFont
 
CRgbaColor m_Background
 Cached colors. More...
 
CRgbaColor m_SelHairlineOne
 
CRgbaColor m_SelHairlineMany
 
CRgbaColor m_SelHairlineDown
 
CRgbaColor m_BGComment
 
CRgbaColor m_FGComment
 
CRgbaColor m_TitleBackground
 
CRgbaColor m_NonNCBITitleBackground
 
CRgbaColor m_SelLabel
 
CRgbaColor m_Selection
 
CRgbaColor m_GridHorizontal
 
CRgbaColor m_GridVertical
 
TFeatParams m_FeatSettings
 cached histogram rendering parameters. More...
 
CRef< CHistParamsManagerm_HistParamsManager
 
CRef< CClonePlacementParamsm_ClonePlacementSettings
 cached clone placement settings. More...
 
CRef< CCommentConfigm_CommentConfig
 
CRef< CCustomFeatureColorm_CustomFeatColors
 
CRef< CCategoryConfigm_CategoryConfig
 
bool m_Dirty
 
current theme and setting styles

> the registry these views come from.

string m_CurrTheme
 current theme More...
 
string m_CurrColor
 color theme More...
 
string m_CurrSize
 size level More...
 
string m_CurrDeco
 decoration, mainly for features More...
 
string m_CurrProfile
 feature panel track profile More...
 
string m_CurrLayout
 layout style More...
 
string m_CurrLabelPos
 label position style More...
 
string m_CurrGlobal
 global setting style More...
 

Additional Inherited Members

- Static Public Attributes inherited from CObject
static const TCount eCounterBitsCanBeDeleted = 1 << 0
 Define possible object states. More...
 
static const TCount eCounterBitsInPlainHeap = 1 << 1
 Heap signature was found. More...
 
static const TCount eCounterBitsPlaceMask
 Mask for 'in heap' state flags. More...
 
static const int eCounterStep = 1 << 2
 Skip over the "in heap" bits. More...
 
static const TCount eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2)
 Minimal value for valid objects (reference counter is zero) Must be a single bit value. More...
 
static const TCount eCounterStateMask
 Valid object, and object in heap. More...
 
- Protected Member Functions inherited from CObject
virtual void DeleteThis (void)
 Virtual method "deleting" this object. More...
 

Detailed Description

Definition at line 61 of file seqgraphic_conf.hpp.

Member Typedef Documentation

◆ TFeatParams

Definition at line 74 of file seqgraphic_conf.hpp.

◆ TFeatSubtype

we use int instead of CSeqFeatData::ESubtype for two reasons:

  • avoids unnecessary includes
  • gives transparent warning-free compiles with generic serialized code (i.e., when we serialize a subtype, it's as an int not as an enum)

Definition at line 81 of file seqgraphic_conf.hpp.

Member Enumeration Documentation

◆ EAnnotDepth

Enumerator
eDepth_unknown 

sequence-specific, up to app to decide

eDepth_nolimit 

adaptive and no depth limitation,

eDepth_level0 

exact level 0

eDepth_level1 

exact level 1

eDepth_level2 

exact level 2

eDepth_level3 

exact level 3

eDepth_level4 

exact level 4

Definition at line 64 of file seqgraphic_conf.hpp.

Constructor & Destructor Documentation

◆ CSeqGraphicConfig() [1/2]

CSeqGraphicConfig::CSeqGraphicConfig ( bool  cgi_mode = false,
CGuiRegistry registry = 0,
const string theme = "",
const string color = "",
const string size = "",
const string deco = "",
const string profile = "",
const string layout = "",
const string label = "" 
)

Definition at line 50 of file seqgraphic_conf.cpp.

References LoadSettings(), and x_VerifySettings().

◆ ~CSeqGraphicConfig()

CSeqGraphicConfig::~CSeqGraphicConfig ( )

Definition at line 80 of file seqgraphic_conf.cpp.

◆ CSeqGraphicConfig() [2/2]

CSeqGraphicConfig::CSeqGraphicConfig ( const CSeqGraphicConfig )
private

Member Function Documentation

◆ AutoHideTrack()

bool CSeqGraphicConfig::AutoHideTrack ( ) const
inline

Definition at line 597 of file seqgraphic_conf.hpp.

References m_AutoHideTrack.

Referenced by CLayoutTrack::x_ShowTitle().

◆ DefTheme()

const string & CSeqGraphicConfig::DefTheme ( )
inlinestatic

Definition at line 410 of file seqgraphic_conf.hpp.

References ncbi::grid::netcache::search::fields::key.

Referenced by LoadSettings(), and LoadSettingStyles().

◆ GetAnnotDepth()

CSeqGraphicConfig::EAnnotDepth CSeqGraphicConfig::GetAnnotDepth ( ) const
inline

Definition at line 1014 of file seqgraphic_conf.hpp.

References m_AnnotDepth.

◆ GetBackgroundLoading()

bool CSeqGraphicConfig::GetBackgroundLoading ( ) const
inline

Definition at line 645 of file seqgraphic_conf.hpp.

References m_BackgroundLoading.

◆ GetBarHeight()

float CSeqGraphicConfig::GetBarHeight ( ) const
inline

Definition at line 948 of file seqgraphic_conf.hpp.

References m_BarHeight.

◆ GetBGCommentColor()

const CRgbaColor & CSeqGraphicConfig::GetBGCommentColor ( ) const
inline

◆ GetBkColor()

const CRgbaColor & CSeqGraphicConfig::GetBkColor ( ) const
inline

Definition at line 724 of file seqgraphic_conf.hpp.

References m_Background.

Referenced by CSeqGraphicRenderer::x_Draw().

◆ GetCategoryConfig()

CRef< CCategoryConfig > CSeqGraphicConfig::GetCategoryConfig ( )

Definition at line 334 of file seqgraphic_conf.cpp.

References InitCategoryConfig(), and m_CategoryConfig.

Referenced by CTrackConfigManager::CreateTrackConfig().

◆ GetCgiMode()

bool CSeqGraphicConfig::GetCgiMode ( ) const
inline

◆ GetClonePlacementParams()

CConstRef< CClonePlacementParams > CSeqGraphicConfig::GetClonePlacementParams ( ) const
inline

◆ GetColorTheme()

const string & CSeqGraphicConfig::GetColorTheme ( ) const
inline

◆ GetCommentBottomMargin()

float CSeqGraphicConfig::GetCommentBottomMargin ( ) const
inline

Definition at line 966 of file seqgraphic_conf.hpp.

References m_CmmtBottomMargin.

Referenced by CLayoutTrack::x_GetTBHeight().

◆ GetCommentConfig()

CConstRef< CCommentConfig > CSeqGraphicConfig::GetCommentConfig ( ) const

Definition at line 328 of file seqgraphic_conf.cpp.

References CRef< C, Locker >::GetPointer(), and m_CommentConfig.

Referenced by CGlyphContainer::SetComments().

◆ GetCommentFont()

CRef< CGlTextureFont > CSeqGraphicConfig::GetCommentFont ( ) const
inline

◆ GetCommentRepeatDist()

int CSeqGraphicConfig::GetCommentRepeatDist ( ) const
inline

◆ GetCommentTopMargin()

float CSeqGraphicConfig::GetCommentTopMargin ( ) const
inline

◆ GetCurrTheme()

const string & CSeqGraphicConfig::GetCurrTheme ( ) const
inline

Definition at line 417 of file seqgraphic_conf.hpp.

References m_CurrTheme.

Referenced by CFeatureTrack::x_LoadSettings().

◆ GetCustomFeatColors()

CConstRef< CCustomFeatureColor > CSeqGraphicConfig::GetCustomFeatColors ( ) const
inline

◆ GetDecorateStyle()

const string & CSeqGraphicConfig::GetDecorateStyle ( ) const
inline

Definition at line 453 of file seqgraphic_conf.hpp.

References m_CurrDeco.

Referenced by CFeaturePanel::x_OnDecorationIconClicked().

◆ GetDirty()

bool CSeqGraphicConfig::GetDirty ( ) const
inline

Definition at line 1075 of file seqgraphic_conf.hpp.

References m_Dirty.

◆ GetFeatParams() [1/2]

CConstRef< CFeatureParams > CSeqGraphicConfig::GetFeatParams ( const string name) const

Get feature settings using a key name.

Definition at line 318 of file seqgraphic_conf.cpp.

References map_checker< Container >::end(), map_checker< Container >::find(), kDefFeatKey(), and m_FeatSettings.

◆ GetFeatParams() [2/2]

CConstRef< CFeatureParams > CSeqGraphicConfig::GetFeatParams ( TFeatSubtype  subtype) const

◆ GetFGCommentColor()

const CRgbaColor & CSeqGraphicConfig::GetFGCommentColor ( ) const
inline

◆ GetGlobalSettingStyle()

const string & CSeqGraphicConfig::GetGlobalSettingStyle ( ) const
inline

Definition at line 501 of file seqgraphic_conf.hpp.

References m_CurrGlobal.

◆ GetHairlineOption()

int CSeqGraphicConfig::GetHairlineOption ( ) const
inline

◆ GetHistogramCutoff()

int CSeqGraphicConfig::GetHistogramCutoff ( ) const
inline

Definition at line 904 of file seqgraphic_conf.hpp.

References m_HistogramCutoff.

Referenced by CFeatureTrack::x_OnLayoutPolicyChanged().

◆ GetHistParams() [1/2]

CRef< CHistParams > CSeqGraphicConfig::GetHistParams ( const string name) const
inline

◆ GetHistParams() [2/2]

CRef< CHistParams > CSeqGraphicConfig::GetHistParams ( TFeatSubtype  subtype) const
inline

◆ GetHistParamsManager()

CRef< CHistParamsManager > CSeqGraphicConfig::GetHistParamsManager ( ) const
inline

◆ GetHorizontalGridColor()

const CRgbaColor & CSeqGraphicConfig::GetHorizontalGridColor ( ) const
inline

Definition at line 844 of file seqgraphic_conf.hpp.

References m_GridHorizontal.

Referenced by CFeaturePanel::x_Draw(), and CFeaturePanel::x_LoadSettings().

◆ GetIconSignSize()

int CSeqGraphicConfig::GetIconSignSize ( ) const
inline

Definition at line 1002 of file seqgraphic_conf.hpp.

References m_IconSignSize.

◆ GetIconSize()

int CSeqGraphicConfig::GetIconSize ( ) const
inline

◆ GetLabelFont()

CRef< CGlTextureFont > CSeqGraphicConfig::GetLabelFont ( ) const
inline

Definition at line 681 of file seqgraphic_conf.hpp.

References m_LabelFont.

Referenced by CLegendItemGlyph::x_Draw(), and CGraphOverlay::x_UpdateLegend().

◆ GetLabelPos()

const string & CSeqGraphicConfig::GetLabelPos ( ) const
inline

◆ GetLayout()

const string & CSeqGraphicConfig::GetLayout ( void  ) const
inline

Definition at line 477 of file seqgraphic_conf.hpp.

References m_CurrLayout.

Referenced by CFeaturePanel::x_LoadSettings(), and CFeaturePanel::x_SaveSettings().

◆ GetLineWidth()

float CSeqGraphicConfig::GetLineWidth ( ) const
inline

Definition at line 918 of file seqgraphic_conf.hpp.

References m_LineWidth.

◆ GetNonNCBITitleBackground()

const CRgbaColor & CSeqGraphicConfig::GetNonNCBITitleBackground ( ) const
inline

Definition at line 808 of file seqgraphic_conf.hpp.

References m_NonNCBITitleBackground.

◆ GetObjectSpace()

int CSeqGraphicConfig::GetObjectSpace ( ) const
inline

◆ GetOverviewCutoff()

int CSeqGraphicConfig::GetOverviewCutoff ( ) const
inline

Definition at line 892 of file seqgraphic_conf.hpp.

References m_OverviewCutoff.

◆ GetRepeatComment()

bool CSeqGraphicConfig::GetRepeatComment ( ) const
inline

◆ GetSelectionColor()

const CRgbaColor & CSeqGraphicConfig::GetSelectionColor ( ) const
inline

Definition at line 832 of file seqgraphic_conf.hpp.

References m_Selection.

Referenced by CFeaturePanel::x_OnColorIconClicked().

◆ GetSelHairlineDownColor()

const CRgbaColor & CSeqGraphicConfig::GetSelHairlineDownColor ( ) const
inline

Definition at line 760 of file seqgraphic_conf.hpp.

References m_SelHairlineDown.

Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().

◆ GetSelHairlineManyColor()

const CRgbaColor & CSeqGraphicConfig::GetSelHairlineManyColor ( ) const
inline

Definition at line 748 of file seqgraphic_conf.hpp.

References m_SelHairlineMany.

Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().

◆ GetSelHairlineOneColor()

const CRgbaColor & CSeqGraphicConfig::GetSelHairlineOneColor ( ) const
inline

Definition at line 736 of file seqgraphic_conf.hpp.

References m_SelHairlineOne.

Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().

◆ GetSelLabelColor()

const CRgbaColor & CSeqGraphicConfig::GetSelLabelColor ( ) const
inline

Definition at line 820 of file seqgraphic_conf.hpp.

References m_SelLabel.

Referenced by CFeaturePanel::x_OnColorIconClicked().

◆ GetShowCommentBg()

bool CSeqGraphicConfig::GetShowCommentBg ( ) const
inline

Definition at line 573 of file seqgraphic_conf.hpp.

References m_ShowCmmtBg.

◆ GetShowComments()

bool CSeqGraphicConfig::GetShowComments ( ) const
inline

◆ GetShowDownwardHairlines()

bool CSeqGraphicConfig::GetShowDownwardHairlines ( ) const
inline

◆ GetShowHorzGrid()

bool CSeqGraphicConfig::GetShowHorzGrid ( ) const
inline

◆ GetShowMessage()

bool CSeqGraphicConfig::GetShowMessage ( ) const
inline

Definition at line 549 of file seqgraphic_conf.hpp.

References m_ShowMessage.

Referenced by CLayoutTrack::x_RenderTitleBar().

◆ GetShowSimpleComments()

bool CSeqGraphicConfig::GetShowSimpleComments ( ) const
inline

Definition at line 537 of file seqgraphic_conf.hpp.

References m_ShowSimpleComments.

Referenced by CGeneModelTrack::x_AddLandMarkFeaturesLayout().

◆ GetShowTrackMinusPlusSign()

bool CSeqGraphicConfig::GetShowTrackMinusPlusSign ( ) const
inline

◆ GetShowVertGrid()

bool CSeqGraphicConfig::GetShowVertGrid ( ) const
inline

Definition at line 621 of file seqgraphic_conf.hpp.

References m_ShowVertGrid.

Referenced by CFeaturePanel::x_Draw().

◆ GetSizeLevel()

const string & CSeqGraphicConfig::GetSizeLevel ( ) const
inline

◆ GetTitleBackground()

const CRgbaColor & CSeqGraphicConfig::GetTitleBackground ( ) const
inline

Definition at line 796 of file seqgraphic_conf.hpp.

References m_TitleBackground.

◆ GetTitleFont()

CRef< CGlTextureFont > CSeqGraphicConfig::GetTitleFont ( ) const
inline

◆ GetTrackProfile()

const string & CSeqGraphicConfig::GetTrackProfile ( ) const
inline

Definition at line 465 of file seqgraphic_conf.hpp.

References m_CurrProfile.

◆ GetVerticalGridColor()

const CRgbaColor & CSeqGraphicConfig::GetVerticalGridColor ( ) const
inline

◆ GetZoomFactor()

float CSeqGraphicConfig::GetZoomFactor ( void  ) const
inline

Definition at line 930 of file seqgraphic_conf.hpp.

References m_ZoomFactor.

◆ IgnoreFeatureStrand()

void CSeqGraphicConfig::IgnoreFeatureStrand ( )
inline

◆ InitCategoryConfig()

void CSeqGraphicConfig::InitCategoryConfig ( const CCategoryConfig::TGroupMap group_map,
const CCategoryConfig::TSubgroupMap sub_group_map 
)

◆ IsAjdustRulerToSelection()

bool CSeqGraphicConfig::IsAjdustRulerToSelection ( ) const
inline

◆ LoadSettings()

void CSeqGraphicConfig::LoadSettings ( )

update the cached settings.

Definition at line 85 of file seqgraphic_conf.cpp.

References CSGConfigUtils::DefColorTheme(), CSGConfigUtils::DefDecoStyle(), CSGConfigUtils::DefGlobalSettingStyle(), CSGConfigUtils::DefLabelPosition(), CSGConfigUtils::DefLayout(), CSGConfigUtils::DefSizeLevel(), DefTheme(), CSGConfigUtils::DefTrackProfile(), CRegistryReadView::GetBool(), CSGConfigUtils::GetColor(), CSGConfigUtils::GetColorReadView(), CSGConfigUtils::GetFont(), CRegistryReadView::GetInt(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetReal(), CSGConfigUtils::GetSizeReadView(), CRegistryReadView::GetString(), CSGConfigUtils::GlobalSettingStyleKey(), CRegistryReadView::HasField(), kBaseKey(), m_AdjustRuler, m_AutoHideTrack, m_Background, m_BackgroundLoading, m_BarHeight, m_BGComment, m_CmmtBottomMargin, m_CmmtRepDist, m_CmmtTopMargin, m_CommentFont, m_CurrColor, m_CurrDeco, m_CurrGlobal, m_CurrLabelPos, m_CurrLayout, m_CurrProfile, m_CurrSize, m_CurrTheme, m_FGComment, m_GridHorizontal, m_GridVertical, m_HairLineOption, m_HistogramCutoff, m_IconSignSize, m_IconSize, m_LabelFont, m_LineWidth, m_NonNCBITitleBackground, m_ObjSpace, m_OverviewCutoff, m_Registry, m_RepeatComment, m_ReserveCmmtSpace, m_Selection, m_SelHairlineDown, m_SelHairlineMany, m_SelHairlineOne, m_SelLabel, m_ShowCmmtBg, m_ShowComments, m_ShowDownwardHairlines, m_ShowHorzGrid, m_ShowMessage, m_ShowSimpleComments, m_ShowTrackMinusPlusSign, m_ShowVertGrid, m_TitleBackground, m_TitleFont, m_ZoomFactor, SetAnnotDepth(), ThemeKey(), x_LoadFeatSettings(), and x_LoadHistSettings().

Referenced by CSeqGraphicConfig(), CRowDisplayStyle::GetSeqGraphicConfig(), CSeqGraphicPane::UpdateConfig(), CFeaturePanel::x_OnColorIconClicked(), CFeaturePanel::x_OnDecorationIconClicked(), CFeaturePanel::x_OnLabelIconClicked(), and CFeaturePanel::x_OnSizeIconClicked().

◆ LoadSettingStyles()

void CSeqGraphicConfig::LoadSettingStyles ( const CGuiRegistry reg,
string theme,
string color,
string size,
string deco,
string profile,
string label 
)
static

Utility method helping initializing various settings styles.

The styles include color, size, feature decoration, track profile, and label position. @reg GUI registry @theme setting theme. It may be empty. If empty, the default theme will be used @color color style. If empty, a corresponding style will be set @size size style. If empty, a corresponding style will be set @deco deco style. If empty, a corresponding style will be set @profile track content style. If empty, a corresponding style will be set @label label position. If empty, a corresponding style will be set

Definition at line 416 of file seqgraphic_conf.cpp.

References color, CSGConfigUtils::DefColorTheme(), CSGConfigUtils::DefDecoStyle(), CSGConfigUtils::DefLabelPosition(), CSGConfigUtils::DefSizeLevel(), DefTheme(), CSGConfigUtils::DefTrackProfile(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetString(), CRegistryReadView::HasField(), kBaseKey(), label, ncbi::grid::netcache::search::fields::size, and ThemeKey().

◆ operator=()

CSeqGraphicConfig& CSeqGraphicConfig::operator= ( const CSeqGraphicConfig )
private

◆ ReserveCmmtSpace()

bool CSeqGraphicConfig::ReserveCmmtSpace ( ) const
inline

Definition at line 561 of file seqgraphic_conf.hpp.

References m_ReserveCmmtSpace.

◆ SaveSettings()

void CSeqGraphicConfig::SaveSettings ( bool  clear_themes = false)

◆ SetAjdustRulerToSelection()

void CSeqGraphicConfig::SetAjdustRulerToSelection ( bool  flag)
inline

Definition at line 519 of file seqgraphic_conf.hpp.

References m_AdjustRuler.

◆ SetAnnotDepth()

void CSeqGraphicConfig::SetAnnotDepth ( int  depth)
inline

Definition at line 1020 of file seqgraphic_conf.hpp.

References depth, and m_AnnotDepth.

Referenced by LoadSettings().

◆ SetAutoHideTrack()

void CSeqGraphicConfig::SetAutoHideTrack ( bool  flag)
inline

Definition at line 603 of file seqgraphic_conf.hpp.

References m_AutoHideTrack.

◆ SetBackgroundLoading()

void CSeqGraphicConfig::SetBackgroundLoading ( bool  flag)
inline

Definition at line 651 of file seqgraphic_conf.hpp.

References m_BackgroundLoading.

Referenced by CRowDisplayStyle::GetSeqGraphicConfig().

◆ SetBarHeight()

void CSeqGraphicConfig::SetBarHeight ( float  h)
inline

Definition at line 942 of file seqgraphic_conf.hpp.

References m_BarHeight.

◆ SetBGCommentColor()

void CSeqGraphicConfig::SetBGCommentColor ( const CRgbaColor color)
inline

Definition at line 778 of file seqgraphic_conf.hpp.

References color, and m_BGComment.

◆ SetBkColor()

void CSeqGraphicConfig::SetBkColor ( const CRgbaColor color)
inline

Definition at line 730 of file seqgraphic_conf.hpp.

References color, and m_Background.

◆ SetCgiMode()

void CSeqGraphicConfig::SetCgiMode ( bool  flag)
inline

Definition at line 663 of file seqgraphic_conf.hpp.

References m_CgiMode.

◆ SetColorTheme()

void CSeqGraphicConfig::SetColorTheme ( const string theme)
inline

Definition at line 435 of file seqgraphic_conf.hpp.

References m_CurrColor.

Referenced by CFeaturePanel::x_OnColorIconClicked().

◆ SetCommentBottomMargin()

void CSeqGraphicConfig::SetCommentBottomMargin ( float  s)
inline

Definition at line 972 of file seqgraphic_conf.hpp.

References m_CmmtBottomMargin.

◆ SetCommentFont()

void CSeqGraphicConfig::SetCommentFont ( CGlTextureFont::EFontFace  font,
unsigned int  font_size 
)
inline

◆ SetCommentRepeatDist()

void CSeqGraphicConfig::SetCommentRepeatDist ( int  d)
inline

Definition at line 886 of file seqgraphic_conf.hpp.

References m_CmmtRepDist.

◆ SetCommentTopMargin()

void CSeqGraphicConfig::SetCommentTopMargin ( float  s)
inline

Definition at line 960 of file seqgraphic_conf.hpp.

References m_CmmtTopMargin.

◆ SetCurrTheme()

void CSeqGraphicConfig::SetCurrTheme ( const string theme)
inline

Definition at line 423 of file seqgraphic_conf.hpp.

References m_CurrTheme.

◆ SetDecorateStyle()

void CSeqGraphicConfig::SetDecorateStyle ( const string style)
inline

Definition at line 459 of file seqgraphic_conf.hpp.

References m_CurrDeco.

Referenced by CFeaturePanel::x_OnDecorationIconClicked().

◆ SetDirty()

void CSeqGraphicConfig::SetDirty ( bool  f)
inline

◆ SetFeatSettings()

CSeqGraphicConfig::TFeatParams & CSeqGraphicConfig::SetFeatSettings ( )
inline

Definition at line 1026 of file seqgraphic_conf.hpp.

References m_FeatSettings.

◆ SetFGCommentColor()

void CSeqGraphicConfig::SetFGCommentColor ( const CRgbaColor color)
inline

Definition at line 790 of file seqgraphic_conf.hpp.

References color, and m_FGComment.

◆ SetGlobalSettingStyle()

void CSeqGraphicConfig::SetGlobalSettingStyle ( const string style)
inline

Definition at line 507 of file seqgraphic_conf.hpp.

References m_CurrGlobal.

◆ SetHairlineOption()

void CSeqGraphicConfig::SetHairlineOption ( int  option)
inline

Definition at line 874 of file seqgraphic_conf.hpp.

References m_HairLineOption, and option.

Referenced by CwxHairlineDlg::OnOkClick().

◆ SetHistogramCutoff()

void CSeqGraphicConfig::SetHistogramCutoff ( int  cutoff)
inline

Definition at line 912 of file seqgraphic_conf.hpp.

References m_HistogramCutoff.

◆ SetHorizontalGridColor()

void CSeqGraphicConfig::SetHorizontalGridColor ( const CRgbaColor color)
inline

Definition at line 850 of file seqgraphic_conf.hpp.

References color, and m_GridHorizontal.

◆ SetIconSignSize()

void CSeqGraphicConfig::SetIconSignSize ( int  s)
inline

Definition at line 1008 of file seqgraphic_conf.hpp.

References m_IconSignSize.

◆ SetIconSize()

void CSeqGraphicConfig::SetIconSize ( int  s)
inline

Definition at line 996 of file seqgraphic_conf.hpp.

References m_IconSize.

◆ SetLabelFont()

void CSeqGraphicConfig::SetLabelFont ( CGlTextureFont::EFontFace  font,
unsigned int  font_size 
)
inline

◆ SetLabelPos()

void CSeqGraphicConfig::SetLabelPos ( const string label_pos)
inline

◆ SetLayout()

void CSeqGraphicConfig::SetLayout ( const string layout)
inline

Definition at line 483 of file seqgraphic_conf.hpp.

References m_CurrLayout.

◆ SetLineWidth()

void CSeqGraphicConfig::SetLineWidth ( float  w)
inline

Definition at line 924 of file seqgraphic_conf.hpp.

References m_LineWidth.

◆ SetNonNCBITitleBackground()

void CSeqGraphicConfig::SetNonNCBITitleBackground ( const CRgbaColor color)
inline

Definition at line 814 of file seqgraphic_conf.hpp.

References color, and m_NonNCBITitleBackground.

◆ SetObjectSpace()

void CSeqGraphicConfig::SetObjectSpace ( int  s)
inline

Definition at line 984 of file seqgraphic_conf.hpp.

References m_ObjSpace.

◆ SetOverviewCutoff()

void CSeqGraphicConfig::SetOverviewCutoff ( int  cutoff)
inline

Definition at line 898 of file seqgraphic_conf.hpp.

References m_OverviewCutoff.

◆ SetRepeatComment()

void CSeqGraphicConfig::SetRepeatComment ( bool  flag)
inline

Definition at line 591 of file seqgraphic_conf.hpp.

References m_RepeatComment.

◆ SetReserveCmmtSpace()

void CSeqGraphicConfig::SetReserveCmmtSpace ( bool  flag)
inline

Definition at line 567 of file seqgraphic_conf.hpp.

References m_ReserveCmmtSpace.

◆ SetSelectionColor()

void CSeqGraphicConfig::SetSelectionColor ( const CRgbaColor color)
inline

Definition at line 838 of file seqgraphic_conf.hpp.

References color, and m_Selection.

◆ SetSelHairlineDownColor()

void CSeqGraphicConfig::SetSelHairlineDownColor ( const CRgbaColor color)
inline

Definition at line 766 of file seqgraphic_conf.hpp.

References color, and m_SelHairlineDown.

Referenced by CwxHairlineDlg::OnOkClick().

◆ SetSelHairlineManyColor()

void CSeqGraphicConfig::SetSelHairlineManyColor ( const CRgbaColor color)
inline

Definition at line 754 of file seqgraphic_conf.hpp.

References color, and m_SelHairlineMany.

Referenced by CwxHairlineDlg::OnOkClick().

◆ SetSelHairlineOneColor()

void CSeqGraphicConfig::SetSelHairlineOneColor ( const CRgbaColor color)
inline

Definition at line 742 of file seqgraphic_conf.hpp.

References color, and m_SelHairlineOne.

Referenced by CwxHairlineDlg::OnOkClick().

◆ SetSelLabelColor()

void CSeqGraphicConfig::SetSelLabelColor ( const CRgbaColor color)
inline

Definition at line 826 of file seqgraphic_conf.hpp.

References color, and m_SelLabel.

◆ SetShowCommentBg()

void CSeqGraphicConfig::SetShowCommentBg ( bool  flag)
inline

Definition at line 579 of file seqgraphic_conf.hpp.

References m_ShowCmmtBg.

◆ SetShowComments()

void CSeqGraphicConfig::SetShowComments ( bool  flag)
inline

Definition at line 531 of file seqgraphic_conf.hpp.

References m_ShowComments.

◆ SetShowDownwardHairlines()

void CSeqGraphicConfig::SetShowDownwardHairlines ( bool  flag)
inline

Definition at line 675 of file seqgraphic_conf.hpp.

References m_ShowDownwardHairlines.

Referenced by CwxHairlineDlg::OnOkClick().

◆ SetShowHorzGrid()

void CSeqGraphicConfig::SetShowHorzGrid ( bool  flag)
inline

Definition at line 615 of file seqgraphic_conf.hpp.

References m_ShowHorzGrid.

◆ SetShowMessage()

void CSeqGraphicConfig::SetShowMessage ( bool  flag)
inline

Definition at line 555 of file seqgraphic_conf.hpp.

References m_ShowMessage.

◆ SetShowSimpleComments()

void CSeqGraphicConfig::SetShowSimpleComments ( bool  flag)
inline

Definition at line 543 of file seqgraphic_conf.hpp.

References m_ShowSimpleComments.

◆ SetShowTrackMinusPlusSign()

void CSeqGraphicConfig::SetShowTrackMinusPlusSign ( bool  flag)
inline

Definition at line 639 of file seqgraphic_conf.hpp.

References m_ShowTrackMinusPlusSign.

◆ SetShowVertGrid()

void CSeqGraphicConfig::SetShowVertGrid ( bool  flag)
inline

Definition at line 627 of file seqgraphic_conf.hpp.

References m_ShowVertGrid.

◆ SetSizeLevel()

void CSeqGraphicConfig::SetSizeLevel ( const string size)
inline

◆ SetTitleBackground()

void CSeqGraphicConfig::SetTitleBackground ( const CRgbaColor color)
inline

Definition at line 802 of file seqgraphic_conf.hpp.

References color, and m_TitleBackground.

◆ SetTitleFont()

void CSeqGraphicConfig::SetTitleFont ( CGlTextureFont::EFontFace  font,
unsigned int  font_size 
)
inline

◆ SetTrackProfile()

void CSeqGraphicConfig::SetTrackProfile ( const string profile)
inline

◆ SetVerticalGridColor()

void CSeqGraphicConfig::SetVerticalGridColor ( const CRgbaColor color)
inline

Definition at line 862 of file seqgraphic_conf.hpp.

References color, and m_GridVertical.

◆ SetZoomFactor()

void CSeqGraphicConfig::SetZoomFactor ( float  f)
inline

Definition at line 936 of file seqgraphic_conf.hpp.

References f(), and m_ZoomFactor.

◆ ThemeKey()

const string & CSeqGraphicConfig::ThemeKey ( )
inlinestatic

CSeqGraphicConfig inline methods.

Definition at line 403 of file seqgraphic_conf.hpp.

References ncbi::grid::netcache::search::fields::key.

Referenced by LoadSettings(), LoadSettingStyles(), and SaveSettings().

◆ x_LoadFeatSettings()

void CSeqGraphicConfig::x_LoadFeatSettings ( )
private

Definition at line 458 of file seqgraphic_conf.cpp.

References map_checker< Container >::clear(), color, CSGConfigUtils::ComposeDecoKey(), CFeatureParams::DecoStrToValue(), CCustomFeatureColor::eCNV, CCustomFeatureColor::eComplex, CCustomFeatureColor::eDeletionInsertion, CCustomFeatureColor::eEverted, CCustomFeatureColor::eGain, CFeatureParams::eHead_No, CCustomFeatureColor::eHighIdentity, CCustomFeatureColor::eInsertion, CCustomFeatureColor::eInversion, CFeatureParams::eLine_Solid, CCustomFeatureColor::eLoss, CCustomFeatureColor::eLowIdentity, CCustomFeatureColor::eMidIdentity, CFeatureParams::ePos_Side, CFeatureParams::eStraightLine, CFeatureParams::eTail_No, CCustomFeatureColor::eTranschr, CCustomFeatureColor::eUnknown, CRegistryReadView::GetBool(), CSGConfigUtils::GetColor(), CSGConfigUtils::GetColorReadView(), CSGConfigUtils::GetFont(), CSGConfigUtils::GetLabelPosReadView(), CException::GetMsg(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetReal(), CSGConfigUtils::GetSizeReadView(), CRegistryReadView::GetString(), CRegistryReadView::GetTopKeys(), CRegistryReadView::HasField(), ITERATE, kCommentConfigKey(), kCPParamsKey(), kCustomColorKey(), kDefFeatKey(), kFeatParamsKey(), LOG_POST, CFeatureParams::m_BarHeight, CClonePlacementParams::m_BarHeight, CFeatureParams::m_bgColor, CFeatureParams::m_BoxStyle, CCommentConfig::m_Centered, CFeatureParams::m_CgiMode, m_CgiMode, m_ClonePlacementSettings, CFeatureParams::m_ColorTheme, CClonePlacementParams::m_CombinedPlacementColor, m_CommentConfig, CClonePlacementParams::m_ConcordantColor, CFeatureParams::m_Connections, m_CurrColor, m_CurrDeco, m_CurrLabelPos, m_CurrSize, CFeatureParams::m_CustomColors, m_CustomFeatColors, CClonePlacementParams::m_DiscordantColor, CClonePlacementParams::m_FakeEndColor, m_FeatSettings, CFeatureParams::m_fgColor, CCommentConfig::m_Font, CFeatureParams::m_HeadHeight, CClonePlacementParams::m_HeadHeight, CFeatureParams::m_HeadStyle, CClonePlacementParams::m_HighlightColor, CCommentConfig::m_LabelColor, CFeatureParams::m_LabelColor, CClonePlacementParams::m_LabelColor, CFeatureParams::m_LabelFont, CClonePlacementParams::m_LabelFont, CFeatureParams::m_LabelPos, CClonePlacementParams::m_LabelPos, CCommentConfig::m_LineColor, CFeatureParams::m_LineStyle, CFeatureParams::m_LineWidth, CFeatureParams::m_NonConsensus, CFeatureParams::m_OverviewFactor, CClonePlacementParams::m_OverviewFactor, m_Registry, CFeatureParams::m_ShowAaRuler, CCommentConfig::m_ShowBoundary, CCommentConfig::m_ShowConnection, CFeatureParams::m_ShowNtRuler, CFeatureParams::m_ShowStrandIndicator, CFeatureParams::m_TailHeight, CFeatureParams::m_TailStyle, CClonePlacementParams::m_UnknownConcordancyColor, CRef< C, Locker >::Reset(), CCustomFeatureColor::SetColor(), and Warning().

Referenced by LoadSettings().

◆ x_LoadHistSettings()

void CSeqGraphicConfig::x_LoadHistSettings ( )
inlineprivate

◆ x_SaveFeatSettings()

void CSeqGraphicConfig::x_SaveFeatSettings ( )
private

Definition at line 638 of file seqgraphic_conf.cpp.

Referenced by SaveSettings().

◆ x_SaveHistSettings()

void CSeqGraphicConfig::x_SaveHistSettings ( )
inlineprivate

◆ x_VerifySettings()

void CSeqGraphicConfig::x_VerifySettings ( ) const
private

Member Data Documentation

◆ m_AdjustRuler

bool CSeqGraphicConfig::m_AdjustRuler
private

◆ m_AnnotDepth

EAnnotDepth CSeqGraphicConfig::m_AnnotDepth
private

Definition at line 361 of file seqgraphic_conf.hpp.

Referenced by GetAnnotDepth(), and SetAnnotDepth().

◆ m_AutoHideTrack

bool CSeqGraphicConfig::m_AutoHideTrack
private

Automatically hide tracks w/o data.

Definition at line 339 of file seqgraphic_conf.hpp.

Referenced by AutoHideTrack(), LoadSettings(), and SetAutoHideTrack().

◆ m_Background

CRgbaColor CSeqGraphicConfig::m_Background
private

Cached colors.

Definition at line 369 of file seqgraphic_conf.hpp.

Referenced by GetBkColor(), LoadSettings(), and SetBkColor().

◆ m_BackgroundLoading

bool CSeqGraphicConfig::m_BackgroundLoading
private

Definition at line 343 of file seqgraphic_conf.hpp.

Referenced by GetBackgroundLoading(), LoadSettings(), and SetBackgroundLoading().

◆ m_BarHeight

float CSeqGraphicConfig::m_BarHeight
private

Definition at line 355 of file seqgraphic_conf.hpp.

Referenced by GetBarHeight(), LoadSettings(), and SetBarHeight().

◆ m_BGComment

CRgbaColor CSeqGraphicConfig::m_BGComment
private

Definition at line 373 of file seqgraphic_conf.hpp.

Referenced by GetBGCommentColor(), LoadSettings(), and SetBGCommentColor().

◆ m_CategoryConfig

CRef<CCategoryConfig> CSeqGraphicConfig::m_CategoryConfig
private

Definition at line 394 of file seqgraphic_conf.hpp.

Referenced by GetCategoryConfig(), and InitCategoryConfig().

◆ m_CgiMode

bool CSeqGraphicConfig::m_CgiMode
private

not loaded from configure file

Definition at line 344 of file seqgraphic_conf.hpp.

Referenced by GetCgiMode(), SetCgiMode(), and x_LoadFeatSettings().

◆ m_ClonePlacementSettings

CRef<CClonePlacementParams> CSeqGraphicConfig::m_ClonePlacementSettings
private

cached clone placement settings.

Definition at line 388 of file seqgraphic_conf.hpp.

Referenced by GetClonePlacementParams(), and x_LoadFeatSettings().

◆ m_CmmtBottomMargin

float CSeqGraphicConfig::m_CmmtBottomMargin
private

◆ m_CmmtRepDist

int CSeqGraphicConfig::m_CmmtRepDist
private

Definition at line 349 of file seqgraphic_conf.hpp.

Referenced by GetCommentRepeatDist(), LoadSettings(), and SetCommentRepeatDist().

◆ m_CmmtTopMargin

float CSeqGraphicConfig::m_CmmtTopMargin
private

Definition at line 356 of file seqgraphic_conf.hpp.

Referenced by GetCommentTopMargin(), LoadSettings(), and SetCommentTopMargin().

◆ m_CommentConfig

CRef<CCommentConfig> CSeqGraphicConfig::m_CommentConfig
private

Definition at line 390 of file seqgraphic_conf.hpp.

Referenced by GetCommentConfig(), and x_LoadFeatSettings().

◆ m_CommentFont

CRef<CGlTextureFont> CSeqGraphicConfig::m_CommentFont
private

Definition at line 365 of file seqgraphic_conf.hpp.

Referenced by GetCommentFont(), LoadSettings(), and SetCommentFont().

◆ m_CurrColor

string CSeqGraphicConfig::m_CurrColor
private

◆ m_CurrDeco

string CSeqGraphicConfig::m_CurrDeco
private

decoration, mainly for features

Definition at line 325 of file seqgraphic_conf.hpp.

Referenced by GetDecorateStyle(), LoadSettings(), SaveSettings(), SetDecorateStyle(), and x_LoadFeatSettings().

◆ m_CurrGlobal

string CSeqGraphicConfig::m_CurrGlobal
private

global setting style

Definition at line 329 of file seqgraphic_conf.hpp.

Referenced by GetGlobalSettingStyle(), LoadSettings(), SaveSettings(), and SetGlobalSettingStyle().

◆ m_CurrLabelPos

string CSeqGraphicConfig::m_CurrLabelPos
private

label position style

Definition at line 328 of file seqgraphic_conf.hpp.

Referenced by GetLabelPos(), LoadSettings(), SaveSettings(), SetLabelPos(), and x_LoadFeatSettings().

◆ m_CurrLayout

string CSeqGraphicConfig::m_CurrLayout
private

layout style

Definition at line 327 of file seqgraphic_conf.hpp.

Referenced by GetLayout(), LoadSettings(), SaveSettings(), and SetLayout().

◆ m_CurrProfile

string CSeqGraphicConfig::m_CurrProfile
private

feature panel track profile

Definition at line 326 of file seqgraphic_conf.hpp.

Referenced by GetTrackProfile(), LoadSettings(), SaveSettings(), and SetTrackProfile().

◆ m_CurrSize

string CSeqGraphicConfig::m_CurrSize
private

◆ m_CurrTheme

string CSeqGraphicConfig::m_CurrTheme
private

current theme

Definition at line 322 of file seqgraphic_conf.hpp.

Referenced by GetCurrTheme(), LoadSettings(), SaveSettings(), and SetCurrTheme().

◆ m_CustomFeatColors

CRef<CCustomFeatureColor> CSeqGraphicConfig::m_CustomFeatColors
private

Definition at line 392 of file seqgraphic_conf.hpp.

Referenced by GetCustomFeatColors(), and x_LoadFeatSettings().

◆ m_Dirty

bool CSeqGraphicConfig::m_Dirty
mutableprivate

Definition at line 396 of file seqgraphic_conf.hpp.

Referenced by GetDirty(), SaveSettings(), and SetDirty().

◆ m_FeatSettings

TFeatParams CSeqGraphicConfig::m_FeatSettings
private

cached histogram rendering parameters.

Definition at line 383 of file seqgraphic_conf.hpp.

Referenced by GetFeatParams(), IgnoreFeatureStrand(), SetFeatSettings(), and x_LoadFeatSettings().

◆ m_FGComment

CRgbaColor CSeqGraphicConfig::m_FGComment
private

Definition at line 374 of file seqgraphic_conf.hpp.

Referenced by GetFGCommentColor(), LoadSettings(), and SetFGCommentColor().

◆ m_GridHorizontal

CRgbaColor CSeqGraphicConfig::m_GridHorizontal
private

◆ m_GridVertical

CRgbaColor CSeqGraphicConfig::m_GridVertical
private

Definition at line 380 of file seqgraphic_conf.hpp.

Referenced by GetVerticalGridColor(), LoadSettings(), and SetVerticalGridColor().

◆ m_HairLineOption

int CSeqGraphicConfig::m_HairLineOption
private

Cached sizes.

Definition at line 348 of file seqgraphic_conf.hpp.

Referenced by GetHairlineOption(), LoadSettings(), SaveSettings(), and SetHairlineOption().

◆ m_HistogramCutoff

int CSeqGraphicConfig::m_HistogramCutoff
private

Num of features.

Definition at line 351 of file seqgraphic_conf.hpp.

Referenced by GetHistogramCutoff(), LoadSettings(), and SetHistogramCutoff().

◆ m_HistParamsManager

CRef<CHistParamsManager> CSeqGraphicConfig::m_HistParamsManager
private

◆ m_IconSignSize

int CSeqGraphicConfig::m_IconSignSize
private

Definition at line 360 of file seqgraphic_conf.hpp.

Referenced by GetIconSignSize(), LoadSettings(), and SetIconSignSize().

◆ m_IconSize

int CSeqGraphicConfig::m_IconSize
private

Definition at line 359 of file seqgraphic_conf.hpp.

Referenced by GetIconSize(), LoadSettings(), and SetIconSize().

◆ m_LabelFont

CRef<CGlTextureFont> CSeqGraphicConfig::m_LabelFont
private

cached fonts.

Definition at line 364 of file seqgraphic_conf.hpp.

Referenced by GetLabelFont(), LoadSettings(), and SetLabelFont().

◆ m_LineWidth

float CSeqGraphicConfig::m_LineWidth
private

Definition at line 353 of file seqgraphic_conf.hpp.

Referenced by GetLineWidth(), LoadSettings(), and SetLineWidth().

◆ m_NonNCBITitleBackground

CRgbaColor CSeqGraphicConfig::m_NonNCBITitleBackground
private

◆ m_ObjSpace

int CSeqGraphicConfig::m_ObjSpace
private

Definition at line 358 of file seqgraphic_conf.hpp.

Referenced by GetObjectSpace(), LoadSettings(), and SetObjectSpace().

◆ m_OverviewCutoff

int CSeqGraphicConfig::m_OverviewCutoff
private

cut-off between overview and detail mode(base per pixel)

Definition at line 350 of file seqgraphic_conf.hpp.

Referenced by GetOverviewCutoff(), LoadSettings(), and SetOverviewCutoff().

◆ m_Registry

CRef<CGuiRegistry> CSeqGraphicConfig::m_Registry
private

◆ m_RepeatComment

bool CSeqGraphicConfig::m_RepeatComment
private

Definition at line 338 of file seqgraphic_conf.hpp.

Referenced by GetRepeatComment(), LoadSettings(), and SetRepeatComment().

◆ m_ReserveCmmtSpace

bool CSeqGraphicConfig::m_ReserveCmmtSpace
private

Definition at line 336 of file seqgraphic_conf.hpp.

Referenced by LoadSettings(), ReserveCmmtSpace(), and SetReserveCmmtSpace().

◆ m_Selection

CRgbaColor CSeqGraphicConfig::m_Selection
private

Definition at line 378 of file seqgraphic_conf.hpp.

Referenced by GetSelectionColor(), LoadSettings(), and SetSelectionColor().

◆ m_SelHairlineDown

CRgbaColor CSeqGraphicConfig::m_SelHairlineDown
private

◆ m_SelHairlineMany

CRgbaColor CSeqGraphicConfig::m_SelHairlineMany
private

◆ m_SelHairlineOne

CRgbaColor CSeqGraphicConfig::m_SelHairlineOne
private

◆ m_SelLabel

CRgbaColor CSeqGraphicConfig::m_SelLabel
private

Definition at line 377 of file seqgraphic_conf.hpp.

Referenced by GetSelLabelColor(), LoadSettings(), and SetSelLabelColor().

◆ m_ShowCmmtBg

bool CSeqGraphicConfig::m_ShowCmmtBg
private

Definition at line 337 of file seqgraphic_conf.hpp.

Referenced by GetShowCommentBg(), LoadSettings(), and SetShowCommentBg().

◆ m_ShowComments

bool CSeqGraphicConfig::m_ShowComments
private

Definition at line 333 of file seqgraphic_conf.hpp.

Referenced by GetShowComments(), LoadSettings(), and SetShowComments().

◆ m_ShowDownwardHairlines

bool CSeqGraphicConfig::m_ShowDownwardHairlines
private

◆ m_ShowHorzGrid

bool CSeqGraphicConfig::m_ShowHorzGrid
private

Definition at line 340 of file seqgraphic_conf.hpp.

Referenced by GetShowHorzGrid(), LoadSettings(), and SetShowHorzGrid().

◆ m_ShowMessage

bool CSeqGraphicConfig::m_ShowMessage
private

Definition at line 335 of file seqgraphic_conf.hpp.

Referenced by GetShowMessage(), LoadSettings(), and SetShowMessage().

◆ m_ShowSimpleComments

bool CSeqGraphicConfig::m_ShowSimpleComments
private

Definition at line 334 of file seqgraphic_conf.hpp.

Referenced by GetShowSimpleComments(), LoadSettings(), and SetShowSimpleComments().

◆ m_ShowTrackMinusPlusSign

bool CSeqGraphicConfig::m_ShowTrackMinusPlusSign
private

◆ m_ShowVertGrid

bool CSeqGraphicConfig::m_ShowVertGrid
private

Definition at line 341 of file seqgraphic_conf.hpp.

Referenced by GetShowVertGrid(), LoadSettings(), and SetShowVertGrid().

◆ m_TitleBackground

CRgbaColor CSeqGraphicConfig::m_TitleBackground
private

Definition at line 375 of file seqgraphic_conf.hpp.

Referenced by GetTitleBackground(), LoadSettings(), and SetTitleBackground().

◆ m_TitleFont

CRef<CGlTextureFont> CSeqGraphicConfig::m_TitleFont
private

Definition at line 366 of file seqgraphic_conf.hpp.

Referenced by GetTitleFont(), LoadSettings(), and SetTitleFont().

◆ m_ZoomFactor

float CSeqGraphicConfig::m_ZoomFactor
private

Per pexel of a mouse movement.

Definition at line 354 of file seqgraphic_conf.hpp.

Referenced by GetZoomFactor(), LoadSettings(), and SetZoomFactor().


The documentation for this class was generated from the following files:
Modified on Fri May 24 14:57:04 2024 by modify_doxy.py rev. 669887