diff options
Diffstat (limited to 'Doc/doxygen/html/_list_box_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_list_box_8h_source.html | 287 |
1 files changed, 287 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_list_box_8h_source.html b/Doc/doxygen/html/_list_box_8h_source.html new file mode 100644 index 0000000..e4c701e --- /dev/null +++ b/Doc/doxygen/html/_list_box_8h_source.html @@ -0,0 +1,287 @@ +<!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/ListBox.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('_list_box_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">ListBox.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_list_box_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: ListBox.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"> ListBox ActiveWindow 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 ListBox_h</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define ListBox_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="_scroll_window_8h.html">ScrollWindow.h</a>"</span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_list_8h.html">List.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"> 24</span> <span class="keyword">class </span><a class="code" href="class_bitmap.html">Bitmap</a>;</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span><a class="code" href="class_list_box.html">ListBox</a>;</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span><a class="code" href="class_list_box_cell.html">ListBoxCell</a>;</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_list_box_item.html">ListBoxItem</a>;</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span><a class="code" href="class_list_box_column.html">ListBoxColumn</a>;</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="class_list_box.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="class_list_box.html">ListBox</a> : <span class="keyword">public</span> <a class="code" href="class_scroll_window.html">ScrollWindow</a></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547d"> 35</a></span>  <span class="keyword">enum</span> <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547d">SORT</a> { <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da4569fc9fdfd526fb52db780880125478">LIST_SORT_NUMERIC_DESCENDING</a> = -2,</div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547dad777a6744b17f75582407927f96b1fdb"> 36</a></span>  <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547dad777a6744b17f75582407927f96b1fdb">LIST_SORT_ALPHA_DESCENDING</a>,</div> +<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da6f8e60a97102a3b2fc775bb36f74b3a1"> 37</a></span>  <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da6f8e60a97102a3b2fc775bb36f74b3a1">LIST_SORT_NONE</a>,</div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da62804bf68572953dd6dbe639707b5458"> 38</a></span>  <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da62804bf68572953dd6dbe639707b5458">LIST_SORT_ALPHA_ASCENDING</a>,</div> +<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da974ebec16bd5fab1ccdf93ffa3374e72"> 39</a></span>  <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da974ebec16bd5fab1ccdf93ffa3374e72">LIST_SORT_NUMERIC_ASCENDING</a>,</div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547dabb758f823cd20de52c20d047b6ac21ec"> 40</a></span>  <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547dabb758f823cd20de52c20d047b6ac21ec">LIST_SORT_NEVER</a></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  };</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a66710fc126f88303fcbbe6a070f5d434"> 43</a></span>  <span class="keyword">enum</span> <a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153">ALIGN</a> { <a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a66710fc126f88303fcbbe6a070f5d434">LIST_ALIGN_LEFT</a> = DT_LEFT,</div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a74aba540ab975c173789670eb0fef2cd"> 44</a></span>  <a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a74aba540ab975c173789670eb0fef2cd">LIST_ALIGN_CENTER</a> = DT_CENTER,</div> +<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a9b03b98352e65cf9fe86cbcc55f3a3bc"> 45</a></span>  <a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a9b03b98352e65cf9fe86cbcc55f3a3bc">LIST_ALIGN_RIGHT</a> = DT_RIGHT</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"><a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71"> 48</a></span>  <span class="keyword">enum</span> <a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71">STYLE</a> { <a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71adde42bb1540c83f604b752d1fccdd9b6">LIST_ITEM_STYLE_PLAIN</a>,</div> +<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71a44696f64399b7e0058298911324aba69"> 49</a></span>  <a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71a44696f64399b7e0058298911324aba69">LIST_ITEM_STYLE_BOX</a>,</div> +<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71aea00427578a48896023d9e63eb35cf69"> 50</a></span>  <a class="code" href="class_list_box.html#a504425e3063ddc2f79f2873b4b4c3d71aea00427578a48896023d9e63eb35cf69">LIST_ITEM_STYLE_FILLED_BOX</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> </div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="class_list_box.html#a8676b115695a16619314e5641a892661">ListBox</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 aid);</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="class_list_box.html#a8676b115695a16619314e5641a892661">ListBox</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 aid);</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> <a class="code" href="class_list_box.html#a71376a469c4b6a97b100d227fd8704ce">~ListBox</a>();</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_list_box.html#a137f8302f0feb9c1c3e2899632add80d">DrawContent</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>& ctrl_rect);</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_list_box.html#aa5a94bb16004dd1bcbc8ecf963490842">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_list_box.html#a39b9e96d2a9c494d593a1a50ed839467">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_list_box.html#a975b8489f9a2af9f29fe36d724e65a9a">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_list_box.html#a488a4fab6fa0976954aa125c75869979">OnMouseWheel</a>(<span class="keywordtype">int</span> wheel);</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_list_box.html#a7a586e4ae549607fd96f02b69b1530b3">OnClick</a>();</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a2425bf055cfd79b07504941e262d3174">OnKeyDown</a>(<span class="keywordtype">int</span> vk, <span class="keywordtype">int</span> flags);</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// pseudo-events:</span></div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a6b368f51c411a32912bd53d56ed06b0d">OnDragStart</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a758ae20583b8229eaa5c7891d24a2a8f">OnDragDrop</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code" href="class_active_window.html">ActiveWindow</a>* source);</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Property accessors:</span></div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a82676805359882981fa2c5fefb910c92">NumItems</a>();</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a3e2c0adbda6084f89631d5ab3345f862">NumColumns</a>();</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_list_box.html#afd2d77fb25bbc769f4c147215e016cc0">GetItemText</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#ad6220628d9b1f8f4d348922b98d4c58e">SetItemText</a>(<span class="keywordtype">int</span> index, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>);</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  DWORD <a class="code" href="class_list_box.html#a80c13abee3613ec57302ebd6eeceb326">GetItemData</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a5708a39a7f7d4d33b475cb9e9a0bb6ea">SetItemData</a>(<span class="keywordtype">int</span> index, DWORD data);</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_list_box.html#ac1bd276d7c624e285c4a8421276aae39">GetItemImage</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#afa7e76d50a2dfd9eb481c5656b1c832c">SetItemImage</a>(<span class="keywordtype">int</span> index, <a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_list_box.html#acd4440b4aa6b4ff77ba7d83760ec385e">GetItemColor</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a121b72deb38a6875fb282b7f859f993e">SetItemColor</a>(<span class="keywordtype">int</span> index, <a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_list_box.html#afd2d77fb25bbc769f4c147215e016cc0">GetItemText</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column);</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#ad6220628d9b1f8f4d348922b98d4c58e">SetItemText</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>);</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  DWORD <a class="code" href="class_list_box.html#a80c13abee3613ec57302ebd6eeceb326">GetItemData</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column);</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a5708a39a7f7d4d33b475cb9e9a0bb6ea">SetItemData</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column, DWORD data);</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_list_box.html#ac1bd276d7c624e285c4a8421276aae39">GetItemImage</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column);</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#afa7e76d50a2dfd9eb481c5656b1c832c">SetItemImage</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column, <a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a0e567e24077028fe7b27ea3c7b63ddba">AddItem</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>);</div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#adf4416c90b6364d083e4b6a292e8f8be">AddImage</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* img);</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#acbdf07245c9b9eeaf3e757e00a956a8e">AddItemWithData</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>, <span class="keywordtype">int</span> data);</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a044f50d3a8771ffda09b89a8e6c7dea6">InsertItem</a>(<span class="keywordtype">int</span> index, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>);</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a46814f0fba1d7f024e828691d6a1da34">InsertItemWithData</a>(<span class="keywordtype">int</span> index, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>, <span class="keywordtype">int</span> data);</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#adfc94a9d942f8d43269cc8a8bb879d9e">ClearItems</a>();</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a410033a9937e9e5c963e14e2de49b2cb">RemoveItem</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#afc680893dec8e160b4e49389e0fbe7e6">RemoveSelectedItems</a>();</div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a1ca65138c4870b4213705cd932e04b52">AddColumn</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* title,</div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordtype">int</span> width,</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">int</span> align = <a class="code" href="class_list_box.html#a9feeb071047d2199573150efe7096153a66710fc126f88303fcbbe6a070f5d434">ListBox::LIST_ALIGN_LEFT</a>,</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">int</span> sort = <a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547da6f8e60a97102a3b2fc775bb36f74b3a1">ListBox::LIST_SORT_NONE</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"> 107</span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_list_box.html#a60fb04249791155f0414bb3e3b062051">GetColumnTitle</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a4637bc569133d7123df1bac9c223f6eb">SetColumnTitle</a>(<span class="keywordtype">int</span> index, <span class="keyword">const</span> <span class="keywordtype">char</span>* title);</div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a6a14d70fe00b929b9683610898d1a1b9">GetColumnWidth</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#ac824935acac4075e1c79527ac38d0912">SetColumnWidth</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> width);</div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a831c4e4bae2aca8bd40592bc61146886">GetColumnAlign</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a3249b688a68e45fc21009f9306ce0bed">SetColumnAlign</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> align);</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a352c2732de93c951db29e0653268fae2">GetColumnSort</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a9bac1e52c1ac572e0e671e4af9929780">SetColumnSort</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> sort);</div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_list_box.html#aaa69674997f7063492eaec153c852c70">GetColumnColor</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a9fa9da7306f07a4ebfb4935a8f352350">SetColumnColor</a>(<span class="keywordtype">int</span> index, <a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_list_box.html#acd4440b4aa6b4ff77ba7d83760ec385e">GetItemColor</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> column);</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="keywordtype">int</span> <a class="code" href="class_list_box.html#a75dae682c7fb00005bc2229c4feec69f">GetMultiSelect</a>();</div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#aaf901972f0642317473c5aa240950724">SetMultiSelect</a>(<span class="keywordtype">int</span> nNewValue);</div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">bool</span> <a class="code" href="class_list_box.html#aa6d8aff18cf53d909fbd28c2e9ab367b">GetShowHeadings</a>();</div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a2720eee9b4ad1d948d72bc2839572610">SetShowHeadings</a>(<span class="keywordtype">bool</span> nNewValue);</div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_list_box.html#a6dca3fb2fe4ab76a982d929200cd7bd8">GetSelectedColor</a>();</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a5ed2b557ce962107af7dd652652fae04">SetSelectedColor</a>(<a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a7b76af288e1edfd65dfd9b801314ba21">GetItemStyle</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a785d3c623d37eab6e7c61c5f7629d316">SetItemStyle</a>(<span class="keywordtype">int</span> <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>);</div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a9accb4cb1b76454087052ef86e1b0e9a">GetSelectedStyle</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a6291341a94d291a0221b07e51432a80b">SetSelectedStyle</a>(<span class="keywordtype">int</span> <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>);</div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">bool</span> <a class="code" href="class_list_box.html#a5fc7e3d4350835e74c4897e39c2a8f5b">IsSelected</a>(<span class="keywordtype">int</span> index);</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#af8551142841840fd0e801c09768d64ac">SetSelected</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> bNewValue=<span class="keyword">true</span>);</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#ab2e59b255432090cad6d68e772cf1b1c">ClearSelection</a>();</div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a0929a115a44ee68d01f969dce203c974">GetSortColumn</a>();</div> +<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a682b24af00138118056a936a2d861bfa">SetSortColumn</a>(<span class="keywordtype">int</span> col_index);</div> +<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a1b033fd37da2f6ce30b30e77562cc4ee">GetSortCriteria</a>();</div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#a7fd87e23871af475dfb88de27e1ceccd">SetSortCriteria</a>(<a class="code" href="class_list_box.html#a58a81f84911631894d970eb39306547d">SORT</a> sort);</div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#af232e1a7d4073bcaaa9fe8711c033a63">SortItems</a>();</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">void</span> <a class="code" href="class_list_box.html#ad01954e1751ba30286ae0bab2537bd9f">SizeColumns</a>();</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// read-only:</span></div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a6b00238c63def372742886dcbb8482ce">GetListIndex</a>();</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a14c1bb93714c3906c38374272fef97d8">GetLineCount</a>();</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a1554002c3748d45001c3c7175584491e">GetSelCount</a>();</div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a2e58c184bc40db41728f6eda729d8407">GetSelection</a>();</div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">virtual</span> <a class="code" href="class_text.html">Text</a> <a class="code" href="class_list_box.html#a0f65937510229d04000df9d1e0c277ad">GetSelectedItem</a>();</div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a958061b16cbf61000bb85e7cbaf362e9">IndexFromPoint</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// properties:</span></div> +<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_list_box.html#a72370a0e51ce49b55b4a2d3c3b160aba"> 154</a></span>  <a class="code" href="class_list.html">List<ListBoxItem></a> <a class="code" href="class_list_box.html#a72370a0e51ce49b55b4a2d3c3b160aba">items</a>;</div> +<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_list_box.html#a7e72dc27b4467723eee3a8b716ac87e9"> 155</a></span>  <a class="code" href="class_list.html">List<ListBoxColumn></a> <a class="code" href="class_list_box.html#a7e72dc27b4467723eee3a8b716ac87e9">columns</a>;</div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> +<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_list_box.html#a8736edc3f8783059c6d8142efc436753"> 157</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_list_box.html#a8736edc3f8783059c6d8142efc436753">show_headings</a>;</div> +<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_list_box.html#a9069f5bb8636d8ff1b0c9850bb873da7"> 158</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a9069f5bb8636d8ff1b0c9850bb873da7">multiselect</a>;</div> +<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="class_list_box.html#a7a4edd6dc427b61aaad5dd1bf4b89194"> 159</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a7a4edd6dc427b61aaad5dd1bf4b89194">list_index</a>;</div> +<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_list_box.html#a148a63b61b3441acb2bee63bd764112e"> 160</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a148a63b61b3441acb2bee63bd764112e">selcount</a>;</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> +<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_list_box.html#a5f02d399e64a4d3348038e752489b614"> 162</a></span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_list_box.html#a5f02d399e64a4d3348038e752489b614">selected_color</a>;</div> +<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> +<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_list_box.html#ae73efa8ea1e8317b1708d52c3e336b43"> 164</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#ae73efa8ea1e8317b1708d52c3e336b43">sort_column</a>;</div> +<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="class_list_box.html#ab3540081a7693d8bb5615d9ab4aed288"> 165</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#ab3540081a7693d8bb5615d9ab4aed288">item_style</a>;</div> +<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_list_box.html#a3d5e01126f216558cda8a4d33f8e14ff"> 166</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_list_box.html#a3d5e01126f216558cda8a4d33f8e14ff">seln_style</a>;</div> +<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> };</div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div> +<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor">#endif ListBox_h</span></div> +<div class="line"><a name="l00170"></a><span class="lineno"> 170</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="_list_box_8h.html">ListBox.h</a></li> + <li class="footer">Generated on Thu May 31 2012 16:30:55 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> |