Dillo
Public Member Functions | Public Attributes | List of all members
dw::core::style::Box Class Reference

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
 

Detailed Description

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.

Member Function Documentation

bool dw::core::style::Box::equals ( Box other)
inline

References bottom, left, right, and top.

int dw::core::style::Box::hashValue ( )
inline

References left.

void dw::core::style::Box::setVal ( int  val)
inline

Referenced by main().

Member Data Documentation

int dw::core::style::Box::bottom
int dw::core::style::Box::left
int dw::core::style::Box::right
int dw::core::style::Box::top

The documentation for this class was generated from the following file: