8 #ifndef META_OCEAN_PLATFORM_WXWIDGETS_UTILITIES_H
9 #define META_OCEAN_PLATFORM_WXWIDGETS_UTILITIES_H
41 static void textOutput(wxDC& dc,
const int x,
const int y,
const wxString& text);
50 static void textOutput(wxDC& dc,
const int x,
const int y,
const std::string& text);
75 static void bitmapOutput(wxDC& dc,
const int x,
const int y,
const wxBitmap& bitmap);
115 static void bitmapOutput(wxDC& dc,
const int xOutput,
const int yOutput,
const int widthOutput,
const int heightOutput,
const int xInput,
const int yInput,
const int widthInput,
const int heightInput,
const wxBitmap& bitmap);
140 static inline std::string
toAString(
const wxString& value);
147 static inline std::wstring
toWString(
const wxString& value);
289 return std::string();
292 #if defined(wxABI_VERSION) && wxABI_VERSION <= 20899
295 return std::string(value.c_str().AsChar());
303 return std::wstring();
306 #if defined(wxABI_VERSION) && wxABI_VERSION <= 20899
307 return std::wstring(value);
309 return std::wstring(value.c_str().AsWChar());
335 ocean_assert(
window_->IsEnabled());
348 ocean_assert(!
window_->IsEnabled());
This class implements Ocean's image class.
Definition: Frame.h:1792
static std::string toAString(const char value)
Converts a value to a string with 8bit character.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15