diff options
Diffstat (limited to 'Doc/doxygen/html/_button_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_button_8h_source.html | 238 |
1 files changed, 238 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_button_8h_source.html b/Doc/doxygen/html/_button_8h_source.html new file mode 100644 index 0000000..f935819 --- /dev/null +++ b/Doc/doxygen/html/_button_8h_source.html @@ -0,0 +1,238 @@ +<!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"/> +<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Button.h Source File</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</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> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </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><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_button_8h.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="headertitle"> +<div class="title">Button.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_button_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Project nGenEx</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Destroyer Studios LLC</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> SUBSYSTEM: nGenEx.lib</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> FILE: Button.h</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> AUTHOR: John DiCamillo</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> OVERVIEW</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> ========</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> Button class</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*/</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef Button_h</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define Button_h</span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_types_8h.html">Types.h</a>"</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="_active_window_8h.html">ActiveWindow.h</a>"</span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_bitmap_8h.html">Bitmap.h</a>"</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="class_button.html"> 24</a></span> <span class="keyword">class </span><a class="code" href="class_button.html">Button</a> : <span class="keyword">public</span> <a class="code" href="class_active_window.html">ActiveWindow</a></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8"> 27</a></span>  <span class="keyword">enum</span> <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8">SOUNDS</a> {</div> +<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a3b49729b2bcbac8bbe213248bc596533"> 28</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a3b49729b2bcbac8bbe213248bc596533">SND_BUTTON</a>,</div> +<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a25421c5d73842771e63d3d891788b9b6"> 29</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a25421c5d73842771e63d3d891788b9b6">SND_CLICK</a>,</div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ab0c8964e8fbaacb62187299d3acecb6b"> 30</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ab0c8964e8fbaacb62187299d3acecb6b">SND_SWISH</a>,</div> +<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ab44c61de3ca925e312574ea2cf960ce4"> 31</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ab44c61de3ca925e312574ea2cf960ce4">SND_CHIRP</a>,</div> +<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a3dc64a83b7a4d65df35bf07104161aea"> 32</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a3dc64a83b7a4d65df35bf07104161aea">SND_ACCEPT</a>,</div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8aa445cfeeb6181090e11c928557094d5b"> 33</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8aa445cfeeb6181090e11c928557094d5b">SND_REJECT</a>,</div> +<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4fc7180e7ec59365712c6db5d46d63ec"> 34</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4fc7180e7ec59365712c6db5d46d63ec">SND_CONFIRM</a>,</div> +<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a568671234583ef1e9d07dae4876dbcec"> 35</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a568671234583ef1e9d07dae4876dbcec">SND_LIST_SELECT</a>,</div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ad811d9efed39bb24447b4ed2ec2ab8ca"> 36</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ad811d9efed39bb24447b4ed2ec2ab8ca">SND_LIST_SCROLL</a>,</div> +<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a872fb3505e0e69f1b44c1c712c83a0b5"> 37</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a872fb3505e0e69f1b44c1c712c83a0b5">SND_LIST_DROP</a>,</div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a0db90abbbd29e2c3391f3423fe7941f8"> 38</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a0db90abbbd29e2c3391f3423fe7941f8">SND_COMBO_OPEN</a>,</div> +<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a6a46ba499cc0ea9e5f9e0bdaf8ffb174"> 39</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a6a46ba499cc0ea9e5f9e0bdaf8ffb174">SND_COMBO_CLOSE</a>,</div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a85ea11354f584d95732854407b896567"> 40</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a85ea11354f584d95732854407b896567">SND_COMBO_HILITE</a>,</div> +<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4b01d0b7a59fa46bcf897b5024588735"> 41</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4b01d0b7a59fa46bcf897b5024588735">SND_COMBO_SELECT</a>,</div> +<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8aba4400bb3aa09f9c9659f445915f085f"> 42</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8aba4400bb3aa09f9c9659f445915f085f">SND_MENU_OPEN</a>,</div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a0bde65b21fb79f762fc3c8bf36826552"> 43</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a0bde65b21fb79f762fc3c8bf36826552">SND_MENU_CLOSE</a>,</div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4b1aba620982521071abbffcbb341aec"> 44</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8a4b1aba620982521071abbffcbb341aec">SND_MENU_SELECT</a>,</div> +<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ace3a1c09a0a038e65d6b6738de83b0d0"> 45</a></span>  <a class="code" href="class_button.html#a1d411105a1bda290cefbbb065bb685c8ace3a1c09a0a038e65d6b6738de83b0d0">SND_MENU_HILITE</a></div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  };</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="class_button.html#a2764a504b6ecd01e93198098dda9fddf">Button</a>(<a class="code" href="class_screen.html">Screen</a>* s, <span class="keywordtype">int</span> ax, <span class="keywordtype">int</span> ay, <span class="keywordtype">int</span> aw, <span class="keywordtype">int</span> ah, DWORD <span class="keywordtype">id</span>=0);</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="class_button.html#a2764a504b6ecd01e93198098dda9fddf">Button</a>(<a class="code" href="class_active_window.html">ActiveWindow</a>* p, <span class="keywordtype">int</span> ax, <span class="keywordtype">int</span> ay, <span class="keywordtype">int</span> aw, <span class="keywordtype">int</span> ah, DWORD <span class="keywordtype">id</span>=0);</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">virtual</span> <a class="code" href="class_button.html#a2a001eb9c3cc8ae54768a850dd345002">~Button</a>();</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_button.html#a1f2f7ba80a6b43c5ce5d75a6d1136114">Initialize</a>();</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_button.html#a8995866c4a48b955eae3515408da4f81">Close</a>();</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_button.html#ae6e3175ed99c0da153a29a7d6fc244e0">PlaySound</a>(<span class="keywordtype">int</span> n=0);</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_button.html#a61c97cc2ad3bbc3491cc69bf8454ed52">SetVolume</a>(<span class="keywordtype">int</span> vol);</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// Operations:</span></div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_button.html#a6aaa2b781c933a296f41a8eca890eb1f">Draw</a>(); <span class="comment">// refresh backing store</span></div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Event Target Interface:</span></div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#a733cb83192003c9fe1d2a724fbf8949f">OnMouseMove</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#a85e9112f48ce9e36b52818d9e242c129">OnLButtonDown</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#a95fcfb177a671c52f1d3d75e656ea114">OnLButtonUp</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#aaed03db8d96474f9a27a130b799e8f2a">OnClick</a>();</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#a13bc79dd425aea58aa95ba3d72e9d272">OnMouseEnter</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_button.html#ad3e83c46d6191ddc2ca6a5545f7be101">OnMouseExit</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// Property accessors:</span></div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_button.html#a871e88b271904e698a8bba0dabc4539f">GetActiveColor</a>();</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a66be2e0536bbb4207e689b57a7459e28">SetActiveColor</a>(<a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#a2a1bddddc4ba887194ca0f18aee3dc37">GetAnimated</a>();</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a21d222dbc54a6d630dcd1899ab387668">SetAnimated</a>(<span class="keywordtype">bool</span> bNewValue);</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#a86fbcd32781d4fd451472dc4974c8dab">GetBevelWidth</a>();</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a0a4928e308a90297499fc88afd06610b">SetBevelWidth</a>(<span class="keywordtype">short</span> nNewValue);</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#a3d30f761ea87e1d443ca85066a395c20">GetBorder</a>();</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#abe1d960d7700689b982c4cc5ed17db82">SetBorder</a>(<span class="keywordtype">bool</span> bNewValue);</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_button.html#aa55d317fa89feccd3d47288f40727258">GetBorderColor</a>();</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#ab623a8bd06c769fe7762a1819905083a">SetBorderColor</a>(<a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#a382e6085b3e6b8f8d788445942a54b47">GetButtonState</a>();</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a3c5455899c7f462d6494708490bcd6a7">SetButtonState</a>(<span class="keywordtype">short</span> nNewValue);</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#abf2485f6045ac3a119847f8799a57a05">GetDropShadow</a>();</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#ab50aad62c31b8b90e4f2421a86f6e764">SetDropShadow</a>(<span class="keywordtype">bool</span> bNewValue);</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a1f7ea4336aeccd99349cb6ebcde903f6">GetPicture</a>(<a class="code" href="class_bitmap.html">Bitmap</a>& img);</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a55aa09f45d7fb7deca0353bb35c6eac4">SetPicture</a>(<span class="keyword">const</span> <a class="code" href="class_bitmap.html">Bitmap</a>& img);</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#a0c38c78f326fac356fb09a865ec42737">GetPictureLocation</a>();</div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a9301feef2bd6a717baef56489a908a31">SetPictureLocation</a>(<span class="keywordtype">short</span> nNewValue);</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#af008d8da68c5f200d82dc9a8f9b9b46b">GetSticky</a>();</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a2810e5acd8f41e4bd44c8f2edf79aab5">SetSticky</a>(<span class="keywordtype">bool</span> bNewValue);</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#acccaeae55d604ef19110e5893961c3f2">SetStandardImage</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#aa4c43324ce21cb1b07c1b008f3ff5fbd">SetActivatedImage</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#a8147fe003f54f9001af1420c4e8b79b1">SetTransitionImage</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="struct_rect.html">Rect</a> <a class="code" href="class_button.html#a6ace5d09be22c3eaea52b6d454d1c3a6">CalcLabelRect</a>(<span class="keywordtype">int</span> img_w, <span class="keywordtype">int</span> img_h);</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="struct_rect.html">Rect</a> <a class="code" href="class_button.html#ae81ee8e5a0c57c8c023ea8fe026591cc">CalcPictureRect</a>();</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">void</span> <a class="code" href="class_button.html#aa56093e371f197857ebc74fccc8fb115">DrawImage</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* bmp, <span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>& irect);</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> +<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_button.html#a9e2ba99587cbc752098e7a551a751cb9"> 99</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#a9e2ba99587cbc752098e7a551a751cb9">animated</a>;</div> +<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_button.html#aa0247999c879a95610735089566ac403"> 100</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#aa0247999c879a95610735089566ac403">drop_shadow</a>;</div> +<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_button.html#aa97d5d84f884bbee8cb0ad6b9364250a"> 101</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#aa97d5d84f884bbee8cb0ad6b9364250a">sticky</a>;</div> +<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_button.html#a8b72682ece76d08a74f2ad01a9fb6bfe"> 102</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_button.html#a8b72682ece76d08a74f2ad01a9fb6bfe">border</a>;</div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div> +<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_button.html#aa44af71c4aef6fa4dc221f70e6b3f328"> 104</a></span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_button.html#aa44af71c4aef6fa4dc221f70e6b3f328">active_color</a>;</div> +<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_button.html#a5c4ed5f5fd5e90032e7d907df989fe3e"> 105</a></span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_button.html#a5c4ed5f5fd5e90032e7d907df989fe3e">border_color</a>;</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> +<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_button.html#a3aa55b027f23b79fd41730cda2d21f0d"> 107</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_button.html#a3aa55b027f23b79fd41730cda2d21f0d">captured</a>;</div> +<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_button.html#a819be9b6d7e474712a51c55d335d5213"> 108</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_button.html#a819be9b6d7e474712a51c55d335d5213">pre_state</a>;</div> +<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_button.html#a9fd0ed88b57f6a8e5319e8c980c80b2e"> 109</a></span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#a9fd0ed88b57f6a8e5319e8c980c80b2e">bevel_width</a>;</div> +<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_button.html#ae940b50502a981fd396b75ad6ef2934b"> 110</a></span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#ae940b50502a981fd396b75ad6ef2934b">button_state</a>;</div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> +<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_button.html#af982d7cce1d76fe5c7282e2e50f610f4"> 112</a></span>  <span class="keywordtype">short</span> <a class="code" href="class_button.html#af982d7cce1d76fe5c7282e2e50f610f4">picture_loc</a>;</div> +<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_button.html#a56a448ca2571d0ba8ddb31ead2f79508"> 113</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a> <a class="code" href="class_button.html#a56a448ca2571d0ba8ddb31ead2f79508">picture</a>;</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div> +<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_button.html#a1b7a883e86e297710a63d108ddeae282"> 115</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_button.html#a1b7a883e86e297710a63d108ddeae282">standard_image</a>; <span class="comment">// state = 0</span></div> +<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="class_button.html#a78ab412a06723a5f41a40fdc194d4bd7"> 116</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_button.html#a78ab412a06723a5f41a40fdc194d4bd7">activated_image</a>; <span class="comment">// state = 1 (if sticky)</span></div> +<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_button.html#a68a701dedef6b07b0326b75bb3ee44c0"> 117</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_button.html#a68a701dedef6b07b0326b75bb3ee44c0">transition_image</a>; <span class="comment">// state = 2 (if sticky)</span></div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> };</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#endif Button_h</span></div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_button_8h.html">Button.h</a></li> + <li class="footer">Generated on Tue Jun 5 2012 20:46:20 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |