xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::theme_images Class Referencefinal
Inheritance diagram for xtd::forms::theme_images:

Public Types

using image_getter = xtd::delegate< xtd::drawing::image(const std::string &name, const xtd::drawing::size &size)>
using theme_name_collection = std::vector< std::string >

Public Member Functions

 theme_images (const std::string &name)
 theme_images (const std::string &name, xtd::forms::theme_style theme_style, const image_getter &image_getter)
xtd::drawing::image from_name (const std::string &name) const
xtd::drawing::image from_name (const std::string &name, const xtd::drawing::size &size) const
bool is_default () const
virtual const std::string & name () const
theme_basename (const std::string &name)
xtd::forms::theme_style theme_style () const
theme_basetheme_style (xtd::forms::theme_style theme_style)
std::string to_string () const

Static Public Member Functions

static theme_images current_theme ()
static void current_theme (const theme_images &theme)
static void current_theme (const std::string &name)
static xtd::drawing::size default_size ()
static theme_images default_theme ()
static std::string default_theme_name ()
static std::string fallback_theme_name ()
static theme_images theme_from_name (const std::string &theme_name)
static const theme_name_collection & theme_names ()

Static Public Attributes

static const theme_images empty

Protected Member Functions

theme_baseis_default (bool is_default)

The documentation for this class was generated from the following file: