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/seqgraphic__conf_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/seq_graphic/seqgraphic_conf.hpp Source File

1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___SEQGRAPHIC_CONF__HPP 2 #define GUI_WIDGETS_SEQ_GRAPHIC___SEQGRAPHIC_CONF__HPP 53  static string

tmsContext;

54  if

(tmsContext.empty()) {

56

tmsContext = reg.

GetString

(

"TMS"

,

"TMS_CONTEXT"

,

"GBench_3-0"

);

84  const string

& theme =

""

,

const string

&

color

=

""

,

85  const string

&

size

=

""

,

const string

& deco =

""

,

86  const string

& profile =

""

,

const string

& layout =

""

,

87  const string

&

label

=

""

);

93  void

SaveSettings(

bool

clear_themes =

false

);

95  static const string

& ThemeKey();

96  static const string

& DefTheme();

98  const string

& GetCurrTheme()

const

;

99  void

SetCurrTheme(

const string

& theme);

101  const string

& GetColorTheme()

const

;

102  void

SetColorTheme(

const string

& theme);

104  const string

& GetSizeLevel()

const

;

105  void

SetSizeLevel(

const string

&

size

);

107  const string

& GetDecorateStyle()

const

;

108  void

SetDecorateStyle(

const string

& style);

110  const string

& GetTrackProfile()

const

;

111  void

SetTrackProfile(

const string

& profile);

113  const string

& GetLayout()

const

;

114  void

SetLayout(

const string

& layout);

116  const string

& GetLabelPos()

const

;

117  void

SetLabelPos(

const string

& label_pos);

119  const string

& GetGlobalSettingStyle()

const

;

120  void

SetGlobalSettingStyle(

const string

& style);

122  bool

IsAjdustRulerToSelection()

const

;

123  void

SetAjdustRulerToSelection(

bool

flag);

125  bool

GetShowComments()

const

;

126  void

SetShowComments(

bool

flag);

128  bool

GetShowSimpleComments()

const

;

129  void

SetShowSimpleComments(

bool

flag);

131  bool

GetShowMessage()

const

;

132  void

SetShowMessage(

bool

flag);

134  bool

ReserveCmmtSpace()

const

;

135  void

SetReserveCmmtSpace(

bool

flag);

137  bool

GetShowCommentBg()

const

;

138  void

SetShowCommentBg(

bool

flag);

140  bool

GetRepeatComment()

const

;

141  void

SetRepeatComment(

bool

flag);

143  bool

AutoHideTrack()

const

;

144  void

SetAutoHideTrack(

bool

flag);

146  bool

GetShowHorzGrid()

const

;

147  void

SetShowHorzGrid(

bool

flag);

149  bool

GetShowVertGrid()

const

;

150  void

SetShowVertGrid(

bool

flag);

152  bool

GetShowTrackMinusPlusSign()

const

;

153  void

SetShowTrackMinusPlusSign(

bool

flag);

155  bool

GetBackgroundLoading()

const

;

156  void

SetBackgroundLoading(

bool

flag);

158  bool

GetCgiMode()

const

;

159  void

SetCgiMode(

bool

flag);

161  bool

GetShowDownwardHairlines()

const

;

162  void

SetShowDownwardHairlines(

bool

flag);

176  const CRgbaColor

& GetSelHairlineOneColor()

const

;

179  const CRgbaColor

& GetSelHairlineManyColor()

const

;

182  const CRgbaColor

& GetSelHairlineDownColor()

const

;

185  const CRgbaColor

& GetBGCommentColor()

const

;

188  const CRgbaColor

& GetFGCommentColor()

const

;

191  const CRgbaColor

& GetTitleBackground()

const

;

194  const CRgbaColor

& GetNonNCBITitleBackground()

const

;

200  const CRgbaColor

& GetSelectionColor()

const

;

203  const CRgbaColor

& GetHorizontalGridColor()

const

;

206  const CRgbaColor

& GetVerticalGridColor()

const

;

209  int

GetHairlineOption()

const

;

210  void

SetHairlineOption(

int option

);

212  int

GetCommentRepeatDist()

const

;

213  void

SetCommentRepeatDist(

int

d);

215  int

GetOverviewCutoff()

const

;

216  void

SetOverviewCutoff(

int

cutoff);

218  int

GetHistogramCutoff()

const

;

219  void

SetHistogramCutoff(

int

cutoff);

221  float

GetLineWidth()

const

;

222  void

SetLineWidth(

float

w);

224  float

GetZoomFactor()

const

;

225  void

SetZoomFactor(

float

);

227  float

GetBarHeight()

const

;

