1
|
1 #ifndef __ui_utils_h
|
|
2 #define __ui_utils_h
|
|
3 namespace UiUtils {
|
|
4 /* Creates a text paragraph with a title header.
|
|
5 Note: the `height` parameters for both of these functions is actually
|
|
6 the height of the data on its own.
|
|
7 Returns a pointer to the data wxStaticText element. */
|
|
8 wxStaticText* CreateTextParagraph(wxWindow* parent, const wchar_t* title, const wchar_t* data, int width, int height, int x = 0, int y = 0);
|
|
9
|
|
10 wxStaticText* CreateTextParagraphWithLabels(wxWindow* parent, const wchar_t* title, const wchar_t* label, const wchar_t* data, int width, int height, int x = 0, int y = 0);
|
|
11 wxTextCtrl* CreateSelectableTextParagraph(wxWindow* parent, const wchar_t* title, const wchar_t* data, int width, int height, int x = 0, int y = 0);
|
|
12 void CreateTextHeader(wxWindow* parent, const wchar_t* title, int width, int x = 0, int y = 0);
|
|
13 };
|
|
14 #endif // __ui_utils_h |