X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.h;h=585a30611ec82f462ac0f129ce8c32f668a06956;hb=9ff22e1694a53f09a84b01685b64dcb83e830365;hp=d5e3325492b276c5f45625208b13e08288640974;hpb=cc2ca33dbf5aeab23d3e80d7b9cb8005daa1e1b2;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index d5e332549..585a30611 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -66,6 +66,13 @@ class PasswordEntry; #define DCPOMATIC_CHECKBOX_BOTTOM_PAD 0 #endif +/** Amount by which you need to top-pad a choice to make it line up, in some cases */ +#ifdef DCPOMATIC_OSX +#define DCPOMATIC_CHOICE_TOP_PAD 1 +#else +#define DCPOMATIC_CHOICE_TOP_PAD 0 +#endif + /** Spacing to use between buttons in a vertical/horizontal line */ #if defined(DCPOMATIC_OSX) || defined(__WXGTK3__) #define DCPOMATIC_BUTTON_STACK_GAP 2 @@ -112,6 +119,7 @@ extern bool display_progress (wxString title, wxString task); extern bool report_errors_from_last_job (wxWindow* parent); extern wxString bitmap_path (std::string name); extern wxSize small_button_size (wxWindow* parent, wxString text); +extern bool gui_is_dark (); struct Offset