: m_SourceName(source_name)
49, m_LegendColor(legend_color)
50, m_TextColor(text_color)
92p_areas->push_back(area);
@ fNoTooltip
do not request and show tooltip
@ fNoPin
tooltip is not pinnable
@ fNoSelection
the object can't be selected
string m_Color
optional area color (used for legen items)
string m_ID
area identifier
int m_Flags
area flags, will need to replace m_Type
CConstRef< CSeqGraphicConfig > m_gConfig
virtual void GetHTMLActiveAreas(TAreaVector *p_ares) const
Get html active areas.
CLegendItemGlyph(const string &source_name, const string &label, const string &id, const CRgbaColor &legend_color, const CRgbaColor &text_color)
virtual bool OnLeftDblClick(const TModelPoint &)
virtual bool OnContextMenu(wxContextMenuEvent &)
virtual void x_Draw() const
The default renderer for this layout object.
void TextOut(const CGlTextureFont *font, const char *text, TModelUnit x, TModelUnit y, bool center, bool adjust_flip=true) const
TSeqPos GetVisSeqTo() const
void DrawQuad(const TModelRect &rc, bool border=false) const
TModelUnit ScreenToSeq(const TModelUnit &size) const
convert from screen pixels to sequence positions
TSeqPos GetVisSeqFrom() const
class CRgbaColor provides a simple abstraction for managing colors.
CRenderingContext * m_Context
the rendering context
virtual TModelUnit GetRight() const
virtual TModelUnit GetTop() const
virtual TModelUnit GetHeight() const
void x_Local2World(TModelPoint &p) const
Transform the coordiantes from local coord. to world coord.
virtual TModelUnit GetLeft() const
vector< CHTMLActiveArea > TAreaVector
virtual TModelUnit GetBottom() const
CRef< CGlTextureFont > GetLabelFont() const
virtual void LH_OnItemDblClick(const string &source_name)=0
notifies the host about changes of the track.
virtual void LH_OnItemRightClick(const string &source_name)=0
notifies the host about changes of the track.
IRender & GetGl()
convenience function for getting current render manager
virtual void ColorC(const CRgbaColor &c)=0
Set current color (glColor{3,4}{f,d}{v,})
string ToString(bool printAlpha=true, bool uchars=true) const
Return a string representation of the current color.
CRef< C > Ref(C *object)
Helper functions to get CRef<> and CConstRef<> objects.
TThisType & Set(position_type from, position_type to)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char label[]
static const int kLegendBarWidth
static const int kLegendLabelGap
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