From b3df8ea6ef023089450e8a23bb337af842f23d99 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 15 May 2024 17:01:57 +0200 Subject: [PATCH] Expose UI config fonts to libwidgets Currently this is only for the benefit of derivative projects. --- libs/widgets/widgets/ui_config.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/widgets/widgets/ui_config.h b/libs/widgets/widgets/ui_config.h index a7b4585374..c04d8d4552 100644 --- a/libs/widgets/widgets/ui_config.h +++ b/libs/widgets/widgets/ui_config.h @@ -21,6 +21,8 @@ #include +#include + #include "pbd/configuration.h" #include "gtkmm2ext/colors.h" @@ -44,6 +46,12 @@ public: virtual bool get_all_floating_windows_are_dialogs () const = 0; virtual bool get_widget_prelight () const = 0; virtual Gtkmm2ext::Color color (const std::string&, bool* failed = 0) const = 0; + + virtual Pango::FontDescription get_NormalFont () const = 0; + virtual Pango::FontDescription get_SmallFont () const = 0; + virtual Pango::FontDescription get_NormalMonospaceFont () const = 0; + virtual Pango::FontDescription get_SmallMonospaceFont () const = 0; + virtual Pango::FontDescription get_ArdourSmallFont () const = 0; }; }