dw/style.cc File Reference

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <math.h>
#include "core.hh"
#include "../lout/msg.h"

Include dependency graph for style.cc:


Namespaces

namespace  dw
 Dw is in this namespace, or sub namespaces of this one.
namespace  dw::core
 The core of Dw is defined in this namespace.
namespace  dw::core::style
 Anything related to Dillo Widget styles is defined here.

Functions

static void dw::core::style::drawBorderTop (View *view, Style *style, int x1, int y1, int x2, int y2)
static void dw::core::style::drawBorderBottom (View *view, Style *style, int x1, int y1, int x2, int y2)
static void dw::core::style::drawBorderLeft (View *view, Style *style, int x1, int y1, int x2, int y2)
static void dw::core::style::drawBorderRight (View *view, Style *style, int x1, int y1, int x2, int y2)
void dw::core::style::drawBorder (View *view, Rectangle *area, int x, int y, int width, int height, Style *style, bool inverse)
 Draw the border of a region in window, according to style.
void dw::core::style::drawBackground (View *view, Rectangle *area, int x, int y, int width, int height, Style *style, bool inverse)
 Draw the background (content plus padding) of a region in window, according to style.
static void dw::core::style::strtolower (char *s)
void dw::core::style::numtostr (int num, char *buf, int buflen, ListStyleType listStyleType)
 Convert a number into a string, in a given list style.

Variables

static const char *const dw::core::style::roman_I0 [] = { "","I","II","III","IV","V","VI","VII","VIII","IX" }
static const char *const *const dw::core::style::roman_I1 [] = { "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC" }
static const char *const
*const *const 
dw::core::style::roman_I2 [] = { "","C","CC","CCC","CD","D","DC","DCC","DCCC","CM" }
static const char *const
*const *const *const 
dw::core::style::roman_I3 [] = { "","M","MM","MMM","MMMM" }

Generated on Wed Sep 7 02:00:28 2011 for Dillo by  doxygen 1.5.9