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

NCBI C++ ToolKit: src/gui/core/pt_data_loader.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

44 #include <wx/treectrl.h> 55

wxTreeItemIcon_Normal);

57

wxColour cl_text = treeCtrl.GetForegroundColour();

58

wxColour cl_back = treeCtrl.GetBackgroundColour();

59

wxColour clr =

GetData

()->GetEnabled() ? cl_text :

GetAverage

(cl_text, cl_back, 0.5);

63  const

objects::CUser_object& obj =

GetData

()->GetData();

66  label

= fieldLabel->GetData().GetStr();

77  if

(!project)

return false

;

81  if

(!doc)

return false

;

84  if

(!parent)

return false

;

88  if

(!loader)

return false

;

92  wxT

(

"Please close the corresponding views and try again!"

));

95

doc->SetDirty (

true

);

97

treeCtrl.Delete(toDelete);

bool RemoveDataLoader(objects::CLoaderDescriptor &loader)

void Initialize(wxTreeCtrl &treeCtrl)

virtual bool DoRemove(wxTreeCtrl &treeCtrl)

wxTreeItemId m_TreeItemId

CItem * GetParent(wxTreeCtrl &treeCtrl) const

static CPTIcons & GetInstance()

int GetImageIndex(EIcon icon) const

void UpdateLabel(wxTreeCtrl &treeCtrl)

const CRef< objects::CLoaderDescriptor > & GetData() const

EDialogReturnValue NcbiMessageBoxW(const wxString &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const wxString &title=wxT("Error"), EDialogTextMode text_mode=eRaw)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static const char label[]

CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)

wxColour GetAverage(const wxColor &c1, const wxColor &c2, double ratio)


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