& curr_key,
const string& def_key1 =
"",
71 const string& def_key2 =
"",
const string& def_key3 =
"");
75 const string& curr_key,
const string& def_key1 =
"",
76 const string& def_key2 =
"",
const string& def_key3 =
"");
91 const string& sect,
const string&
key,
92 const string& def_sect =
"");
96 const string& sect,
const string&
key,
97 const string& def_sect =
"");
101 const string& sect,
const string&
key,
102 const string& def_sect =
"");
106 const string& sect,
const string&
key,
107 const string& def_sect =
"");
111 const string&
key);
115 const string&
key);
119 const string& sect,
const string&
key,
120 const string& def_sect =
"");
124 const string& sect,
const string&
key,
125 const string& def_sect =
"");
128 static stringComposeColorKey(
const string& base,
const string&
key);
129 static stringComposeSizeKey(
const string& base,
const string&
key);
130 static stringComposeDecoKey(
const string& base,
const string&
key);
135 static voidParseProfileString(
const string& profile_str,
138 static stringComposeProfileString(
const TKeyValuePairs& settings);
152 const string& face_key,
const string& size_key,
CGlTextureFont&
f);
154 const string& face_key,
const string& size_key,
158 const string& face_key,
const string& size_key,
CGlTextureFont&
f);
160 const string& face_key,
const string& size_key,
166 static const string& ColorKey();
167 static const string& SizeKey();
168 static const string& DecoKey();
169 static const string& TrackProfileKey();
170 static const string& LayoutKey();
171 static const string& LabelPositionKey();
172 static const string& GlobalSettingStyleKey();
173 static const string& UserSettingPrefix();
175 static const string& DefColorTheme();
176 static const string& DefSizeLevel();
177 static const string& DefDecoStyle();
178 static const string& DefTrackProfile();
179 static const string& DefLayout();
180 static const string& DefLabelPosition();
181 static const string& DefGlobalSettingStyle();
185 static boolx_UserFieldToColor(
constobjects::CUser_field&
f,
CRgbaColor& c);
186 static voidx_ColorToUserField(
const CRgbaColor& c, objects::CUser_field&
f);
194 const string& sect,
const string&
key,
195 const string& def_sect)
198(sect.empty() ?
"": sect +
".") +
ColorKey() +
"."+
key,
200def_sect.empty() ?
"": def_sect +
"."+
ColorKey() +
"."+
key,
207 const string& sect,
const string&
key,
208 const string& def_sect)
211(sect.empty() ?
"": sect +
".") +
ColorKey() +
"."+
key,
213def_sect.empty() ?
"": def_sect +
"."+
ColorKey() +
"."+
key,
220 const string& sect,
const string&
key,
221 const string& def_sect)
224(sect.empty() ?
"": sect +
".") +
SizeKey() +
"."+
key,
226def_sect.empty() ?
"": def_sect +
"."+
SizeKey() +
"."+
key,
233 const string& sect,
const string&
key,
234 const string& def_sect)
237(sect.empty() ?
"": sect +
".") +
SizeKey() +
"."+
key,
239def_sect.empty() ?
"": def_sect +
"."+
SizeKey() +
"."+
key,
245 const CGuiRegistry& reg,
const string& base_key,
const string&
key)
262 const string& sect,
const string&
key,
263 const string& def_sect)
275 const string& sect,
const string&
key,
276 const string& def_sect)
327 static string key=
"Color";
334 static string key=
"Size";
341 static string key=
"Decorate";
348 static string key=
"TrackProfile";
355 static string key=
"Layout";
362 static string key=
"LabelPosition";
369 static string key=
"GlobalSettings";
376 static string key=
"USER###";
383 static string key=
"Color";
390 static string key=
"Normal";
class CRegistryReadView provides a nested hierarchical view at a particular key.
CConstRef< objects::CUser_field > GetField(const string &key) const
provide raw field access
CRef< objects::CUser_field > SetField(const string &key)
provide raw field access
class CRgbaColor provides a simple abstraction for managing colors.
static string ComposeDecoKey(const string &base, const string &key)
static CRegistryReadView GetSizeReadView(const CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
static const string & DefTrackProfile()
static string ComposeSizeKey(const string &base, const string &key)
static bool x_UserFieldToColor(const objects::CUser_field &f, CRgbaColor &c)
static CRegistryReadView GetColorReadView(const CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
Create a read view specifically for 'Color' section.
static CRegistryReadView GetReadView(const CGuiRegistry ®, const string &base_key, const string &curr_key, const string &def_key1="", const string &def_key2="", const string &def_key3="")
read/readwrite view creation helper methods.
static CRegistryReadView GetTrackProfileReadView(const CGuiRegistry ®, const string &base_key, const string &key)
static const string & LabelPositionKey()
static CRegistryReadView GetLabelPosReadView(const CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
static CRegistryWriteView GetWriteView(CGuiRegistry ®, const string &base_key, const string &curr_key, const string &def_key1="", const string &def_key2="", const string &def_key3="")
static void x_ColorToUserField(const CRgbaColor &c, objects::CUser_field &f)
pair< string, string > TKeyValuePair
static CRegistryWriteView GetLabelPosRWView(CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
static const string & ColorKey()
static CRegistryWriteView GetColorRWView(CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
static const string & DefGlobalSettingStyle()
static const string & SizeKey()
static const string & DecoKey()
map< string, string > TKeyValuePairs
static const string & DefColorTheme()
static const string & LayoutKey()
static string m_CommonDefaultStyleName
static CRegistryWriteView GetTrackProfileRWView(CGuiRegistry ®, const string &base_key, const string &key)
static const string & DefSizeLevel()
static string ComposeColorKey(const string &base, const string &key)
static const string & TrackProfileKey()
static const string & UserSettingPrefix()
static const string & DefLayout()
static CRegistryWriteView GetSizeRWView(CGuiRegistry ®, const string &base_key, const string §, const string &key, const string &def_sect="")
static const string & GlobalSettingStyleKey()
static void SetColor(CRegistryWriteView &view, const string &key, const CRgbaColor &color)
static void GetColor(const CRegistryReadView &view, const string &key, CRgbaColor &color)
static const string & DefDecoStyle()
static const string & DefLabelPosition()
CRgbaColor & GetColor(CSeqFeatData::ESubtype subtype)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
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