diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-06 14:19:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-06 14:19:33 +0100 |
| commit | 33a2c1355cc52372565835638bea0dab1e3f85a1 (patch) | |
| tree | afeb722b6be3437921d117f62e780cbfbc8b3a74 /src/wx/wx_util.h | |
| parent | ebc29bddd5cbc5cad23cc9b1095d842f55ece5e0 (diff) | |
Add simple/full interface option and make DCP panel respect it.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index e1a7af1aa..f59f5d683 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -72,8 +72,11 @@ class wxSplashScreen; extern void error_dialog (wxWindow *, wxString, boost::optional<wxString> e = boost::optional<wxString>()); extern void message_dialog (wxWindow *, wxString); extern bool confirm_dialog (wxWindow *, wxString); +extern wxStaticText* create_label (wxWindow* p, wxString t, bool left); extern wxStaticText* add_label_to_sizer (wxSizer *, wxWindow *, wxString, bool left, int prop = 0, int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT); +extern wxStaticText* add_label_to_sizer (wxSizer *, wxStaticText *, bool left, int prop = 0, int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT); extern wxStaticText* add_label_to_sizer (wxGridBagSizer *, wxWindow *, wxString, bool, wxGBPosition, wxGBSpan span = wxDefaultSpan); +extern wxStaticText* add_label_to_sizer (wxGridBagSizer *, wxStaticText *, bool, wxGBPosition, wxGBSpan span = wxDefaultSpan); extern std::string wx_to_std (wxString); extern wxString std_to_wx (std::string); extern void dcpomatic_setup_i18n (); |
