|
Dillo
|
#include <style.hh>
Public Member Functions | |
| void | ref () |
| void | unref () |
Public Member Functions inherited from dw::core::style::StyleAttrs | |
| void | initValues () |
| void | resetValues () |
| Reset those style attributes to their standard values, which are not inherited, according to CSS. | |
| bool | sizeDiffs (StyleAttrs *otherStyleAttrs) |
| This method returns whether something may change its size, when its style changes from this style to otherStyle. | |
| void | setBorderColor (Color *val) |
| void | setBorderStyle (BorderStyle val) |
| int | boxOffsetX () |
| int | boxRestWidth () |
| int | boxDiffWidth () |
| int | boxOffsetY () |
| int | boxRestHeight () |
| int | boxDiffHeight () |
| bool | hasBackground () |
| bool | equals (lout::object::Object *other) |
| Returns, whether two objects are equal. | |
| int | hashValue () |
| Return a hash value for the object. | |
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. | |
| virtual Object * | clone () |
| Return an exact copy of the object. | |
| virtual void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. | |
| const char * | toString () |
| Use object::Object::intoStringBuffer to return a textual representation of the object. | |
| virtual size_t | sizeOf () |
| Return the number of bytes, this object totally uses. | |
Static Public Member Functions | |
| static Style * | create (Layout *layout, StyleAttrs *attrs) |
Protected Member Functions | |
| ~Style () | |
| void | copyAttrs (StyleAttrs *attrs) |
Private Member Functions | |
| Style (StyleAttrs *attrs) | |
Private Attributes | |
| int | refCount |
Static Private Attributes | |
| static int | totalRef = 0 |
| static lout::container::typed::HashTable < StyleAttrs, Style > * | styleTable |
Additional Inherited Members | |
Public Attributes inherited from dw::core::style::StyleAttrs | |
| Font * | font |
| int | textDecoration |
| Color * | color |
| Color * | backgroundColor |
| TextAlignType | textAlign |
| VAlignType | valign |
| char | textAlignChar |
| TextTransform | textTransform |
| int | hBorderSpacing |
| int | vBorderSpacing |
| int | wordSpacing |
| Length | width |
| Length | height |
| Length | lineHeight |
| Length | textIndent |
| Box | margin |
| Box | borderWidth |
| Box | padding |
| BorderCollapse | borderCollapse |
| struct { | |
| Color * top | |
| Color * right | |
| Color * bottom | |
| Color * left | |
| } | borderColor |
| struct { | |
| BorderStyle top | |
| BorderStyle right | |
| BorderStyle bottom | |
| BorderStyle left | |
| } | borderStyle |
| DisplayType | display |
| WhiteSpace | whiteSpace |
| ListStylePosition | listStylePosition |
| ListStyleType | listStyleType |
| Cursor | cursor |
| int | x_link |
| int | x_img |
| Tooltip * | x_tooltip |
| char | x_lang [2] |
|
private |
Referenced by create().
|
protected |
|
protected |
References dw::core::style::StyleAttrs::backgroundColor, dw::core::style::StyleAttrs::borderCollapse, dw::core::style::StyleAttrs::borderColor, dw::core::style::StyleAttrs::borderStyle, dw::core::style::StyleAttrs::borderWidth, dw::core::style::StyleAttrs::color, dw::core::style::StyleAttrs::cursor, dw::core::style::StyleAttrs::display, dw::core::style::StyleAttrs::font, dw::core::style::StyleAttrs::hBorderSpacing, dw::core::style::StyleAttrs::height, dw::core::style::StyleAttrs::lineHeight, dw::core::style::StyleAttrs::listStylePosition, dw::core::style::StyleAttrs::listStyleType, dw::core::style::StyleAttrs::margin, dw::core::style::StyleAttrs::padding, dw::core::style::StyleAttrs::textAlign, dw::core::style::StyleAttrs::textAlignChar, dw::core::style::StyleAttrs::textDecoration, dw::core::style::StyleAttrs::textIndent, dw::core::style::StyleAttrs::textTransform, dw::core::style::StyleAttrs::valign, dw::core::style::StyleAttrs::vBorderSpacing, dw::core::style::StyleAttrs::whiteSpace, dw::core::style::StyleAttrs::width, dw::core::style::StyleAttrs::wordSpacing, dw::core::style::StyleAttrs::x_img, dw::core::style::StyleAttrs::x_lang, dw::core::style::StyleAttrs::x_link, and dw::core::style::StyleAttrs::x_tooltip.
|
inlinestatic |
|
inline |
References refCount.
Referenced by dw::Table::addRow(), create(), dw::Textblock::fillSpace(), dw::Textblock::fillWord(), dw::fltk::ui::FltkResource::setStyle(), and dw::core::Widget::setStyle().
|
inline |
|
staticprivate |
Referenced by create().
|
staticprivate |
1.8.2