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

NCBI C++ ToolKit: src/build-system/project_tree_builder/ptb_gui.cpp Source File

36 #if defined(NCBI_OS_MSWIN) 38 #define COMPILE_MULTIMON_STUBS 52

GetWindowRect(hWnd, &rcWnd);

54

mi.cbSize =

sizeof

(mi);

55

GetMonitorInfo( MonitorFromWindow( hWnd, MONITOR_DEFAULTTOPRIMARY), &mi);

56  int

xLeft = (mi.rcMonitor.left + mi.rcMonitor.right - rcWnd.right + rcWnd.left)/2;

57  int

yTop = (mi.rcMonitor.top + mi.rcMonitor.bottom - rcWnd.bottom + rcWnd.top )/2;

58

SetWindowPos(hWnd,

NULL

, xLeft, yTop, -1, -1,

59

SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);

115

SetWindowLongPtr( hDlg, DWLP_USER, lParam );

124

EndDialog(hDlg,IDOK);

128

EndDialog(hDlg,IDCANCEL);

149 #if defined(NCBI_OS_MSWIN) 150  bool result

= ( DialogBoxParam( GetModuleHandle(

NULL

),

153

(LPARAM)(

LPVOID

)

this

) == IDOK);

171

cout <<

"*PTBGUI{* custom"

<< endl;

173

skip.push_back(

"__AllowedProjects"

);

175

cout <<

"*PTBGUI}* custom"

<< endl;

177  bool

started =

false

;

180

cin.getline(

buf

,

sizeof

(

buf

));

223

cout <<

"*PTBGUI{* projects"

<< endl;

236

cout << prjid <<

","

;

252

cout <<

","

<<

NStr::Replace

(p->second.m_SourcesBaseDir,

"\\"

,

"/"

);

253

cout <<

","

<<

NStr::Join

(p->second.m_ProjTags,

"/"

);

256

cout <<

"*PTBGUI}* projects"

<< endl;

258  bool

started =

false

;

262

cin.getline(

buf

,

sizeof

(

buf

));

static EMsvcPlatform GetMsvcPlatform(void)

bool IsProvided(const string &thing, bool deep=true, const SConfigInfo *cfg=nullptr) const

void GetBuildConfigs(list< SConfigInfo > *configs)

CSimpleMakeFileContents m_CustomConfiguration

bool Gui_ConfirmProjects(CProjectItemsTree &projects_tree)

bool ConfirmConfiguration(void)

unique_ptr< CMsvc7RegSettings > m_MsvcRegSettings

bool Gui_ConfirmConfiguration(void)

const CMsvcSite & GetSite(void)

void Dump(CNcbiOstream &ostr, const list< string > *skip=0) const

Debug dump.

bool DoesValueContain(const string &key, const string &value, bool ifnokey=true) const

void AddDefinition(const string &key, const string &value)

bool GetValue(const string &key, string &value) const

void Save(const string &filename) 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 bool StringToBool(const CTempString str)

Convert string to bool.

static void TruncateSpacesInPlace(string &str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string (in-place)

static string Join(const TContainer &arr, const CTempString &delim)

Join strings using the specified delimiter.

static string & Replace(const string &src, const string &search, const string &replace, string &dst, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)

Replace occurrences of a substring within a string.

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 SplitInTwo(const CTempString str, const CTempString delim, string &str1, string &str2, TSplitFlags flags=0)

Split a string into two pieces using the specified delimiters.

string CreateProjectName(const CProjKey &project_id)

Project naming schema.

#define TRUE

bool replacment for C indicating true.

#define FALSE

bool replacment for C indicating false.

INT_PTR CALLBACK PtbConfigDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)

void CenterWindow(HWND hWnd)

BOOL UpdateData(HWND hDlg, CProjBulderApp *pApp, BOOL bGet)

#define IDD_PTB_GUI_DIALOG

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