X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftext_content.h;h=7c060cd482afb76fa3bdd152bb8dd178c4d2350f;hb=ff639b3cf30afcc097bfd21d39c8d15f466cadd6;hp=66bedecf51007c9e030cf3f01d3261ecc5eb5dfa;hpb=9b92e596727bcbab5df68ed72ddf59702a4a9702;p=dcpomatic.git diff --git a/src/lib/text_content.h b/src/lib/text_content.h index 66bedecf5..7c060cd48 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -76,7 +76,9 @@ public: std::string identifier () const; void take_settings_from (std::shared_ptr c); + void clear_fonts (); void add_font (std::shared_ptr font); + std::shared_ptr get_font(std::string id) const; void set_use (bool); void set_burn (bool); @@ -204,6 +206,7 @@ private: void font_changed (); void connect_to_fonts (); + std::shared_ptr get_font_unlocked(std::string id) const; std::list _font_connections;