#include <style.hh>
Public Member Functions | |
| void | ref () |
| void | unref () |
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 |
| dw::core::style::Style::Style | ( | StyleAttrs * | attrs | ) | [private] |
References dw::core::style::StyleAttrs::backgroundColor, dw::core::style::StyleAttrs::borderColor, dw::core::style::StyleAttrs::color, copyAttrs(), dw::core::style::StyleAttrs::font, dw::core::style::Tooltip::ref(), dw::core::style::Color::ref(), dw::core::style::Font::ref(), refCount, totalRef, and dw::core::style::StyleAttrs::x_tooltip.
Referenced by create().
| dw::core::style::Style::~Style | ( | ) | [protected] |
References dw::core::style::StyleAttrs::backgroundColor, dw::core::style::StyleAttrs::borderColor, dw::core::style::StyleAttrs::color, dw::core::style::StyleAttrs::font, lout::container::typed::HashTable< K, V >::remove(), styleTable, totalRef, dw::core::style::Tooltip::unref(), dw::core::style::Color::unref(), dw::core::style::Font::unref(), and dw::core::style::StyleAttrs::x_tooltip.
| void dw::core::style::Style::copyAttrs | ( | StyleAttrs * | attrs | ) | [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::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_link, and dw::core::style::StyleAttrs::x_tooltip.
Referenced by Style().
| static Style* dw::core::style::Style::create | ( | Layout * | layout, | |
| StyleAttrs * | attrs | |||
| ) | [inline, static] |
References lout::container::typed::HashTable< K, V >::get(), lout::container::typed::HashTable< K, V >::put(), ref(), Style(), and styleTable.
Referenced by dw::Textblock::changeLinkColor().
| void dw::core::style::Style::ref | ( | ) | [inline] |
References refCount.
Referenced by dw::Table::addRow(), dw::Textblock::addSpace(), dw::Textblock::addWord(), create(), dw::core::Widget::setStyle(), and dw::fltk::ui::FltkResource::setStyle().
| void dw::core::style::Style::unref | ( | ) | [inline] |
References refCount.
Referenced by dw::Table::addRow(), dw::Textblock::addSpace(), dw::Textblock::changeLinkColor(), dw::core::Widget::setStyle(), dw::fltk::ui::FltkResource::setStyle(), dw::fltk::ui::FltkResource::~FltkResource(), dw::Table::~Table(), dw::Textblock::~Textblock(), and dw::core::Widget::~Widget().
int dw::core::style::Style::refCount [private] |
container::typed::HashTable< StyleAttrs, Style > * dw::core::style::Style::styleTable [static, private] |
int dw::core::style::Style::totalRef = 0 [static, private] |
1.5.9