Inkscape
Vector Graphics Editor
font-selector-toolbar.h File Reference

The routines here create and manage a font selector widget with two parts, one each for font-family and font-style. More...

Go to the source code of this file.

Classes

class  Inkscape::UI::Widget::FontSelectorToolbar
 A container of widgets for selecting font faces. More...
 

Namespaces

namespace  Inkscape
 CMYK to sRGB conversion routines.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Widget
 Custom widgets.
 

Detailed Description

The routines here create and manage a font selector widget with two parts, one each for font-family and font-style.

This is essentially a toolbar version of the 'FontSelector' widget. Someday this may be merged with it.

The main functions are: Create the font-selector toolbar widget. Update the lists when a new text selection is made. Update the Style list when a new font-family is selected, highlighting the best match to the original font style (as not all fonts have the same style options). Update the on-screen text. Provide the currently selected values.

Definition in file font-selector-toolbar.h.