3#include "EmberCore/Types/Types.h"
50 static wxString
ToWxString(
const char *str) {
return wxString(str, wxConvUTF8); }
Conversion utilities between EmberCore types and wxWidgets types.
static EmberCore::Color FromWxColour(const wxColour &colour)
static EmberCore::String FromWxString(const wxString &str)
static wxString ToWxString(const EmberCore::String &str)
static EmberCore::Rect FromWxRect(const wxRect &rect)
static EmberCore::Size FromWxSize(const wxSize &size)
static wxPoint ToWxPoint(const EmberCore::Point &point)
static EmberCore::Point FromWxPoint(const wxPoint &point)
static wxSize ToWxSize(const EmberCore::Size &size)
static EmberCore::String FromWxString(const char *str)
static wxString ToWxString(const char *str)
static wxColour ToWxColour(const EmberCore::Color &color)
static wxRect ToWxRect(const EmberCore::Rect &rect)
std::string String
Framework-agnostic string type.
RGBA color with 8-bit components.
static Color FromRGBA(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
2D point with integer coordinates
2D rectangle with position and size
2D size with integer dimensions