Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___RESTRICTION_SITES_GLYPH__HPP 2 #define GUI_WIDGETS_SEQ_GRAPHIC___RESTRICTION_SITES_GLYPH__HPP 63 voidSetSiteWidth(
intw);
64 voidSetSiteHeight(
inth);
67 constobjects::CSeq_feat& GetFeature(
void)
const;
69 boolHasVisibleRsite()
const;
72 virtual void x_Draw()
const;
class CRgbaColor provides a simple abstraction for managing colors.
A glyph representing a list of restriction sites stored in one seq-feat.
CConstRef< objects::CSeq_feat > m_Feature
void SetSiteHeight(int h)
void SetSiteColor(const CRgbaColor &color)
const objects::CSeq_feat & GetFeature(void) const
void SetSiteWidth(int w)
CRsitesGlyph inline implementations.
class CSeqGlyph defines an interface that wraps a rectilinear abstract object.
virtual void x_Draw() const =0
The default renderer for this layout object.
virtual bool NeedTooltip(const TModelPoint &, ITooltipFormatter &, string &) const
Check if need to show tooltip.
virtual TSeqRange GetRange(void) const
get the total range of this object.
virtual void GetHTMLActiveAreas(TAreaVector *) const
Get html active areas.
virtual void x_UpdateBoundingBox()=0
Update the bounding box assuming children's sizes are fixed if any.
vector< CHTMLActiveArea > TAreaVector
string GetLabel(const CSeq_id &id)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4