13
0

Expose UI config fonts to libwidgets

Currently this is only for the benefit of derivative projects.
This commit is contained in:
Robin Gareus 2024-05-15 17:01:57 +02:00
parent fc1377ae46
commit b3df8ea6ef
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -21,6 +21,8 @@
#include <cassert>
#include <pangomm/fontdescription.h>
#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;
};
}