summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_scroll_window_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_scroll_window_8h_source.html')
-rw-r--r--Doc/doxygen/html/_scroll_window_8h_source.html249
1 files changed, 249 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_scroll_window_8h_source.html b/Doc/doxygen/html/_scroll_window_8h_source.html
new file mode 100644
index 0000000..c703e06
--- /dev/null
+++ b/Doc/doxygen/html/_scroll_window_8h_source.html
@@ -0,0 +1,249 @@
+<!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/ScrollWindow.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&#160;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&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;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('_scroll_window_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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</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">ScrollWindow.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_scroll_window_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>&#160;<span class="comment">/* Project nGenEx</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Destroyer Studios LLC</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> SUBSYSTEM: nGenEx.lib</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> FILE: ScrollWindow.h</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> AUTHOR: John DiCamillo</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> OVERVIEW</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ========</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> ScrollWindow base class for List, Edit, and Rich Text controls</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef ScrollWindow_h</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ScrollWindow_h</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_active_window_8h.html">ActiveWindow.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_list_8h.html">List.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="class_scroll_window.html"> 24</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_scroll_window.html">ScrollWindow</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>&#160;{</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0a1d162e3ab4bad3afe538c04d3e2f34bd"> 27</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0">POLICY</a> { <a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0a1d162e3ab4bad3afe538c04d3e2f34bd">SCROLL_NEVER</a>,</div>
+<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0af2044796bb4e60beda7d22612079f4a3"> 28</a></span>&#160; <a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0af2044796bb4e60beda7d22612079f4a3">SCROLL_AUTO</a>,</div>
+<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0a5738260bb5f7dfc33e32f710d673d662"> 29</a></span>&#160; <a class="code" href="class_scroll_window.html#ac2df43c1a6b4b47e205ef048826c39e0a5738260bb5f7dfc33e32f710d673d662">SCROLL_ALWAYS</a></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; };</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
+<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa0bf45c7531bb83626d2804afc7ccab4b"> 32</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebf">SCROLL</a> { <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa0bf45c7531bb83626d2804afc7ccab4b">SCROLL_NONE</a>,</div>
+<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa4794d2eab4035af4ad99a9ce92018ce8"> 33</a></span>&#160; <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa4794d2eab4035af4ad99a9ce92018ce8">SCROLL_UP</a>,</div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfaa97ec663a07d94fdcfefb44325bd5e12"> 34</a></span>&#160; <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfaa97ec663a07d94fdcfefb44325bd5e12">SCROLL_PAGE_UP</a>,</div>
+<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa9fbfd8f84c2e183dd03633fef5f9a005"> 35</a></span>&#160; <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa9fbfd8f84c2e183dd03633fef5f9a005">SCROLL_DOWN</a>,</div>
+<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa9b851c17f1eced1b74eaba33c7f59fbb"> 36</a></span>&#160; <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfa9b851c17f1eced1b74eaba33c7f59fbb">SCROLL_PAGE_DOWN</a>,</div>
+<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfaaa7110feeb46bd6897dc83166b8e68f3"> 37</a></span>&#160; <a class="code" href="class_scroll_window.html#a320558ae8d0c6d1dcfd9dcc3ec952ebfaaa7110feeb46bd6897dc83166b8e68f3">SCROLL_THUMB</a></div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; };</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506"> 40</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506">MISC</a> { <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a3c14d58f16aea3d35ba8dfbbb8881dd0">BORDER_WIDTH</a> = 2,</div>
+<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a54de1f1e1bc79ee465ef6a6554e5b6b4"> 41</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a54de1f1e1bc79ee465ef6a6554e5b6b4">EXTRA_WIDTH</a> = 4,</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506ac86ef5d0143438b8feca37bfe3279d9f"> 42</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506ac86ef5d0143438b8feca37bfe3279d9f">SCROLL_WIDTH</a> = 16,</div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a2241b946e295860a0bd0c8d540cddd7f"> 43</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a2241b946e295860a0bd0c8d540cddd7f">SCROLL_HEIGHT</a> = 6,</div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506aa45582d6deac300d384225c976c74955"> 44</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506aa45582d6deac300d384225c976c74955">SCROLL_TRACK</a> = <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506ac86ef5d0143438b8feca37bfe3279d9f">SCROLL_WIDTH</a> + 1,</div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a3a1b2256c895b66e2ccdb649d13d38ea"> 45</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a3a1b2256c895b66e2ccdb649d13d38ea">TRACK_START</a> = <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a3c14d58f16aea3d35ba8dfbbb8881dd0">BORDER_WIDTH</a> + <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a2241b946e295860a0bd0c8d540cddd7f">SCROLL_HEIGHT</a>,</div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506aeb1ffde17bb9be7f1e4d8d2c6cd7d15f"> 46</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506aeb1ffde17bb9be7f1e4d8d2c6cd7d15f">THUMB_HEIGHT</a> = <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506ac86ef5d0143438b8feca37bfe3279d9f">SCROLL_WIDTH</a>,</div>
+<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a7f1b950218159bf62cd240122b995c24"> 47</a></span>&#160; <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a7f1b950218159bf62cd240122b995c24">HEADING_EXTRA</a> = <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a3c14d58f16aea3d35ba8dfbbb8881dd0">BORDER_WIDTH</a> + <a class="code" href="class_scroll_window.html#ab54a094eef68df92c5b2383715783506a54de1f1e1bc79ee465ef6a6554e5b6b4">EXTRA_WIDTH</a></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; };</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="class_scroll_window.html#a1694518476330d8d7f26ca3edb4da86e">ScrollWindow</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, DWORD <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>=0, <a class="code" href="class_active_window.html">ActiveWindow</a>* <a class="code" href="class_active_window.html#a3422318f38a7866e207f72abbce9dcc2">parent</a>=0);</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="class_scroll_window.html#a1694518476330d8d7f26ca3edb4da86e">ScrollWindow</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, DWORD <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>=0, <a class="code" href="class_active_window.html">ActiveWindow</a>* <a class="code" href="class_active_window.html#a3422318f38a7866e207f72abbce9dcc2">parent</a>=0);</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_scroll_window.html#a7b71b37d0306395bdf68ebf28c83f4dc">~ScrollWindow</a>();</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// Operations:</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a129d0c2193f84c3a1cc7776442ad911b">Paint</a>();</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a6dbeca910678798b816395f81810e676">Draw</a>();</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#ab2d5df685bc5f1bea85d9c0aedeefb41">DrawTransparent</a>();</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a638d554570a8f287720fee4df3db7546">DrawContent</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; ctrl_rect);</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a1a9934fa0bc48b86ba8fd32c273ae97f">DrawTransparentContent</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; ctrl_rect);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#ad031e344780aea5e404e73ca70741eca">DrawScrollBar</a>();</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#aceda41788d819f7915624b1a93b0b9e1">MoveTo</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; r);</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">// Event Target Interface:</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#acb2237362887ebb2fa5658681b16fd35">OnMouseMove</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a160eb0f6f4c94ff16bec5e29f78c6909">OnLButtonDown</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>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a2b5f52fc1f433820fccbd654d324b82a">OnLButtonUp</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>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#aa12cd22457a4d451044236c88b2a8562">OnMouseWheel</a>(<span class="keywordtype">int</span> wheel);</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a5838e8c6a9ae499a2394930006024cb0">OnClick</a>();</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ac10e74315f031c276f03147377bd958f">OnKeyDown</a>(<span class="keywordtype">int</span> vk, <span class="keywordtype">int</span> flags);</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="comment">// pseudo-events:</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a9f65392ef23e187c1ac83aff6546487b">OnDragStart</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ab41eccb8bfd54b3cdfcb9610b61d27a1">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="l00075"></a><span class="lineno"> 75</span>&#160;</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">// Property accessors:</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ad67465f4ba1c55b04fe4a6095c3ef423">GetLineHeight</a>();</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a159569c3ebe556818c1980cf15ba0f1d">SetLineHeight</a>(<span class="keywordtype">int</span> h);</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a23a4225ebca2edc7c617e22cd4f15f7c">GetLeading</a>();</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#ac49c325c8240810bc11ce3e0661bd03c">SetLeading</a>(<span class="keywordtype">int</span> nNewValue);</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#aa748a20f2b469ae5402f7784d3961f09">GetScrollBarVisible</a>();</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a2ea8deccc901f8e8efd67971325af5cd">SetScrollBarVisible</a>(<span class="keywordtype">int</span> nNewValue);</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#afc108677282a7d17903fc3e1c6acb764">GetDragDrop</a>();</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a70b40d78788798d5f986943d263fcf3f">SetDragDrop</a>(<span class="keywordtype">int</span> nNewValue);</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_scroll_window.html#aded5e4a8b292987097c716490563458b">GetSmoothScroll</a>();</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#aa349431df967bf485a1cfa8298cc207f">SetSmoothScroll</a>(<span class="keywordtype">bool</span> s);</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_scroll_window.html#a94e247e36a790e31e0554be3a1985c16">IsScrollVisible</a>();</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_scroll_window.html#a79f16297fea36643e465069278bed93b">CanScroll</a>(<span class="keywordtype">int</span> direction, <span class="keywordtype">int</span> nlines=1);</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#aad4e4c92070b45b4e47c48224d87ca0f">EnsureVisible</a>(<span class="keywordtype">int</span> index);</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#aec5d6744275d8ac310a0aaf9a74dfa80">Scroll</a>(<span class="keywordtype">int</span> direction, <span class="keywordtype">int</span> nlines=1);</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#a1ba445ff3bed5c10a5f2b00e8e247e1c">SmoothScroll</a>(<span class="keywordtype">int</span> direction, <span class="keywordtype">double</span> nlines);</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_scroll_window.html#adac93df98bc72d755fea3bbd487e2394">ScrollTo</a>(<span class="keywordtype">int</span> index);</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// read-only:</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ae92e4b3235c3908b63dc9a3043e22294">GetTopIndex</a>();</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#abd4983b083ff1dbfeca7ecf5eb0315c8">GetLineCount</a>();</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ad139b89d10e9f13e6223bef71bb4f70f">GetPageCount</a>();</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ae8f62ca02866c3a0b470dbb2587a5a0d">GetPageSize</a>();</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ae8b2f11a8fc141a3df44979f68926220">GetScrollTrack</a>();</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
+<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a47d45d2d45369080f2e8b6bc64ab5012"> 103</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a47d45d2d45369080f2e8b6bc64ab5012">IsDragging</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_scroll_window.html#ae8139ba36333dcd2b9899fd441684dde">dragging</a>; }</div>
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a9789466b17ab74e76de168d1a5ce6f9c"> 104</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a9789466b17ab74e76de168d1a5ce6f9c">IsSelecting</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_scroll_window.html#aff1652e81e439ed9d6a1982f6d49782e">selecting</a>; }</div>
+<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ad9c71cd3f1f764e3e864315cca2fe641"> 105</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ad9c71cd3f1f764e3e864315cca2fe641">IsScrolling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_scroll_window.html#ab6773b148dcdea75747c4ed4225b0f99">scrolling</a>; }</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_scroll_window.html#acaba05f831f4f63e542fbed32c17a7d4"> 108</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#acaba05f831f4f63e542fbed32c17a7d4">captured</a>;</div>
+<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ae8139ba36333dcd2b9899fd441684dde"> 109</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ae8139ba36333dcd2b9899fd441684dde">dragging</a>;</div>
+<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_scroll_window.html#aff1652e81e439ed9d6a1982f6d49782e"> 110</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#aff1652e81e439ed9d6a1982f6d49782e">selecting</a>;</div>
+<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ab6773b148dcdea75747c4ed4225b0f99"> 111</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ab6773b148dcdea75747c4ed4225b0f99">scrolling</a>;</div>
+<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a078dc2c9e98c06091164be62f82f1236"> 112</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a078dc2c9e98c06091164be62f82f1236">scroll_count</a>;</div>
+<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a2a60db1c5499e3ad88c2faf6515f5e78"> 113</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a2a60db1c5499e3ad88c2faf6515f5e78">mouse_x</a>;</div>
+<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a3a9587be2fd17645089ad684fedf9a7e"> 114</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a3a9587be2fd17645089ad684fedf9a7e">mouse_y</a>;</div>
+<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ad16057ed57fe201723deffec40412615"> 115</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ad16057ed57fe201723deffec40412615">track_length</a>;</div>
+<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ac9b5a344713aefa59add6184023081f1"> 116</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ac9b5a344713aefa59add6184023081f1">thumb_pos</a>;</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
+<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_scroll_window.html#addb53137f40dd011d972f683bd6bc823"> 118</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#addb53137f40dd011d972f683bd6bc823">leading</a>;</div>
+<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="class_scroll_window.html#af213b871e9fa4e05e1403cdfd87e8a0c"> 119</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#af213b871e9fa4e05e1403cdfd87e8a0c">scroll_bar</a>;</div>
+<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_scroll_window.html#ae5855d3570d774f519392a82c764875b"> 120</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#ae5855d3570d774f519392a82c764875b">dragdrop</a>;</div>
+<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a340236e19aa532a0ab298c666349bd9b"> 121</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a340236e19aa532a0ab298c666349bd9b">line_count</a>;</div>
+<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="class_scroll_window.html#aa7372158ba4afbfcd4ca0ed7542d4315"> 122</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#aa7372158ba4afbfcd4ca0ed7542d4315">page_count</a>;</div>
+<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a4076effe6b39145c52c30edf0be61066"> 123</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a4076effe6b39145c52c30edf0be61066">page_size</a>;</div>
+<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a638d699e83f40f1a7a3ed853b4bf9351"> 124</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a638d699e83f40f1a7a3ed853b4bf9351">top_index</a>;</div>
+<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a51f4b08f07518e5851b1797d671cd13c"> 125</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_scroll_window.html#a51f4b08f07518e5851b1797d671cd13c">line_height</a>;</div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
+<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_scroll_window.html#a25dbcc855afca5c192e3e296b8373b98"> 127</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_scroll_window.html#a25dbcc855afca5c192e3e296b8373b98">smooth_scroll</a>;</div>
+<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_scroll_window.html#aacb7b58d99c63a24d3fea51e5c18a0fe"> 128</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_scroll_window.html#aacb7b58d99c63a24d3fea51e5c18a0fe">smooth_offset</a>;</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;};</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor">#endif ScrollWindow_h</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<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="_scroll_window_8h.html">ScrollWindow.h</a></li>
+ <li class="footer">Generated on Thu May 31 2012 16:30:58 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>