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

NCBI C++ ToolKit: src/app/cn3d/progress_meter.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

47 #define DECLARE_AND_FIND_WINDOW_RETURN_ON_ERR(var, id, type) \ 49  var = wxDynamicCast(FindWindow(id), type); \ 51  ERRORMSG("Can't find window with id "

<< id); \

60  const

wxString& message,

const

wxString& title,

int

maximumValue) :

61

wxDialog(myParent, -1, title, wxPoint(50, 50), wxDefaultSize,

62

wxCAPTION | wxFRAME_NO_TASKBAR)

65

wxPanel *parent =

new

wxPanel(

this

, -1);

72 #define ID_GAUGE 10001 73

wxBoxSizer *item0 =

new

wxBoxSizer( wxVERTICAL );

74

wxStaticText *item1 =

new

wxStaticText( parent,

ID_TEXT

, message,

75

wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );

76

item0->Add( item1, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );

77

wxGauge *item2 =

new

wxGauge( parent,

ID_GAUGE

, 100,

78

wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL | wxGA_SMOOTH );

79

item0->Add( item2, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );

80

parent->SetAutoLayout(

TRUE

);

81

parent->SetSizer( item0 );

85  text

->SetLabel(message);

90

gauge->SetRange(maximumValue);

95

SetClientSize(item0->GetMinSize());

100 #if defined(__WXMAC__) 113 #if defined(__WXMAC__) 114  TRACEMSG

(

"can veto: "

<< event.CanVeto());

115  if

(event.CanVeto()) {

128  if

(

value

!= gauge->GetValue()) {

129  int max

= gauge->GetRange();

134 #if defined(__WXMAC__)

void SetValue(int value, bool doYield=true)

void OnCloseWindow(wxCloseEvent &event)

Include a standard set of the NCBI C++ Toolkit most basic headers.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_SCOPE(ns)

Define a new scope.

static void text(MDB_val *v)

const GenericPointer< typename T::ValueType > T2 value

#define TRUE

bool replacment for C indicating true.

#define DECLARE_AND_FIND_WINDOW_RETURN_ON_ERR(var, id, type)

void SetFocus(CRef< objects::CSeq_entry > entry)


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