ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
util.cpp File Reference
#include "./asw/modules/util.h"
#include <SDL3/SDL.h>
#include <SDL3_image/SDL_image.h>
#include <unordered_map>
#include "./asw/modules/log.h"
Include dependency graph for util.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{util.cpp}::TextSizeCacheKey
 
struct  anonymous_namespace{util.cpp}::TextSizeCacheKeyHash
 

Namespaces

namespace  anonymous_namespace{util.cpp}
 

Variables

constexpr std::size_t anonymous_namespace{util.cpp}::TEXT_SIZE_CACHE_LIMIT = 512
 
std::unordered_map< TextSizeCacheKey, asw::Vec2< int >, TextSizeCacheKeyHashanonymous_namespace{util.cpp}::text_size_cache