44 ITERATE (list<string>, it, lines) {
52 size_t rowHeight,
size_t indentStep) :
53 m_DC(dc), m_StartX(x), m_StartY(y),
54 m_RowHeight(static_cast<
int>(rowHeight)), m_IndentStep(static_cast<
int>(indentStep)),
55 m_x(x), m_Row(0), m_CurrentStyle(0), m_CurrentLineLength(0),
56 m_NB(
false), m_NBRect(x, y, 0, static_cast<
int>(rowHeight))
93 font.SetNativeFontInfo(
m_SaveFont.GetNativeFontInfoDesc());
CBaseTextOStream(wxDC &dc, int x, int y, size_t rowHeight, size_t indentStep)
const CTextStyle * m_CurrentStyle
void x_UpdateNBRect(wxSize size)
virtual void SetStyle(const CTextStyle *style)
void x_UpdatePos(int chars, int width)
virtual void SetDefaultStyle()
void WriteMultiLineText(const string &text)
virtual void x_OnNBStart()
wxColor GetTextForeground() const
wxColor GetTextBackground() const
bool IsTextItalic() const
int GetBackgroundMode() const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)
Split a string using specified delimiters.
@ fSplit_Tokenize
All delimiters are merged and trimmed, to get non-empty tokens only.
unsigned int
A callback function used to compare two keys in a database.
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
static const BitmapCharRec *const chars[]