28#include <wx/scrolwin.h>
32wxDECLARE_EVENT(EVT_LAYOUT_RESIZE, wxCommandEvent);
40enum class Breakpoint :
int {
52static const int kSpacing = 6;
60bool HasKey(
const std::set<int>& set, T key) {
61 return set.find(
static_cast<int>(key)) != set.end();
Organizes constant variables and methods.
void LayoutResizeEvent(wxWindow *ctx)
Trigger window layout event.
int GetSpacing(wxWindow *ctx, int factor)
Multiply default spacing with a factor, and calculate device independent pixels.
Breakpoint GetScreenSize(wxRect *rect)
Get screen size breakpoint.
bool HasKey(const std::set< int > &set, T key)
Check if a key exists in a set.