A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ruler__panel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/seq_graphic/ruler_panel.cpp Source File

53

, m_BG(1.0f, 1.0f, 1.0f)

54

, m_GridColor(0.0f, 0.0f, 0.0f)

55

, m_LabelColor(0.0f, 0.0f, 1.0f)

61

, m_OppMajorTickSize(3)

62

, m_OppMinorTickSize(2)

63

, m_OppLabelTickSize(6)

64

, m_LabelAln(

CRuler

::eAln_Center)

102

pt.

m_X

=

max

(pt.

X

(), pt2.

X

());

103

pt.

m_Y

+= pt2.

Y

();

105

pt.

m_X

+= pt2.

X

();

106

pt.

m_Y

=

max

(pt.

Y

(), pt2.

Y

());

174

rc.

Offset

(-offset_x, -offset_y);

193  else

gl.

Translatef

(main_w + extra_w, 0.0f, 0.0f);

202

gl.

BlendFunc

(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

203

gl.

Color4f

(0.5f, 0.1f, 0.1f, 0.4f);

208

rect.

Offset

(-offset_x, -offset_y);

242

p_areas->push_back(area);

251  string

label_aln = view.

GetString

(

"LabelAlign"

,

""

);

CGlState Class to encapsulate Rendering state so that a set of user-selected GL state options can be ...

static CGuiRegistry & GetInstance()

access the application-wide singleton

@ fNoTooltip

do not request and show tooltip

@ fNoPin

tooltip is not pinnable

@ fNoHighlight

no highlighting on mouse over

@ fNoSelection

the object can't be selected

int m_Flags

area flags, will need to replace m_Type

class CRegistryReadView provides a nested hierarchical view at a particular key.

int GetInt(const string &key, int default_val=0) const

access a named key at this level, with no recursion

string GetString(const string &key, const string &default_val=kEmptyStr) const

class CRgbaColor provides a simple abstraction for managing colors.

void Render(CGlPane &pane)

void GetHTMLActiveAreas(CSeqGlyph::TAreaVector *p_areas) const

void LoadSettings(const CSeqGraphicConfig &g_config)

void SetRulerSeqStart(TSeqPos pos)

TVPPoint GetSize(int max_num=0) const

void SaveSettings() const

TSignedSeqPos m_RulerStart

void x_UpdateMappingRanges()

unique_ptr< CRuler > m_ExtraRuler

extra ruler.

TSeqPos m_SeqLength

the total sequence length in bases.

void SetOrientation(bool horz, bool flip)

CRuler::ELabelAlign m_LabelAln

CGlTextureFont m_LabelFont

void x_ReversePane(CGlPane &pane) const

CGlTextureFont m_SmallLabelFont

unique_ptr< CRuler > m_ExtraNegRuler

CRuler is a renderable object drawing a scale with position labels.

void SetColor(EColorType type, const CRgbaColor &color)

void SetRange(int start, int end, int seq_start, bool reverse)

SetRange() activates "manual" mode; in this mode ruler's range in model space is explicitly limited t...

void SetFont(CGlTextureFont::EFontFace font_type, unsigned int font_size=12)

TVPPoint GetPreferredSize(int max_num=0) const

@ eOppLabelTickHeight

tick size at label position (opposite)

@ eOppMajorTickHeight

major tick on the opposite side

@ eOppMinorTickHeight

minor tick on the opposite side

@ eLabelTickHeight

tick size at label position

void SetHorizontal(bool b_horz, ELabelPlacement place=eDefault, ELabelAlign aln=eAln_Center)

void SetDisplayOptions(int options)

@ eAln_Right

valid for horizontal mode only (mapped to eAln_Top for vertical mode)

@ eAln_Left

valid for horizontal mode only (mapped to eAln_Bottom for vertical mode)

virtual void Render(CGlPane &pane)

void Update(CGlPane &pane)

void SetGeometryParam(EGeometryParam geom, int value)

static CRegistryReadView GetSizeReadView(const CGuiRegistry &reg, const string &base_key, const string &sect, const string &key, const string &def_sect="")

static void GetTexFont(const CRegistryReadView &view, const string &face_key, const string &size_key, CGlTextureFont &f)

static CRegistryReadView GetColorReadView(const CGuiRegistry &reg, const string &base_key, const string &sect, const string &key, const string &def_sect="")

Create a read view specifically for 'Color' section.

static void GetColor(const CRegistryReadView &view, const string &key, CRgbaColor &color)

vector< CHTMLActiveArea > TAreaVector

const string & GetSizeLevel() const

const string & GetColorTheme() const

unsigned int TSeqPos

Type for sequence locations and lengths.

int TSignedSeqPos

Type for signed sequence position.

static CGlResMgr & Instance()

virtual void Translatef(GLfloat x, GLfloat y, GLfloat z)=0

virtual void Enable(GLenum glstate)=0

CGlPoint< TVPUnit > TVPPoint

virtual void BlendFunc(GLenum sfactor, GLenum dfactor)=0

Options to be used when GL_BLEND is enabled.

void Offset(T d_x, T d_y)

CIRef< IRender > GetCurrentRenderer()

Returns current renderer, or NULL.

void RectC(const TVPRect &rc)

TVPRect & GetViewport(void)

TModelUnit GetOffsetY() const

virtual void LoadIdentity()=0

EFontFace GetFontFace() const

void Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a)

void SetVisibleRect(const TModelRect &R)

TModelRect & GetVisibleRect(void)

CGlRect< TModelUnit > TModelRect

virtual void Disable(GLenum glstate)=0

glDisable()

TModelUnit GetOffsetX() const

unsigned int GetFontSize() const

virtual void ColorC(const CRgbaColor &c)=0

Set current color (glColor{3,4}{f,d}{v,})

TObjectType & GetObject(void)

Get object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

const struct ncbi::grid::netcache::search::fields::SIZE size

static const string kRulerPanelKey


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