#include <style.hh>
Public Member Functions | |
| bool | equals (lout::object::Object *other) |
| Returns, whether two objects are equal. | |
| int | hashValue () |
| Return a hash value for the object. | |
Public Attributes | |
| const char * | name |
| int | size |
| int | weight |
| int | letterSpacing |
| FontVariant | fontVariant |
| FontStyle | style |
| bool dw::core::style::FontAttrs::equals | ( | lout::object::Object * | other | ) | [virtual] |
Returns, whether two objects are equal.
The caller should ensure, that this and the object have the same class; this makes casting of "other" safe. Typically, an implementation should check this == other first, the caller can assume a fast implementation.
Reimplemented from lout::object::Object.
References fontVariant, letterSpacing, name, size, style, and weight.
| int dw::core::style::FontAttrs::hashValue | ( | ) | [virtual] |
Return a hash value for the object.
Reimplemented from lout::object::Object.
References fontVariant, letterSpacing, name, size, style, and weight.
| const char* dw::core::style::FontAttrs::name |
Referenced by dw::core::style::Font::copyAttrs(), dw::fltk::FltkWidgetView::drawSimpleWrappedText(), dw::fltk::FltkWidgetView::drawText(), dw::fltk::FltkPreview::drawText(), equals(), dw::fltk::FltkFont::FltkFont(), hashValue(), dw::fltk::ui::FltkResource::setWidgetStyle(), 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(), dw::fltk::ui::FltkLabelButtonResource::sizeRequest(), and dw::fltk::FltkPlatform::textWidth().
Referenced by dw::core::style::Font::copyAttrs(), equals(), dw::fltk::FltkFont::FltkFont(), and hashValue().
Referenced by dw::core::style::Font::copyAttrs(), equals(), dw::fltk::FltkFont::FltkFont(), and hashValue().
1.5.9