X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftext_content.h;h=7c060cd482afb76fa3bdd152bb8dd178c4d2350f;hb=f706bbb9afd10472e81a051cd5db601d6404377c;hp=f46b6c6d0068733a1a17973fd6def36d5deab53f;hpb=5a820bb8fae34591be5ac6d19a73461b9dab532a;p=dcpomatic.git diff --git a/src/lib/text_content.h b/src/lib/text_content.h index f46b6c6d0..7c060cd48 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -76,6 +76,7 @@ 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; @@ -205,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;