xtd.forms - Reference Guide  0.1.0
Modern c++17 library containing classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows, Apple macOS and Linux like Ubuntu operating system.
xtd::forms::theme_images Class Referencefinal
Inheritance diagram for xtd::forms::theme_images:
xtd::forms::theme_base

Public Types

using image_getter = xtd::delegate< xtd::drawing::image(const std::string &name, const xtd::drawing::size &size)>
 
- Public Types inherited from xtd::forms::theme_base
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
 
- Public Member Functions inherited from xtd::forms::theme_base
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 theme_images theme_from_name (const std::string &theme_name)
 
- Static Public Member Functions inherited from xtd::forms::theme_base
static std::string default_theme_name ()
 
static std::string fallback_theme_name ()
 
static const theme_name_collection & theme_names ()
 

Static Public Attributes

static const theme_images empty
 
- Static Public Attributes inherited from xtd::forms::theme_base
static const theme_base empty
 

Additional Inherited Members

- Protected Member Functions inherited from xtd::forms::theme_base
 theme_base (const std::string &name)
 
 theme_base (const std::string &name, xtd::forms::theme_style theme_style)
 
 theme_base (const std::string &name, xtd::forms::theme_style theme_style, bool is_default)
 
theme_baseis_default (bool is_default)
 

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