Inkscape
Vector Graphics Editor
|
Font selection widgets. More...
Go to the source code of this file.
Classes | |
class | Inkscape::FontLister |
This class enumerates fonts using libnrtype into reusable data stores and allows for random access to the font-family list and the font-style list. More... | |
struct | Inkscape::FontLister::FontListClass |
GtkTreeModelColumnRecord for the font-family list Gtk::ListStore. More... | |
struct | Inkscape::FontLister::FontStyleListClass |
Namespaces | |
namespace | Gtk |
namespace | Inkscape |
Helper class to stream background task notifications as a series of messages. | |
Functions | |
bool | font_lister_separator_func (Glib::RefPtr< Gtk::TreeModel > const &model, Gtk::TreeModel::const_iterator const &iter) |
void | font_lister_cell_data_func (Gtk::CellRenderer *renderer, Gtk::TreeModel::const_iterator const &iter) |
void | font_lister_cell_data_func_markup (Gtk::CellRenderer *renderer, Gtk::TreeModel::const_iterator const &iter) |
void | font_lister_cell_data_func2 (Gtk::CellRenderer &cell, Gtk::TreeModel::const_iterator const &iter, bool with_markup) |
void | font_lister_style_cell_data_func (Gtk::CellRenderer *renderer, Gtk::TreeModel::const_iterator const &iter) |
Variables | |
constexpr int | FONT_FAMILIES_GROUP_SIZE = 30 |
Font selection widgets.
Definition in file font-lister.h.
void font_lister_cell_data_func | ( | Gtk::CellRenderer * | renderer, |
Gtk::TreeModel::const_iterator const & | iter | ||
) |
Definition at line 1268 of file font-lister.cpp.
Referenced by Inkscape::UI::Widget::FontSelector::changed_emit(), and Inkscape::UI::Widget::FontSelector::on_realize_list().
void font_lister_cell_data_func2 | ( | Gtk::CellRenderer & | cell, |
Gtk::TreeModel::const_iterator const & | iter, | ||
bool | with_markup | ||
) |
Definition at line 1284 of file font-lister.cpp.
References Inkscape::FontLister::font_installed_on_system(), Inkscape::Preferences::get(), and Inkscape::FontLister::get_instance().
Referenced by Inkscape::UI::Toolbar::TextToolbar::TextToolbar().
void font_lister_cell_data_func_markup | ( | Gtk::CellRenderer * | renderer, |
Gtk::TreeModel::const_iterator const & | iter | ||
) |
Definition at line 1275 of file font-lister.cpp.
References Inkscape::FontLister::get_font_family_markup(), and Inkscape::FontLister::get_instance().
Referenced by Inkscape::UI::Widget::FontSelector::FontSelector(), and Inkscape::UI::Widget::FontSelector::set_cell_markup().
bool font_lister_separator_func | ( | Glib::RefPtr< Gtk::TreeModel > const & | model, |
Gtk::TreeModel::const_iterator const & | iter | ||
) |
Definition at line 1256 of file font-lister.cpp.
References Inkscape::FontLister::FontListClass::family, Inkscape::FontLister::font_list, and Inkscape::FontLister::get_instance().
Referenced by Inkscape::UI::Widget::FontSelector::FontSelector(), and Inkscape::UI::Toolbar::TextToolbar::TextToolbar().
void font_lister_style_cell_data_func | ( | Gtk::CellRenderer * | renderer, |
Gtk::TreeModel::const_iterator const & | iter | ||
) |
Definition at line 1354 of file font-lister.cpp.
References Inkscape::FontLister::FontStyleListClass::cssStyle, Inkscape::FontLister::font_style_list, Inkscape::FontLister::get_font_family(), and Inkscape::FontLister::get_instance().
|
inlineconstexpr |
Definition at line 36 of file font-lister.h.