Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
ResourcesHolder.h File Reference
#include <vector>
#include <memory>
#include <string>
#include <cassert>
#include <unordered_map>
#include <spdlog/spdlog.h>
#include "sgui/Resources/ResourcesHolder.tpp"
Include dependency graph for ResourcesHolder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sgui::ResourcesHolder< Resource, Identifier >
 load and hold resources of all kind (image, music, etc.), that can be retrieved with Identifier that are comparable. Note that Resource should implement a "bool loadFromFile" function for this holder to work. sf::Font use openFromFile, but it's handled with type test. More...

Namespaces

namespace  sgui
namespace  sf

Typedefs

using sgui::TextureHolder = ResourcesHolder <sf::Texture>
using sgui::ShaderHolder = ResourcesHolder <sf::Shader>
using sgui::SoundHolder = ResourcesHolder <sf::SoundBuffer>
using sgui::FontHolder = ResourcesHolder <sf::Font>
using sgui::LayoutHolder = ResourcesHolder <Layout>
using sgui::AtlasHolder = ResourcesHolder <TextureAtlas>
using sgui::TextHolder = ResourcesHolder <TextContainer>