HTML::Renderer::Box::Border::Side Struct Reference

#include <GenericRenderer.hpp>

List of all members.


Detailed Description

A border side This structure takes ownership of the passed length pointer.

Todo:
Use a length allocator here


Public Types

typedef CSS::BorderStyle::Style BorderStyle
 The border style.

Public Member Functions

void checkLength ()
 Check the length value.
int32 getAsPixels (const uint32 iteration) const
 Get as pixels.
const ColourgetColour () const
 Get the color.
BorderStyle getStyle () const
 Get the border style.
bool isAuto () const
 Is the length defined as auto ?
bool isVisible () const
 Is the border visible.
void setStyle (const BorderStyle _style)
 Set the border style.
void setValue (const int32 value, const uint32 iteration) const
 Set the value.
 Side (Length *len=0, const BorderStyle _style=CSS::BorderStyle::None, const Colour &colour=CSS::Colours::Black)
 The constructor.
 ~Side ()
 The destructor.

Friends

class HTML::Renderer::Box


Member Typedef Documentation

typedef CSS::BorderStyle::Style HTML::Renderer::Box::Border::Side::BorderStyle

The border style.


Constructor & Destructor Documentation

HTML::Renderer::Box::Border::Side::Side ( Length len = 0,
const BorderStyle  _style = CSS::BorderStyle::None,
const Colour colour = CSS::Colours::Black 
) [inline]

The constructor.

HTML::Renderer::Box::Border::Side::~Side (  )  [inline]

The destructor.


Member Function Documentation

void HTML::Renderer::Box::Border::Side::checkLength (  )  [inline]

Check the length value.

int32 HTML::Renderer::Box::Border::Side::getAsPixels ( const uint32  iteration  )  const [inline]

Get as pixels.

const Colour& HTML::Renderer::Box::Border::Side::getColour (  )  const [inline]

Get the color.

BorderStyle HTML::Renderer::Box::Border::Side::getStyle (  )  const [inline]

Get the border style.

bool HTML::Renderer::Box::Border::Side::isAuto (  )  const [inline]

Is the length defined as auto ?

bool HTML::Renderer::Box::Border::Side::isVisible (  )  const [inline]

Is the border visible.

void HTML::Renderer::Box::Border::Side::setStyle ( const BorderStyle  _style  )  [inline]

Set the border style.

void HTML::Renderer::Box::Border::Side::setValue ( const int32  value,
const uint32  iteration 
) const [inline]

Set the value.


Friends And Related Function Documentation

friend class HTML::Renderer::Box [friend]


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

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is