228  void

SetBarHeight(

float

h);

230  float

GetCommentTopMargin()

const

;

231  void

SetCommentTopMargin(

float

s);

233  float

GetCommentBottomMargin()

const

;

234  void

SetCommentBottomMargin(

float

s);

236  int

GetObjectSpace()

const

;

237  void

SetObjectSpace(

int

s);

239  int

GetIconSize()

const

;

240  void

SetIconSize(

int

s);

242  int

GetIconSignSize()

const

;

243  void

SetIconSignSize(

int

s);

246  void

SetAnnotDepth(

int depth

);

266  void

IgnoreFeatureStrand();

285  void

SetDirty(

bool f

);

286  bool

GetDirty()

const

;

298  static void

LoadSettingStyles(

const CGuiRegistry

& reg,

string

& theme,

299  string

&

color

,

string

&

size

,

string

& deco,

300  string

& profile,

string

&

label

);

303  void

x_VerifySettings()

const

;

305  void

x_LoadFeatSettings();

306  void

x_SaveFeatSettings();

308  void

x_LoadHistSettings();

309  void

x_SaveHistSettings();

405  static string key

=

"Theme"

;

412  static string key

=

"Default"

;

688  unsigned int

font_size)

702  unsigned int

font_size)

716  unsigned int

font_size)

1053

iter->second->m_ShowStrandIndicator =

false

;

void LoadSettings(const string &curr_color, const string &curr_size)

CHistParamsManager implementation.

void SaveSettings(const string &curr_color, const string &curr_size) const

CRef< CHistParams > GetHistParams(TFeatSubtype subtype) const

Get histogram settings using feature subtype.

class CRgbaColor provides a simple abstraction for managing colors.

void SetCommentRepeatDist(int d)

void SetGlobalSettingStyle(const string &style)

float GetLineWidth() const

CRef< CGlTextureFont > m_TitleFont

void SetIconSignSize(int s)

bool GetShowVertGrid() const

void SetLayout(const string &layout)

const CRgbaColor & GetBkColor() const

bool GetBackgroundLoading() const

void SetAnnotDepth(int depth)

void SetHorizontalGridColor(const CRgbaColor &color)

string m_CurrLayout

layout style

void SetSelLabelColor(const CRgbaColor &color)

bool GetShowSimpleComments() const

static const string & ThemeKey()

CSeqGraphicConfig inline methods.

const CRgbaColor & GetSelectionColor() const

static const string & DefTheme()

void SetObjectSpace(int s)

void SetNonNCBITitleBackground(const CRgbaColor &color)

bool m_ShowSimpleComments

CRef< CHistParamsManager > GetHistParamsManager() const

Get histogram config manager.

const string & GetCurrTheme() const

const string & GetLayout() const

const string & GetLabelPos() const

CRgbaColor m_NonNCBITitleBackground

CRef< CGlTextureFont > GetCommentFont() const

CRef< CClonePlacementParams > m_ClonePlacementSettings

cached clone placement settings.

bool IsAjdustRulerToSelection() const

CRgbaColor m_GridVertical

bool GetRepeatComment() const

const string & GetSizeLevel() const

CRgbaColor m_SelHairlineOne

void SetShowMessage(bool flag)

CSeqGraphicConfig(const CSeqGraphicConfig &)

CConstRef< CCustomFeatureColor > GetCustomFeatColors() const

CRef< CGlTextureFont > GetLabelFont() const

CSeqGraphicConfig & operator=(const CSeqGraphicConfig &)

void x_LoadHistSettings()

void SetLabelPos(const string &label_pos)

bool GetShowCommentBg() const

int GetHistogramCutoff() const

bool AutoHideTrack() const

void SetSelHairlineOneColor(const CRgbaColor &color)

void SetCgiMode(bool flag)

bool m_ShowTrackMinusPlusSign

void SetSelHairlineManyColor(const CRgbaColor &color)

CRgbaColor m_SelHairlineMany

CRgbaColor m_SelHairlineDown

bool GetShowHorzGrid() const

float GetZoomFactor() const

CRef< CGuiRegistry > m_Registry

bool m_ShowDownwardHairlines

void SetHistogramCutoff(int cutoff)

CRef< CCategoryConfig > m_CategoryConfig

void SetDecorateStyle(const string &style)

string m_CurrSize

size level

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

void SetShowHorzGrid(bool flag)

void x_SaveHistSettings()

void SetShowTrackMinusPlusSign(bool flag)

CRgbaColor m_GridHorizontal

void SetLineWidth(float w)

CRef< CGlTextureFont > m_CommentFont

string m_CurrGlobal

