File: classHighScoresWidget.html

package info (click to toggle)
witty 3.1.2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,512 kB
  • ctags: 35,832
  • sloc: cpp: 69,469; ansic: 66,945; xml: 4,383; sh: 594; perl: 108; makefile: 106
file content (210 lines) | stat: -rw-r--r-- 22,368 bytes parent folder | download
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt examples: HighScoresWidget Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>HighScoresWidget Class Reference</h1><!-- doxytag: class="HighScoresWidget" --><!-- doxytag: inherits="Wt::WContainerWidget" --><code>#include &lt;<a class="el" href="HighScoresWidget_8h-source.html">HighScoresWidget.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for HighScoresWidget:</div>
<div class="dynsection">
<p><center><img src="classHighScoresWidget__inherit__graph.png" border="0" usemap="#HighScoresWidget__inherit__map" alt="Inheritance graph"></center>
<map name="HighScoresWidget__inherit__map">
<area shape="rect" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html" title="Wt::WContainerWidget" alt="" coords="5,304,157,331"><area shape="rect" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WInteractWidget.html" title="Wt::WInteractWidget" alt="" coords="11,229,152,256"><area shape="rect" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html" title="Wt::WWebWidget" alt="" coords="20,155,143,181"><area shape="rect" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWidget.html" title="Wt::WWidget" alt="" coords="33,80,129,107"><area shape="rect" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WObject.html" title="Wt::WObject" alt="" coords="33,5,129,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classHighScoresWidget-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHighScoresWidget.html#0bd30727b7ef30cd7be7b4aed5afdf0f">HighScoresWidget</a> (const std::wstring &amp;user, <a class="elRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *<a class="elRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWidget.html#3461e31818c4d2f516641bdaf508312a">parent</a>=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHighScoresWidget.html#df6be1ef28924a10fe18f03d66626a53">update</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHighScoresWidget.html#d0e2db11642c5ff7c16070193c6abc60">User</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="HighScoresWidget_8h-source.html#l00011">11</a> of file <a class="el" href="HighScoresWidget_8h-source.html">HighScoresWidget.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="0bd30727b7ef30cd7be7b4aed5afdf0f"></a><!-- doxytag: member="HighScoresWidget::HighScoresWidget" ref="0bd30727b7ef30cd7be7b4aed5afdf0f" args="(const std::wstring &amp;user, WContainerWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HighScoresWidget::HighScoresWidget           </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&nbsp;</td>
          <td class="paramname"> <em>user</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HighScoresWidget_8C-source.html#l00021">21</a> of file <a class="el" href="HighScoresWidget_8C-source.html">HighScoresWidget.C</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00022"></a>00022                                                             :
<a name="l00023"></a>00023    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html#520ba6e52a36a7f2efbef1a31a69e898">WContainerWidget</a>(parent),
<a name="l00024"></a>00024    <a class="code" href="classHighScoresWidget.html#d0e2db11642c5ff7c16070193c6abc60">User</a>(user)
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html#ba13c9e62c74bcba53519ee9cf41f40a">setContentAlignment</a>(AlignCenter);
<a name="l00027"></a>00027    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#6fd43dced1a62f7e79bc3522eeb16216">setStyleClass</a>(<span class="stringliteral">"highscores"</span>);
<a name="l00028"></a>00028 }

