#include <style.hh>
Public Member Functions | |
| void | ref () |
| void | unref () |
Static Public Member Functions | |
| static Font * | create (Layout *layout, FontAttrs *attrs) |
| static bool | exists (Layout *layout, const char *name) |
Public Attributes | |
| int | ascent |
| int | descent |
| int | spaceWidth |
| int | xHeight |
Protected Member Functions | |
| Font () | |
| virtual | ~Font () |
| void | copyAttrs (FontAttrs *attrs) |
Static Private Member Functions | |
| static Font * | create0 (Layout *layout, FontAttrs *attrs, bool tryEverything) |
Private Attributes | |
| int | refCount |
| dw::core::style::Font::Font | ( | ) | [inline, protected] |
References refCount.
| dw::core::style::Font::~Font | ( | ) | [protected, virtual] |
References dw::core::style::FontAttrs::name.
| void dw::core::style::Font::copyAttrs | ( | FontAttrs * | attrs | ) | [protected] |
References create0().
| bool dw::core::style::Font::exists | ( | Layout * | layout, | |
| const char * | name | |||
| ) | [static] |
References dw::core::Layout::fontExists().
| void dw::core::style::Font::ref | ( | ) | [inline] |
| void dw::core::style::Font::unref | ( | ) | [inline] |
Referenced by dw::fltk::FltkPreview::drawText(), dw::fltk::FltkFont::FltkFont(), dw::fltk::ui::FltkListResource::sizeRequest(), dw::fltk::ui::FltkOptionMenuResource::sizeRequest(), dw::fltk::ui::FltkToggleButtonResource< I >::sizeRequest(), dw::fltk::ui::FltkMultiLineTextResource::sizeRequest(), dw::fltk::ui::FltkEntryResource::sizeRequest(), and dw::fltk::ui::FltkLabelButtonResource::sizeRequest().
Referenced by dw::fltk::FltkFont::FltkFont(), dw::fltk::ui::FltkListResource::sizeRequest(), dw::fltk::ui::FltkOptionMenuResource::sizeRequest(), dw::fltk::ui::FltkToggleButtonResource< I >::sizeRequest(), dw::fltk::ui::FltkMultiLineTextResource::sizeRequest(), dw::fltk::ui::FltkEntryResource::sizeRequest(), and dw::fltk::ui::FltkLabelButtonResource::sizeRequest().
int dw::core::style::Font::refCount [private] |
Referenced by dw::fltk::FltkFont::FltkFont().
Referenced by dw::fltk::FltkFont::FltkFont().
1.5.9