[f19df0a3e5] | 1 | <!-- This comment will put IE 6, 7 and 8 in quirks mode --> |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
| 6 | <title>TSPSG: TSP Solver and Generator: src/defaults.h Source File</title> |
---|
| 7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
| 8 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
---|
| 9 | <script type="text/javaScript" src="search/search.js"></script> |
---|
| 10 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
| 11 | </head> |
---|
| 12 | <body onload='searchBox.OnSelectItem(0);'> |
---|
| 13 | <!-- Generated by Doxygen 1.6.1 --> |
---|
| 14 | <script type="text/javascript"><!-- |
---|
| 15 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
---|
| 16 | --></script> |
---|
| 17 | <script type="text/javascript"> |
---|
| 18 | <!-- |
---|
| 19 | function changeDisplayState (e){ |
---|
| 20 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 21 | var button=this.firstChild; |
---|
| 22 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 23 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 24 | sectionDiv.style.display='block'; |
---|
| 25 | button.src='open.gif'; |
---|
| 26 | }else{ |
---|
| 27 | sectionDiv.style.display='none'; |
---|
| 28 | button.src='closed.gif'; |
---|
| 29 | } |
---|
| 30 | } |
---|
| 31 | function initDynSections(){ |
---|
| 32 | var divs=document.getElementsByTagName('div'); |
---|
| 33 | var sectionCounter=1; |
---|
| 34 | for(var i=0;i<divs.length-1;i++){ |
---|
| 35 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 36 | var header=divs[i]; |
---|
| 37 | var section=divs[i+1]; |
---|
| 38 | var button=header.firstChild; |
---|
| 39 | if (button!='IMG'){ |
---|
| 40 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 41 | button=document.createElement('img'); |
---|
| 42 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 43 | } |
---|
| 44 | header.style.cursor='pointer'; |
---|
| 45 | header.onclick=changeDisplayState; |
---|
| 46 | header.id='dynheader'+sectionCounter; |
---|
| 47 | button.src='closed.gif'; |
---|
| 48 | section.id='dynsection'+sectionCounter; |
---|
| 49 | section.style.display='none'; |
---|
| 50 | section.style.marginLeft='14px'; |
---|
| 51 | sectionCounter++; |
---|
| 52 | } |
---|
| 53 | } |
---|
| 54 | } |
---|
| 55 | window.onload = initDynSections; |
---|
| 56 | --> |
---|
| 57 | </script> |
---|
| 58 | <div class="navigation" id="top"> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 62 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 63 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 64 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
| 65 | <li> |
---|
| 66 | <div id="MSearchBox" class="MSearchBoxInactive"> |
---|
| 67 | <img id="MSearchSelect" src="search/search.png" |
---|
| 68 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 69 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 70 | alt=""/> |
---|
| 71 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
---|
| 72 | onfocus="searchBox.OnSearchFieldFocus(true)" |
---|
| 73 | onblur="searchBox.OnSearchFieldFocus(false)" |
---|
| 74 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
---|
| 75 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
---|
| 76 | </div> |
---|
| 77 | </li> |
---|
| 78 | </ul> |
---|
| 79 | </div> |
---|
| 80 | <div class="tabs"> |
---|
| 81 | <ul> |
---|
| 82 | <li><a href="files.html"><span>File List</span></a></li> |
---|
| 83 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 84 | </ul> |
---|
| 85 | </div> |
---|
| 86 | <h1>src/defaults.h</h1><a href="defaults_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
| 87 | <a name="l00028"></a>00028 <span class="preprocessor">#ifndef DEFAULTS_H</span> |
---|
| 88 | <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define DEFAULTS_H</span> |
---|
| 89 | <a name="l00030"></a>00030 <span class="preprocessor"></span> |
---|
| 90 | <a name="l00032"></a><a class="code" href="defaults_8h.html#a4d1fa8b5b2b213595f30e55d75070ed2">00032</a> <span class="preprocessor">#define DEF_NUM_CITIES 5</span> |
---|
| 91 | <a name="l00033"></a>00033 <span class="preprocessor"></span> |
---|
| 92 | <a name="l00036"></a><a class="code" href="defaults_8h.html#a26cf35c10c1ed2eab930d839284842c6">00036</a> <span class="preprocessor">#define DEF_AUTOSIZE true</span> |
---|
| 93 | <a name="l00037"></a>00037 <span class="preprocessor"></span> |
---|
| 94 | <a name="l00041"></a>00041 <span class="preprocessor">#ifdef Q_OS_WINCE</span> |
---|
| 95 | <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor"> #define DEF_USE_NATIVE_DIALOGS false</span> |
---|
| 96 | <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
---|
| 97 | <a name="l00044"></a><a class="code" href="defaults_8h.html#a6bbdc41d8e9d2d8050fb973f058a5521">00044</a> <span class="preprocessor"></span><span class="preprocessor"> #define DEF_USE_NATIVE_DIALOGS true</span> |
---|
| 98 | <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#endif // Q_OS_WINCE</span> |
---|
| 99 | <a name="l00047"></a><a class="code" href="defaults_8h.html#ad983bd19a9662c6cb6fe5ba981cbdbf4">00047</a> <span class="preprocessor">#define DEF_SAVEPOS true</span> |
---|
| 100 | <a name="l00049"></a><a class="code" href="defaults_8h.html#a1514694a06d7bb7c282913d8474be546">00049</a> <span class="preprocessor">#define DEF_USE_TRANSLUCENCY true</span> |
---|
| 101 | <a name="l00050"></a>00050 <span class="preprocessor"></span> |
---|
| 102 | <a name="l00053"></a><a class="code" href="defaults_8h.html#afd1234d6d4416db1f37831403b3e2dbe">00053</a> <span class="preprocessor">#define DEF_FRACTIONAL_ACCURACY 2</span> |
---|
| 103 | <a name="l00055"></a><a class="code" href="defaults_8h.html#a21dd408136bbab225a4f5e2c42f85643">00055</a> <span class="preprocessor">#define DEF_RAND_MIN 1</span> |
---|
| 104 | <a name="l00057"></a><a class="code" href="defaults_8h.html#af9914e148840572bac46f451db4cb6e5">00057</a> <span class="preprocessor">#define DEF_RAND_MAX 10</span> |
---|
| 105 | <a name="l00059"></a><a class="code" href="defaults_8h.html#a4a1e6c04461eabfc0cc0941d342ecfb4">00059</a> <span class="preprocessor">#define DEF_FRACTIONAL_RANDOM false</span> |
---|
| 106 | <a name="l00061"></a><a class="code" href="defaults_8h.html#af249ec8d65a40ef0b19738492d12948a">00061</a> <span class="preprocessor">#define DEF_SYMMETRIC_MODE false</span> |
---|
| 107 | <a name="l00062"></a>00062 <span class="preprocessor"></span> |
---|
| 108 | <a name="l00065"></a><a class="code" href="defaults_8h.html#a616d74fa946123f424193b007d5a6382">00065</a> <span class="preprocessor">#define DEF_SHOW_MATRIX true</span> |
---|
| 109 | <a name="l00067"></a><a class="code" href="defaults_8h.html#ae37fe7eb909d7fd076f067900e900c0e">00067</a> <span class="preprocessor">#define DEF_USE_SHOW_MATRIX_LIMIT true</span> |
---|
| 110 | <a name="l00069"></a><a class="code" href="defaults_8h.html#a261331d449328e53926027d021757d57">00069</a> <span class="preprocessor">#define DEF_SHOW_MATRIX_LIMIT 15</span> |
---|
| 111 | <a name="l00071"></a><a class="code" href="defaults_8h.html#a6831bc2c2f11c3a14382c8fbe8d87efe">00071</a> <span class="preprocessor">#define DEF_SCROLL_TO_END false</span> |
---|
| 112 | <a name="l00072"></a>00072 <span class="preprocessor"></span> |
---|
| 113 | <a name="l00076"></a>00076 <span class="preprocessor">#ifdef Q_OS_WINCE</span> |
---|
| 114 | <a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor"> #define DEF_FONT_FAMILY "Tahoma"</span> |
---|
| 115 | <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
---|
| 116 | <a name="l00079"></a><a class="code" href="defaults_8h.html#a2982eb0f2aea4cff78bd4aa767ff1988">00079</a> <span class="preprocessor"></span><span class="preprocessor"> #define DEF_FONT_FAMILY "Courier New"</span> |
---|
| 117 | <a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
| 118 | <a name="l00081"></a>00081 <span class="preprocessor"></span> |
---|
| 119 | <a name="l00085"></a>00085 <span class="preprocessor">#ifdef Q_OS_SYMBIAN</span> |
---|
| 120 | <a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor"> #define DEF_FONT_SIZE 8</span> |
---|
| 121 | <a name="l00087"></a>00087 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
---|
| 122 | <a name="l00088"></a><a class="code" href="defaults_8h.html#ab73bf542bad61b0b720c0495ef612105">00088</a> <span class="preprocessor"></span><span class="preprocessor"> #define DEF_FONT_SIZE 10</span> |
---|
| 123 | <a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#endif // Q_OS_SYMBIAN</span> |
---|
| 124 | <a name="l00091"></a><a class="code" href="defaults_8h.html#a6bbeb8fbbb2c6ec31993ff56f6b695e3">00091</a> <span class="preprocessor">#define DEF_FONT_COLOR Qt::black</span> |
---|
| 125 | <a name="l00092"></a>00092 <span class="preprocessor"></span> |
---|
| 126 | <a name="l00093"></a>00093 <span class="preprocessor">#endif // DEFAULTS_H</span> |
---|
| 127 | </pre></div></div> |
---|
| 128 | <!--- window showing the filter options --> |
---|
| 129 | <div id="MSearchSelectWindow" |
---|
| 130 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 131 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 132 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
| 133 | <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>Defines</a></div> |
---|
| 134 | |
---|
| 135 | <!-- iframe showing the search results (closed by default) --> |
---|
| 136 | <div id="MSearchResultsWindow"> |
---|
| 137 | <iframe src="" frameborder="0" |
---|
| 138 | name="MSearchResults" id="MSearchResults"> |
---|
| 139 | </iframe> |
---|
| 140 | </div> |
---|
| 141 | |
---|
| 142 | <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Mar 3 01:46:34 2010 for TSPSG: TSP Solver and Generator by |
---|
| 143 | <a href="http://www.doxygen.org/index.html"> |
---|
| 144 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
| 145 | </body> |
---|
| 146 | </html> |
---|