</pre></div>
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="df6be1ef28924a10fe18f03d66626a53"></a><!-- doxytag: member="HighScoresWidget::update" ref="df6be1ef28924a10fe18f03d66626a53" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HighScoresWidget::update           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HighScoresWidget_8C-source.html#l00030">30</a> of file <a class="el" href="HighScoresWidget_8C-source.html">HighScoresWidget.C</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00031"></a>00031 {
<a name="l00032"></a>00032    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html#608f748cbdda763f1a11556ddad9fbe1">clear</a>();
<a name="l00033"></a>00033 
<a name="l00034"></a>00034    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a> *title = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"Hall of fame"</span>, <span class="keyword">this</span>);
<a name="l00035"></a>00035    title-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#ee0157eb927635094425c6f91cc7bd16">decorationStyle</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WCssDecorationStyle.html#5e552350f0955212ea237994a98638dc">font</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WFont.html#d449c8c5c3b78e66d51fe6db0c0b9d58">setSize</a>(WFont::XLarge);
<a name="l00036"></a>00036    title-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#07719d06da0dd17af2381c663e8fb0b7">setMargin</a>(10, Top | Bottom);
<a name="l00037"></a>00037 
<a name="l00038"></a>00038    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WBreak.html">WBreak</a>(<span class="keyword">this</span>);
<a name="l00039"></a>00039 
<a name="l00040"></a>00040    <a class="code" href="structHangmanDb_1_1Score.html">HangmanDb::Score</a> s = <a class="code" href="classHangmanDb.html#3b623adea086ec71342220dd4f2359f7">HangmanDb::getUserPosition</a>(<a class="code" href="classHighScoresWidget.html#d0e2db11642c5ff7c16070193c6abc60">User</a>);
<a name="l00041"></a>00041 
<a name="l00042"></a>00042    std::string yourScore;
<a name="l00043"></a>00043    <span class="keywordflow">if</span> (s.<a class="code" href="structHangmanDb_1_1Score.html#13f13771f8ae33f3373d0659ddadc5e2">number</a> == 1)
<a name="l00044"></a>00044      yourScore = <span class="stringliteral">"Congratulations! You are currently leading the pack."</span>;
<a name="l00045"></a>00045    <span class="keywordflow">else</span> {
<a name="l00046"></a>00046      yourScore = <span class="stringliteral">"You are currently ranked number "</span>
<a name="l00047"></a>00047        + boost::lexical_cast&lt;std::string&gt;(s.<a class="code" href="structHangmanDb_1_1Score.html#13f13771f8ae33f3373d0659ddadc5e2">number</a>)
<a name="l00048"></a>00048        + <span class="stringliteral">". Almost there !"</span>;
<a name="l00049"></a>00049    }
<a name="l00050"></a>00050 
<a name="l00051"></a>00051    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a> *score = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"&lt;p&gt;"</span> + yourScore + <span class="stringliteral">"&lt;/p&gt;"</span>, <span class="keyword">this</span>);
<a name="l00052"></a>00052    score-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#ee0157eb927635094425c6f91cc7bd16">decorationStyle</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WCssDecorationStyle.html#5e552350f0955212ea237994a98638dc">font</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WFont.html#d449c8c5c3b78e66d51fe6db0c0b9d58">setSize</a>(WFont::Large);
<a name="l00053"></a>00053 
<a name="l00054"></a>00054    std::vector&lt;HangmanDb::Score&gt; top = <a class="code" href="classHangmanDb.html#76b21f25db8d1939fcc57d9eb2e6d5c0">HangmanDb::getHighScores</a>(20);
<a name="l00055"></a>00055 
<a name="l00056"></a>00056    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html">WTable</a> *table = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html">WTable</a>(<span class="keyword">this</span>);
<a name="l00057"></a>00057    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"Rank"</span>, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 0));
<a name="l00058"></a>00058    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"User"</span>, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 1));
<a name="l00059"></a>00059    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"Games"</span>, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 2));
<a name="l00060"></a>00060    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"Score"</span>, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 3));
<a name="l00061"></a>00061    <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"Last game"</span>, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 4));
<a name="l00062"></a>00062    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; top.size(); ++i) {
<a name="l00063"></a>00063       <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(boost::lexical_cast&lt;string&gt;(top[i].number),
<a name="l00064"></a>00064                 table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(i + 1, 0));
<a name="l00065"></a>00065       <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(top[i].user, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(i + 1, 1));
<a name="l00066"></a>00066       <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(boost::lexical_cast&lt;std::string&gt;(top[i].numgames),
<a name="l00067"></a>00067                 table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(i+ 1, 2));
<a name="l00068"></a>00068       <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(boost::lexical_cast&lt;std::string&gt;(top[i].score),
<a name="l00069"></a>00069                 table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(i + 1, 3));
<a name="l00070"></a>00070       <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(top[i].lastseen, table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(i + 1, 4));
<a name="l00071"></a>00071    }
<a name="l00072"></a>00072 
<a name="l00073"></a>00073    table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#e1b84e31581405358b6d57ec14505234">resize</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WLength.html">WLength</a>(60, WLength::FontEx), WLength::Auto);
<a name="l00074"></a>00074    table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#07719d06da0dd17af2381c663e8fb0b7">setMargin</a>(20, Top | Bottom);
<a name="l00075"></a>00075    table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#ee0157eb927635094425c6f91cc7bd16">decorationStyle</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WCssDecorationStyle.html#2902bf35e3eb676bb34d1a6b4ea2b42a">setBorder</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WBorder.html">WBorder</a>(WBorder::Solid));
<a name="l00076"></a>00076 
<a name="l00077"></a>00077    <span class="comment">/*</span>
<a name="l00078"></a>00078 <span class="comment">    * Apply cell styles</span>
<a name="l00079"></a>00079 <span class="comment">    */</span>
<a name="l00080"></a>00080    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> row = 0; row &lt; table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#79d5dfe40ee5e67c5007ee370e8cd2f3">rowCount</a>(); ++row) {
<a name="l00081"></a>00081      <span class="keywordflow">for</span> (<span class="keywordtype">int</span> col = 0; col &lt; table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#4d062330d1c9b3f202985b92dcb59d4f">columnCount</a>(); ++col) {
<a name="l00082"></a>00082        <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTableCell.html">WTableCell</a> *cell = table-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WTable.html#c4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(row, col);
<a name="l00083"></a>00083        cell-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WContainerWidget.html#ba13c9e62c74bcba53519ee9cf41f40a">setContentAlignment</a>(AlignMiddle | AlignCenter);
<a name="l00084"></a>00084 
<a name="l00085"></a>00085        <span class="keywordflow">if</span> (row == 0)
<a name="l00086"></a>00086          cell-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#6fd43dced1a62f7e79bc3522eeb16216">setStyleClass</a>(<span class="stringliteral">"highscoresheader"</span>);
<a name="l00087"></a>00087 
<a name="l00088"></a>00088        <span class="keywordflow">if</span> (row == s.<a class="code" href="structHangmanDb_1_1Score.html#13f13771f8ae33f3373d0659ddadc5e2">number</a>)
<a name="l00089"></a>00089          cell-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#6fd43dced1a62f7e79bc3522eeb16216">setStyleClass</a>(<span class="stringliteral">"highscoresself"</span>);
<a name="l00090"></a>00090      }
<a name="l00091"></a>00091    }
<a name="l00092"></a>00092 
<a name="l00093"></a>00093    <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a> *fineprint
<a name="l00094"></a>00094      = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WText.html">WText</a>(<span class="stringliteral">"&lt;p&gt;For each game won, you gain 20 points, "</span>
<a name="l00095"></a>00095                  <span class="stringliteral">"minus one point for each wrong letter guess.&lt;br /&gt;"</span>
<a name="l00096"></a>00096                  <span class="stringliteral">"For each game lost, you loose 10 points, so you "</span>
<a name="l00097"></a>00097                  <span class="stringliteral">"better try hard to guess the word!&lt;/p&gt;"</span>, <span class="keyword">this</span>);
<a name="l00098"></a>00098    fineprint-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WWebWidget.html#ee0157eb927635094425c6f91cc7bd16">decorationStyle</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WCssDecorationStyle.html#5e552350f0955212ea237994a98638dc">font</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WFont.html#d449c8c5c3b78e66d51fe6db0c0b9d58">setSize</a>(WFont::Smaller);
<a name="l00099"></a>00099 }
</pre></div>
<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="d0e2db11642c5ff7c16070193c6abc60"></a><!-- doxytag: member="HighScoresWidget::User" ref="d0e2db11642c5ff7c16070193c6abc60" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::wstring <a class="el" href="classHighScoresWidget.html#d0e2db11642c5ff7c16070193c6abc60">HighScoresWidget::User</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HighScoresWidget_8h-source.html#l00019">19</a> of file <a class="el" href="HighScoresWidget_8h-source.html">HighScoresWidget.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/home/koen/project/wt/public-git/wt/examples/hangman/<a class="el" href="HighScoresWidget_8h-source.html">HighScoresWidget.h</a><li>/home/koen/project/wt/public-git/wt/examples/hangman/<a class="el" href="HighScoresWidget_8C-source.html">HighScoresWidget.C</a></ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:12 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>