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
anonymous_namespace{util.cpp} Namespace Reference

Classes

struct  TextSizeCacheKey
 
struct  TextSizeCacheKeyHash
 

Variables

constexpr std::size_t TEXT_SIZE_CACHE_LIMIT = 512
 
std::unordered_map< TextSizeCacheKey, asw::Vec2< int >, TextSizeCacheKeyHashtext_size_cache
 

Variable Documentation

◆ text_size_cache

std::unordered_map<TextSizeCacheKey, asw::Vec2<int>, TextSizeCacheKeyHash> anonymous_namespace{util.cpp}::text_size_cache

Definition at line 27 of file util.cpp.

◆ TEXT_SIZE_CACHE_LIMIT

std::size_t anonymous_namespace{util.cpp}::TEXT_SIZE_CACHE_LIMIT = 512
constexpr

Definition at line 26 of file util.cpp.