Debian Codegraph @

wxcrafter/src/wxgui_globals.h

raw
1 #ifndef __WXGUI_GLOBALS__H__
2 #define __WXGUI_GLOBALS__H__
3
4 #include <map>
5 #include <wx/string.h>
6 #include <wx/buffer.h>
7 #include <wx/listctrl.h>
8
9 namespace wxCrafter
10 {
11 void SetColumnText(wxListCtrl* list, long indx, long column, const wxString& rText, int imgId = wxNOT_FOUND);
12
13 /**
14 * \brief return column's text
15 * \param list the list control
16 * \param index the row ID
17 * \param column the column ID
18 * \return the column's text
19 */
20 wxString GetColumnText(wxListCtrl* list, long index, long column);
21
22 /**
23 * \brief append row to list control
24 * \param list the list
25 * \return new row index
26 */
27 long AppendListCtrlRow(wxListCtrl* list);
28
29 bool ReadFileContent(const wxString& fileName, wxString& content);
30 }; // namespace wxCrafter
31
32 #endif // __GLOBALS__H__