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

NCBI C++ ToolKit: src/gui/widgets/text_widget/calc_textpos_stream.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

40  size_t

rowHeight,

size_t

indentStep,

41  int

mouseX,

int

mouseY) :

43

m_MouseX(mouseX), m_MouseY(mouseY), m_TextPosX(0),

44

m_NBStartChar(0), m_NBRow(0)

61  int

length =

static_cast<int>

(

text

.length());

66  m_DC

.GetPartialTextExtents(

text

, widths);

76

wxArrayInt::iterator it;

78  for

(it = widths.begin();

82

it = lower_bound(widths.begin(), widths.end(),

m_MouseX

-

m_x

);

84  if

(it != widths.end()) {

86  if

(it != widths.begin())

92  if

(it != widths.begin())

123  x_UpdatePos

(

static_cast<int>

(steps),

static_cast<int>

(w));

142  if

((

m_MouseX

- rect.GetLeft())*2 < rect.width)

void x_UpdateNBRect(wxSize size)

void x_UpdatePos(int chars, int width)

virtual bool x_InNB() const

virtual void Indent(size_t steps)

virtual void x_OnNBStart()

CCalcTextPosOStream(wxDC &dc, int x, int y, size_t rowHeight, size_t indentStep, int mouseX, int mouseY)

virtual CStyledTextOStream & operator<<(const string &text_in)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static void text(MDB_val *v)

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