global setting style

void SetAjdustRulerToSelection(bool flag)

void SetBackgroundLoading(bool flag)

const CRgbaColor & GetVerticalGridColor() const

const CRgbaColor & GetSelHairlineDownColor() const

void SetCommentBottomMargin(float s)

void SetTrackProfile(const string &profile)

void SetTitleBackground(const CRgbaColor &color)

void SetZoomFactor(float)

string m_CurrLabelPos

label position style

float m_ZoomFactor

Per pexel of a mouse movement.

string m_CurrTheme

current theme

const string & GetGlobalSettingStyle() const

CRef< CGlTextureFont > GetTitleFont() const

bool ReserveCmmtSpace() const

bool GetShowTrackMinusPlusSign() const

const CRgbaColor & GetSelHairlineManyColor() const

float GetCommentBottomMargin() const

int m_OverviewCutoff

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

void SetHairlineOption(int option)

CRgbaColor m_TitleBackground

const string & GetTrackProfile() const

int GetObjectSpace() const

void SetBarHeight(float h)

void SetOverviewCutoff(int cutoff)

CRgbaColor m_Background

Cached colors.

const CRgbaColor & GetFGCommentColor() const

const CRgbaColor & GetTitleBackground() const

void SetShowDownwardHairlines(bool flag)

bool GetShowMessage() const

void SetSelHairlineDownColor(const CRgbaColor &color)

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

void IgnoreFeatureStrand()

Set show feature strand indicator to false for all features.

map< string, CRef< CFeatureParams > > TFeatParams

void SetReserveCmmtSpace(bool flag)

void SetColorTheme(const string &theme)

void SetFGCommentColor(const CRgbaColor &color)

bool m_AutoHideTrack

Automatically hide tracks w/o data.

CRef< CHistParamsManager > m_HistParamsManager

void SetSelectionColor(const CRgbaColor &color)

EAnnotDepth GetAnnotDepth() const

float GetBarHeight() const

void SetCommentTopMargin(float s)

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

const CRgbaColor & GetBGCommentColor() const

CConstRef< CClonePlacementParams > GetClonePlacementParams() const

string m_CurrProfile

feature panel track profile

bool GetShowComments() const

string m_CurrDeco

decoration, mainly for features

void SetShowCommentBg(bool flag)

CRef< CCommentConfig > m_CommentConfig

float GetCommentTopMargin() const

bool GetShowDownwardHairlines() const

void SetVerticalGridColor(const CRgbaColor &color)

void SetRepeatComment(bool flag)

const string & GetDecorateStyle() const

const CRgbaColor & GetNonNCBITitleBackground() const

string m_CurrColor

color theme

int m_HistogramCutoff

Num of features.

CRef< CHistParams > GetHistParams(TFeatSubtype subtype) const

TFeatParams m_FeatSettings

cached histogram rendering parameters.

CRef< CGlTextureFont > m_LabelFont

cached fonts.

void SetCurrTheme(const string &theme)

const string & GetColorTheme() const

void SetBGCommentColor(const CRgbaColor &color)

TFeatParams & SetFeatSettings()

int m_HairLineOption

Cached sizes.

const CRgbaColor & GetSelHairlineOneColor() const

CRef< CCustomFeatureColor > m_CustomFeatColors

void SetBkColor(const CRgbaColor &color)

int GetOverviewCutoff() const

int GetHairlineOption() const

int GetIconSignSize() const

int TFeatSubtype

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

void SetAutoHideTrack(bool flag)

int GetCommentRepeatDist() const

bool m_CgiMode

not loaded from configure file

const CRgbaColor & GetSelLabelColor() const

void SetShowSimpleComments(bool flag)

void SetShowVertGrid(bool flag)

const CRgbaColor & GetHorizontalGridColor() const

void SetShowComments(bool flag)

void SetSizeLevel(const string &size)

static unsigned char depth[2 *(256+1+29)+1]

const CNcbiRegistry & GetConfig(void) const

Get the application's cached configuration parameters (read-only).

static CNcbiApplicationAPI * Instance(void)

Singleton method.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

void SetFontFace(EFontFace face, bool use_bitmap_overrides=true)

EFontFace

Set of pre-defined fonts for which we know we have valid font files.

void SetFontSize(unsigned int size)

Set/get font size in points.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

virtual string GetString(const string &section, const string &name, const string &default_value, TFlags flags=0) const

Get the parameter string value.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT

static const char label[]

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

const struct ncbi::grid::netcache::search::fields::KEY key

Process information in the NCBI Registry, including working with configuration files.

string GetDefaultTmsContext()


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