Dillo v3.1.1-111-gd4f56d0d
|
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 |
|
inline |
|
inline |
Definition at line 510 of file style.hh.
References bottom, left, right, and top.
Referenced by Html_set_collapsing_border_model(), Html_set_separate_border_model(), dw::core::style::StyleAttrs::initValues(), main(), and dw::core::style::StyleAttrs::resetValues().
int dw::core::style::Box::bottom |
Definition at line 508 of file style.hh.
Referenced by dw::Textblock::accumulateWordForLine(), StyleEngine::apply(), dw::core::style::StyleAttrs::boxRestHeight(), dw::core::Widget::boxRestHeight(), dw::core::Widget::calcExtraSpace(), dw::oof::OOFPosAbsMgr::containerBoxRestHeight(), dw::oof::OOFAwareWidget::correctRequisitionByOOF(), dw::core::style::drawBorder(), dw::core::style::drawBorderBottom(), dw::core::style::drawBorderLeft(), dw::core::style::drawBorderRight(), dw::core::Widget::drawBox(), equals(), dw::core::Widget::getBorderArea(), dw::core::Widget::getMarginArea(), dw::core::Widget::getPaddingArea(), hashValue(), Html_set_collapsing_border_model(), StyleEngine::postprocessAttrs(), StyleEngine::preprocessAttrs(), dw::core::Widget::setStyle(), setVal(), dw::Textblock::sizeRequestImpl(), and dw::core::Widget::Widget().
int dw::core::style::Box::left |
Definition at line 508 of file style.hh.
Referenced by StyleEngine::apply(), dw::core::style::StyleAttrs::boxOffsetX(), dw::core::Widget::boxOffsetX(), dw::core::Widget::calcExtraSpace(), 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(), dw::core::Widget::getBorderArea(), dw::core::Widget::getMarginArea(), dw::core::Widget::getPaddingArea(), hashValue(), Html_set_collapsing_border_model(), main(), StyleEngine::postprocessAttrs(), StyleEngine::preprocessAttrs(), dw::core::Widget::setStyle(), setVal(), and dw::core::Widget::Widget().
int dw::core::style::Box::right |
Definition at line 508 of file style.hh.
Referenced by StyleEngine::apply(), dw::core::style::StyleAttrs::boxRestWidth(), dw::core::Widget::boxRestWidth(), dw::core::Widget::calcExtraSpace(), dw::oof::OOFPosAbsMgr::containerBoxRestWidth(), dw::oof::OOFAwareWidget::correctRequisitionByOOF(), dw::core::style::drawBorder(), dw::core::style::drawBorderBottom(), dw::core::style::drawBorderRight(), dw::core::style::drawBorderTop(), dw::core::Widget::drawBox(), equals(), dw::core::Widget::getBorderArea(), dw::core::Widget::getMarginArea(), dw::core::Widget::getPaddingArea(), hashValue(), Html_set_collapsing_border_model(), main(), StyleEngine::postprocessAttrs(), StyleEngine::preprocessAttrs(), dw::core::Widget::setStyle(), setVal(), and dw::core::Widget::Widget().
int dw::core::style::Box::top |
Definition at line 508 of file style.hh.
Referenced by dw::Textblock::accumulateWordForLine(), StyleEngine::apply(), dw::core::style::StyleAttrs::boxOffsetY(), dw::core::Widget::boxOffsetY(), dw::core::Widget::calcExtraSpace(), dw::Textblock::calcExtraSpaceImpl(), 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::findLineIndexWhenNotAllocated(), dw::Textblock::TextblockIterator::getAllocation(), dw::core::Widget::getBorderArea(), dw::core::Widget::getMarginArea(), dw::core::Widget::getPaddingArea(), hashValue(), Html_set_collapsing_border_model(), StyleEngine::postprocessAttrs(), StyleEngine::preprocessAttrs(), dw::core::Widget::setStyle(), setVal(), dw::Textblock::sizeRequestImpl(), dw::core::Widget::Widget(), dw::Textblock::yOffsetOfLineCreated(), and dw::Textblock::yOffsetOfLineToBeCreated().