1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Dillo: dw/style.cc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://www.dillo.org/dw/html/jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Dillo
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_fdc4064fcda8ca976b3af3f83c9eca4d.html">dw</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="style_8cc.html#namespaces">Namespaces</a> |
<a href="style_8cc.html#func-members">Functions</a> |
<a href="style_8cc.html#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">style.cc File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <stdio.h></code><br />
<code>#include <string.h></code><br />
<code>#include <unistd.h></code><br />
<code>#include <ctype.h></code><br />
<code>#include <math.h></code><br />
<code>#include "<a class="el" href="core_8hh_source.html">core.hh</a>"</code><br />
<code>#include "../lout/msg.h"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for style.cc:</div>
<div class="dyncontent">
<div class="center"><img src="style_8cc__incl.png" border="0" usemap="#dw_2style_8cc" alt=""/></div>
<map name="dw_2style_8cc" id="dw_2style_8cc">
<area shape="rect" id="node7" href="core_8hh.html" title="core.hh" alt="" coords="997,80,1061,107"/><area shape="rect" id="node8" href="object_8hh.html" title="../lout/object.hh" alt="" coords="100,453,209,480"/><area shape="rect" id="node13" href="container_8hh.html" title="../lout/container.hh" alt="" coords="218,379,345,405"/><area shape="rect" id="node14" href="signal_8hh.html" title="../lout/signal.hh" alt="" coords="218,304,326,331"/><area shape="rect" id="node15" href="tools_8hh.html" title="tools.hh" alt="" coords="1484,155,1551,181"/><area shape="rect" id="node18" href="types_8hh.html" title="types.hh" alt="" coords="246,155,317,181"/><area shape="rect" id="node19" href="events_8hh.html" title="events.hh" alt="" coords="341,155,419,181"/><area shape="rect" id="node20" href="imgbuf_8hh.html" title="imgbuf.hh" alt="" coords="1575,155,1654,181"/><area shape="rect" id="node21" href="imgrenderer_8hh.html" title="imgrenderer.hh" alt="" coords="444,155,551,181"/><area shape="rect" id="node22" href="style_8hh.html" title="style.hh" alt="" coords="1393,155,1460,181"/><area shape="rect" id="node25" href="view_8hh.html" title="view.hh" alt="" coords="575,155,641,181"/><area shape="rect" id="node26" href="platform_8hh.html" title="platform.hh" alt="" coords="666,155,753,181"/><area shape="rect" id="node27" href="iterator_8hh.html" title="iterator.hh" alt="" coords="777,155,855,181"/><area shape="rect" id="node28" href="findtext_8hh.html" title="findtext.hh" alt="" coords="1679,155,1759,181"/><area shape="rect" id="node29" href="selection_8hh.html" title="selection.hh" alt="" coords="1056,155,1147,181"/><area shape="rect" id="node30" href="layout_8hh.html" title="layout.hh" alt="" coords="1171,155,1245,181"/><area shape="rect" id="node31" href="widget_8hh.html" title="widget.hh" alt="" coords="93,155,171,181"/><area shape="rect" id="node33" href="stackingcontextmgr_8hh.html" title="stackingcontextmgr.hh" alt="" coords="880,155,1032,181"/><area shape="rect" id="node34" href="ui_8hh.html" title="ui.hh" alt="" coords="1269,155,1318,181"/><area shape="rect" id="node10" href="misc_8hh.html" title="misc.hh" alt="" coords="201,528,268,555"/><area shape="rect" id="node16" href="debug_8hh.html" title="../lout/debug.hh" alt="" coords="1483,229,1592,256"/><area shape="rect" id="node17" href="debug__rtfl_8hh.html" title="debug_rtfl.hh" alt="" coords="1447,304,1542,331"/><area shape="rect" id="node32" href="identity_8hh.html" title="../lout/identity.hh" alt="" coords="93,229,208,256"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacedw"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw.html">dw</a></td></tr>
<tr class="memdesc:namespacedw"><td class="mdescLeft"> </td><td class="mdescRight">Dw is in this namespace, or sub namespaces of this one. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespacedw_1_1core"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core.html">dw::core</a></td></tr>
<tr class="memdesc:namespacedw_1_1core"><td class="mdescLeft"> </td><td class="mdescRight">The core of Dw is defined in this namespace. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespacedw_1_1core_1_1style"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html">dw::core::style</a></td></tr>
<tr class="memdesc:namespacedw_1_1core_1_1style"><td class="mdescLeft"> </td><td class="mdescRight">Anything related to Dillo Widget styles is defined here. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab961f491ea54d03364861356afa32fb5"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#ab961f491ea54d03364861356afa32fb5">dw::core::style::calcBackgroundRelatedValues</a> (StyleImage *backgroundImage, BackgroundRepeat backgroundRepeat, BackgroundAttachment backgroundAttachment, Length backgroundPositionX, Length backgroundPositionY, int xDraw, int yDraw, int widthDraw, int heightDraw, int xRef, int yRef, int widthRef, int heightRef, bool *repeatX, bool *repeatY, int *origX, int *origY, int *tileX1, int *tileX2, int *tileY1, int *tileY2, bool *doDraw)</td></tr>
<tr class="separator:ab961f491ea54d03364861356afa32fb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4c910a9f90547a6e36ad10c41a02182"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#ab4c910a9f90547a6e36ad10c41a02182">dw::core::style::drawBorderTop</a> (View *view, Style *style, int x1, int y1, int x2, int y2)</td></tr>
<tr class="separator:ab4c910a9f90547a6e36ad10c41a02182"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaac3e9cc27a070f22cad41d940e53602"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#aaac3e9cc27a070f22cad41d940e53602">dw::core::style::drawBorderBottom</a> (View *view, Style *style, int x1, int y1, int x2, int y2)</td></tr>
<tr class="separator:aaac3e9cc27a070f22cad41d940e53602"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac3863cf8504af7730e18afd4eaf03a74"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#ac3863cf8504af7730e18afd4eaf03a74">dw::core::style::drawBorderLeft</a> (View *view, Style *style, int x1, int y1, int x2, int y2)</td></tr>
<tr class="separator:ac3863cf8504af7730e18afd4eaf03a74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a917f30757f4e30664db3d8a1253b3a99"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a917f30757f4e30664db3d8a1253b3a99">dw::core::style::drawBorderRight</a> (View *view, Style *style, int x1, int y1, int x2, int y2)</td></tr>
<tr class="separator:a917f30757f4e30664db3d8a1253b3a99"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e9dc991035c9d72b817ed08116961b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a8e9dc991035c9d72b817ed08116961b5">dw::core::style::drawBorder</a> (View *view, Layout *<a class="el" href="dw__images__simple_8cc.html#aa9b7b9846e3f42cc43273337240c6a8a">layout</a>, Rectangle *area, int x, int y, int width, int height, Style *style, bool inverse)</td></tr>
<tr class="memdesc:a8e9dc991035c9d72b817ed08116961b5"><td class="mdescLeft"> </td><td class="mdescRight">Draw the border of a region in window, according to style. <a href="style_8cc.html#a8e9dc991035c9d72b817ed08116961b5">More...</a><br /></td></tr>
<tr class="separator:a8e9dc991035c9d72b817ed08116961b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19ef9607dc5eb0637008c162e90595b9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a19ef9607dc5eb0637008c162e90595b9">dw::core::style::drawBackground</a> (View *view, Layout *<a class="el" href="dw__images__simple_8cc.html#aa9b7b9846e3f42cc43273337240c6a8a">layout</a>, Rectangle *area, int x, int y, int width, int height, int xRef, int yRef, int widthRef, int heightRef, Style *style, Color *bgColor, bool inverse, bool atTop)</td></tr>
<tr class="memdesc:a19ef9607dc5eb0637008c162e90595b9"><td class="mdescLeft"> </td><td class="mdescRight">Draw the background (content plus padding) of a region in window, according to style. <a href="style_8cc.html#a19ef9607dc5eb0637008c162e90595b9">More...</a><br /></td></tr>
<tr class="separator:a19ef9607dc5eb0637008c162e90595b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24789376198ca9b48d4e3335f5a6d084"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a24789376198ca9b48d4e3335f5a6d084">dw::core::style::drawBackgroundImage</a> (View *view, StyleImage *backgroundImage, BackgroundRepeat backgroundRepeat, BackgroundAttachment backgroundAttachment, Length backgroundPositionX, Length backgroundPositionY, int x, int y, int width, int height, int xRef, int yRef, int widthRef, int heightRef)</td></tr>
<tr class="separator:a24789376198ca9b48d4e3335f5a6d084"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade48a791f609b69907c5302c295e4282"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#ade48a791f609b69907c5302c295e4282">dw::core::style::strAsciiTolower</a> (char *s)</td></tr>
<tr class="separator:ade48a791f609b69907c5302c295e4282"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaaf4fd9f042021f8a060ee9fde32a112"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#aaaf4fd9f042021f8a060ee9fde32a112">dw::core::style::numtostr</a> (int num, char *buf, int buflen, ListStyleType listStyleType)</td></tr>
<tr class="memdesc:aaaf4fd9f042021f8a060ee9fde32a112"><td class="mdescLeft"> </td><td class="mdescRight">Convert a number into a string, in a given list style. <a href="style_8cc.html#aaaf4fd9f042021f8a060ee9fde32a112">More...</a><br /></td></tr>
<tr class="separator:aaaf4fd9f042021f8a060ee9fde32a112"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:adb003b58fcf7ea1d906149b5d1fdb607"><td class="memItemLeft" align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#adb003b58fcf7ea1d906149b5d1fdb607">dw::core::style::drawBackgroundLineByLine</a> = false</td></tr>
<tr class="separator:adb003b58fcf7ea1d906149b5d1fdb607"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad785e2d2391c0fe5aa568d443565e675"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#ad785e2d2391c0fe5aa568d443565e675">dw::core::style::MIN_BG_IMG_W</a> = 10</td></tr>
<tr class="separator:ad785e2d2391c0fe5aa568d443565e675"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ca35f1bd8f10d650fe538e920cee050"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a9ca35f1bd8f10d650fe538e920cee050">dw::core::style::MIN_BG_IMG_H</a> = 10</td></tr>
<tr class="separator:a9ca35f1bd8f10d650fe538e920cee050"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e7b0a62d8d77d8244549caa49514bb3"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a8e7b0a62d8d77d8244549caa49514bb3">dw::core::style::OPT_BG_IMG_W</a> = 50</td></tr>
<tr class="separator:a8e7b0a62d8d77d8244549caa49514bb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07e10a30fb1cd542b75d399b4b33ed50"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a07e10a30fb1cd542b75d399b4b33ed50">dw::core::style::OPT_BG_IMG_H</a> = 50</td></tr>
<tr class="separator:a07e10a30fb1cd542b75d399b4b33ed50"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13381e0b1f96a68be482e6bdbb3202f5"><td class="memItemLeft" align="right" valign="top">static const char *const </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a13381e0b1f96a68be482e6bdbb3202f5">dw::core::style::roman_I0</a> [] = { "","I","II","III","IV","V","VI","VII","VIII","IX" }</td></tr>
<tr class="separator:a13381e0b1f96a68be482e6bdbb3202f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2be4febcf898553c8bcc09b3f1060d33"><td class="memItemLeft" align="right" valign="top">static const char *const *const </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a2be4febcf898553c8bcc09b3f1060d33">dw::core::style::roman_I1</a> [] = { "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC" }</td></tr>
<tr class="separator:a2be4febcf898553c8bcc09b3f1060d33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73d4f87a535b18b58b84b23ea11458b4"><td class="memItemLeft" align="right" valign="top">static const char *const <br class="typebreak" />
*const *const </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a73d4f87a535b18b58b84b23ea11458b4">dw::core::style::roman_I2</a> [] = { "","C","CC","CCC","CD","D","DC","DCC","DCCC","CM" }</td></tr>
<tr class="separator:a73d4f87a535b18b58b84b23ea11458b4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1231d79bebc4d253cfe9d8a6cda388a5"><td class="memItemLeft" align="right" valign="top">static const char *const <br class="typebreak" />
*const *const *const </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedw_1_1core_1_1style.html#a1231d79bebc4d253cfe9d8a6cda388a5">dw::core::style::roman_I3</a> [] = { "","M","MM","MMM","MMMM" }</td></tr>
<tr class="separator:a1231d79bebc4d253cfe9d8a6cda388a5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 28 2016 11:47:42 for Dillo by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|