Dillo
|
Represents a dimension box according to the CSS box model. More...
#include <style.hh>
Public Member Functions | |
void | setVal (int val) |
bool | equals (Box *other) |
int | hashValue () |
Public Attributes | |
int | top |
int | right |
int | bottom |
int | left |
Represents a dimension box according to the CSS box model.
Used for dw::core::style::Style::margin, dw::core::style::Style::borderWidth, and dw::core::style::Style::padding.
|
inline |
References left.
|
inline |
Referenced by main().
int dw::core::style::Box::bottom |
Referenced by dw::Textblock::accumulateWordForLine(), dw::core::Widget::boxRestHeight(), dw::core::style::StyleAttrs::boxRestHeight(), dw::oof::OOFPosAbsMgr::containerBoxRestHeight(), dw::core::style::drawBorder(), dw::core::style::drawBorderBottom(), dw::core::style::drawBorderLeft(), dw::core::style::drawBorderRight(), dw::core::Widget::drawBox(), equals(), and dw::core::Widget::setStyle().
int dw::core::style::Box::left |
Referenced by dw::core::Widget::boxOffsetX(), dw::core::style::StyleAttrs::boxOffsetX(), dw::oof::OOFPosAbsMgr::containerBoxOffsetX(), dw::core::style::drawBorder(), dw::core::style::drawBorderBottom(), dw::core::style::drawBorderLeft(), dw::core::style::drawBorderTop(), dw::core::Widget::drawBox(), equals(), hashValue(), main(), and dw::core::Widget::setStyle().
int dw::core::style::Box::right |
Referenced by dw::core::Widget::boxRestWidth(), dw::core::style::StyleAttrs::boxRestWidth(), dw::oof::OOFPosAbsMgr::containerBoxRestWidth(), dw::core::style::drawBorder(), dw::core::style::drawBorderBottom(), dw::core::style::drawBorderRight(), dw::core::style::drawBorderTop(), dw::core::Widget::drawBox(), equals(), main(), and dw::core::Widget::setStyle().
int dw::core::style::Box::top |
Referenced by dw::Textblock::accumulateWordForLine(), dw::core::Widget::boxOffsetY(), dw::core::style::StyleAttrs::boxOffsetY(), dw::oof::OOFPosAbsMgr::containerBoxOffsetY(), dw::core::style::drawBorder(), dw::core::style::drawBorderLeft(), dw::core::style::drawBorderRight(), dw::core::style::drawBorderTop(), dw::core::Widget::drawBox(), equals(), dw::Textblock::TextblockIterator::getAllocation(), and dw::core::Widget::setStyle().