Static Public Member Functions | |
static std::shared_ptr< image > | load_image (std::string const &path) |
static std::shared_ptr< image > | create_image (std::string const &text, std::shared_ptr< font > const &font, uint32_t wrap_length=0) |
static size_t | hash_image (std::shared_ptr< image > const &image) |
static std::shared_ptr< texture > | create_texture (std::shared_ptr< image > const &image) |
static std::shared_ptr< sound > | load_sound (std::string const &path) |
static size_t | hash_sound (std::shared_ptr< sound > const &sound) |
static std::shared_ptr< font > | load_font (std::string const &path, uint8_t size=48, font_style style=FONT_STYLE_NORMAL, font_alignment alignment=FONT_ALIGNMENT_LEFT) |
static std::unique_ptr< cursor, std::function< void(cursor *)> > | create_cursor (system_cursor system_cursor) |
static std::unique_ptr< cursor, std::function< void(cursor *)> > | create_cursor (std::shared_ptr< image > const &image, uint16_t hot_x=0, uint16_t hot_y=0) |
Definition at line 72 of file assets.hpp.
|
staticnodiscard |
Definition at line 34 of file assets.cpp.
|
staticnodiscard |
Definition at line 48 of file assets.cpp.
|
staticnodiscard |
Definition at line 67 of file assets.cpp.
|
staticnodiscard |
Definition at line 89 of file assets.cpp.
|
staticnodiscard |
Definition at line 101 of file assets.cpp.
|
staticnodiscard |
Definition at line 114 of file assets.cpp.
|
staticnodiscard |
Definition at line 132 of file assets.cpp.
|
staticnodiscard |
Definition at line 153 of file assets.cpp.
|
staticnodiscard |
Definition at line 166 of file assets.cpp.