Go to the SVN repository for this file.
41 size_trowHeight,
size_tindentStep) :
43m_SizeCache(cache), m_Size(0, 0), m_LineWidth(0),
44m_LineHeight(m_RowHeight), m_LineCount(0), m_CachedStyle()
74 intlength =
static_cast<int>(
text.length());
77 if(!
size.IsFullySpecified()) {
83wxCoord w =
size.GetWidth(), h =
size.GetHeight();
100 x_UpdatePos(
static_cast<int>(steps),
static_cast<int>(w));
const CTextStyle * m_CurrentStyle
virtual void SetStyle(const CTextStyle *style)
void x_UpdatePos(int chars, int width)
void Put(const string &text, const CTextStyle *style, wxSize size)
wxSize Get(const string &text, const CTextStyle *style) const
CCalcSizeCache & m_SizeCache
virtual void SetDefaultStyle()
virtual void SetStyle(const CTextStyle *style)
virtual void Indent(size_t steps)
virtual CStyledTextOStream & operator<<(const string &text_in)
CCalcSizeOStream(wxDC &dc, CCalcSizeCache &cache, size_t rowHeight, size_t indentStep)
size_t GetLineCount() const
const CTextStyle * m_CachedStyle
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
wxString ToWxString(const string &s)
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