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

NCBI C++ ToolKit: src/gui/widgets/edit/altitude_panel.cpp Source File

41 #include <wx/stattext.h> 94 

CSrcModEditPanel::Create( parent,

id

, pos,

size

, style );

99

GetSizer()->SetSizeHints(

this

);

139

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxHORIZONTAL);

140

itemCSrcModEditPanel1->SetSizer(itemBoxSizer2);

142  m_Text

=

new

wxTextCtrl( itemCSrcModEditPanel1,

ID_ALTITUDE_TXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

143

itemBoxSizer2->Add(

m_Text

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

145

wxStaticText* itemStaticText4 =

new

wxStaticText( itemCSrcModEditPanel1, wxID_STATIC,

_

(

"meters"

), wxDefaultPosition, wxDefaultSize, 0 );

146

itemBoxSizer2->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

246

cpy =

input

.substr(1);

249  bool

any_digit =

false

;

250

string::iterator sit = cpy.begin();

251  while

(sit != cpy.end() &&

isdigit

(*sit)) {

257  if

(sit != cpy.end() && *sit ==

'.'

) {

260  while

(sit != cpy.end() &&

isdigit

(*sit)) {

270  while

(sit != cpy.end() &&

isspace

(*sit)) {

275  if

(sit == cpy.end()) {

278  string

units =

input

.substr(pos);

static bool ShowToolTips()

Should we show tooltips?

void Init()

Initialises member variables.

bool x_GetNumber(const string &input, string &number)

~CAltitudePanel()

Destructor.

virtual bool IsWellFormatted(const string &val)

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

CAltitudePanel()

Constructors.

virtual string GetValue()

void CreateControls()

Creates the controls and sizers.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

bool Create(wxWindow *parent, wxWindowID id=10014, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)

Creation.

virtual void SetValue(const string &val)

void OnAltitudeTxtTextUpdated(wxCommandEvent &event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_ALTITUDE_TXT

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)

Check if a string starts with a specified prefix value.

static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Test for equality of a substring with another string.

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

string ToStdString(const wxString &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