Dillo
|
#include <fltkplatform.hh>
Classes | |
class | FontFamily |
Static Public Member Functions | |
static FltkFont * | create (core::style::FontAttrs *attrs) |
static bool | fontExists (const char *name) |
static Fl_Font | get (const char *name, int attrs) |
Static Public Member Functions inherited from dw::core::style::Font | |
static Font * | create (Layout *layout, FontAttrs *attrs) |
static bool | exists (Layout *layout, const char *name) |
Public Attributes | |
Fl_Font | font |
Public Attributes inherited from dw::core::style::Font | |
int | ascent |
int | descent |
int | spaceWidth |
int | xHeight |
Public Attributes inherited from dw::core::style::FontAttrs | |
const char * | name |
int | size |
int | weight |
int | letterSpacing |
FontVariant | fontVariant |
FontStyle | style |
Private Member Functions | |
FltkFont (core::style::FontAttrs *attrs) | |
~FltkFont () | |
Static Private Member Functions | |
static void | initSystemFonts () |
Static Private Attributes | |
static FontFamily | standardFontFamily |
static lout::container::typed::HashTable < lout::object::ConstString, FontFamily > * | systemFonts |
static lout::container::typed::HashTable < dw::core::style::FontAttrs, FltkFont > * | fontsTable |
Additional Inherited Members | |
Public Member Functions inherited from dw::core::style::Font | |
void | ref () |
void | unref () |
Public Member Functions inherited from dw::core::style::FontAttrs | |
bool | equals (lout::object::Object *other) |
Returns, whether two objects are equal. More... | |
int | hashValue () |
Return a hash value for the object. More... | |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More... | |
virtual Object * | clone () |
Return an exact copy of the object. More... | |
virtual void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. More... | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. More... | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. More... | |
Protected Member Functions inherited from dw::core::style::Font | |
Font () | |
virtual | ~Font () |
void | copyAttrs (FontAttrs *attrs) |
|
private |
|
private |
|
static |
References lout::container::typed::HashTable< K, V >::get().
Referenced by dw::fltk::FltkPlatform::createFont().
|
static |
Referenced by dw::fltk::FltkPlatform::fontExists().
|
static |
References dw::fltk::FltkFont::FontFamily::get().
|
staticprivate |
Fl_Font dw::fltk::FltkFont::font |
Referenced by dw::fltk::FltkWidgetView::drawSimpleWrappedText(), dw::fltk::FltkPreview::drawText(), dw::fltk::FltkWidgetView::drawText(), dw::fltk::ui::FltkResource::setWidgetStyle(), dw::fltk::ui::FltkLabelButtonResource::sizeRequest(), dw::fltk::ui::FltkEntryResource::sizeRequest(), dw::fltk::ui::FltkMultiLineTextResource::sizeRequest(), dw::fltk::ui::FltkToggleButtonResource< I >::sizeRequest(), dw::fltk::ui::FltkOptionMenuResource::sizeRequest(), and dw::fltk::FltkPlatform::textWidth().
|
staticprivate |
|
staticprivate |
|
staticprivate |