1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___CDS_GLYPH__HPP
2 #define GUI_WIDGETS_SEQ_GRAPHIC___CDS_GLYPH__HPP
50 CCdsGlyph(
const objects::CMappedFeat& feat,
const objects::CSeq_loc& loc);
56 virtual void x_Draw()
const;
60 void x_DrawProtSeqWithMapping(
TModelUnit trans_y,
62 void x_DrawProjectedProtSeq(
TModelUnit trans_y,
65 void x_PutCodon(
const string& codon_str,
TSeqPos pos,
68 bool x_WillFit()
const;
CRgbaColor m_SeqProtMismatch
mismatched sequence color.
bool m_Dirty
dirty flag indicating any setting changed
CGlTextureFont m_ProdFont
CRgbaColor m_LabelProtProd
protein product label color.
CRgbaColor m_SeqProtTrans
translated sequence color.
CRgbaColor m_fgProtProd
protein product frorground color.
CRgbaColor m_SeqProt
sequence color.
CRgbaColor m_bgProtProd
protein product background color.
CGlTextureFont m_TransFont
CRef< CCdsConfig > m_CdsConfig
void SetCdsConfig(CCdsConfig *config)
CCdsGlyph inline methods.
CCdsGlyph(const objects::CMappedFeat &feat, const objects::CSeq_loc &loc)
CCdsGlyph(const objects::CMappedFeat &feat)
virtual void x_Draw() const
The default renderer for this layout object.
virtual void x_UpdateBoundingBox()
Update the bounding box assuming children's sizes are fixed if any.
class CRgbaColor provides a simple abstraction for managing colors.
static void DLIST_NAME() append(DLIST_LIST_TYPE *list, DLIST_TYPE *item)
unsigned int TSeqPos
Type for sequence locations and lengths.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT