diff options
author | lecoanet | 2005-05-10 14:55:18 +0000 |
---|---|---|
committer | lecoanet | 2005-05-10 14:55:18 +0000 |
commit | 5abe4bd15642bbc83f46553aa5275430b14f5f91 (patch) | |
tree | ee9303b7dbeb1df88debd5ddef167db86df3bdac /zinclib.d/doc/html/ZincTypes_8hpp-source.html | |
parent | b8356d1bffb6a8fcb83af50fe8725140ae0ddd47 (diff) | |
download | tkzinc-5abe4bd15642bbc83f46553aa5275430b14f5f91.zip tkzinc-5abe4bd15642bbc83f46553aa5275430b14f5f91.tar.gz tkzinc-5abe4bd15642bbc83f46553aa5275430b14f5f91.tar.bz2 tkzinc-5abe4bd15642bbc83f46553aa5275430b14f5f91.tar.xz |
*** empty log message ***
Diffstat (limited to 'zinclib.d/doc/html/ZincTypes_8hpp-source.html')
-rw-r--r-- | zinclib.d/doc/html/ZincTypes_8hpp-source.html | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/zinclib.d/doc/html/ZincTypes_8hpp-source.html b/zinclib.d/doc/html/ZincTypes_8hpp-source.html new file mode 100644 index 0000000..4476d23 --- /dev/null +++ b/zinclib.d/doc/html/ZincTypes_8hpp-source.html @@ -0,0 +1,163 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>IntuiKit: ZincTypes.hpp Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>ZincTypes.hpp</h1><a href="ZincTypes_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00015 <span class="preprocessor">#include <string></span> +00016 +00017 <span class="preprocessor">#ifndef ZINC_TYPES</span> +00018 <span class="preprocessor"></span><span class="preprocessor">#define ZINC_TYPES</span> +00019 <span class="preprocessor"></span> +<a name="l00020"></a><a class="code" href="ZincTypes_8hpp.html#a0">00020</a> <span class="keyword">typedef</span> std::string <a class="code" href="ZincTypes_8hpp.html#a0">String</a>; +00021 +00022 <span class="comment">/**********************************</span> +00023 <span class="comment"> Predeclaration of Zinc types</span> +00024 <span class="comment">**********************************/</span> +00025 <span class="keyword">class </span><a class="code" href="classZinc.html">Zinc</a>; +00026 <span class="keyword">class </span><a class="code" href="classZincPath.html">ZincPath</a>; +00027 <span class="keyword">class </span><a class="code" href="classZincItem.html">ZincItem</a>; +00028 <span class="keyword">class </span><a class="code" href="classZincImage.html">ZincImage</a>; +00029 <span class="keyword">class </span><a class="code" href="classZincFont.html">ZincFont</a>; +00030 <span class="keyword">struct </span><a class="code" href="structZincEvent.html">ZincEvent</a>; +00031 +00032 <span class="comment">/*******************************************************</span> +00033 <span class="comment"> Signature to use when binding with a callback</span> +00034 <span class="comment">*******************************************************/</span> +00035 <span class="keyword">typedef</span> void (*ZincItemCallback) +<a name="l00036"></a><a class="code" href="ZincTypes_8hpp.html#a1">00036</a> (<a class="code" href="classZinc.html">Zinc</a> *zinc, <span class="comment">// Information about the widget.</span> +00037 <a class="code" href="classZincItem.html">ZincItem</a> *item, <span class="comment">// the item being evented</span> +00038 <a class="code" href="structZincEvent.html">ZincEvent</a> *event, <span class="comment">// event information</span> +00039 <span class="keywordtype">void</span> *userData); <span class="comment">// user data provided with bind</span> +00040 +00041 <span class="keyword">typedef</span> void (*ZincWidgetCallback) +<a name="l00042"></a><a class="code" href="ZincTypes_8hpp.html#a2">00042</a> (<a class="code" href="classZinc.html">Zinc</a> *zinc, <span class="comment">// Information about the widget.</span> +00043 <a class="code" href="structZincEvent.html">ZincEvent</a> *event, <span class="comment">// event information</span> +00044 <span class="keywordtype">void</span> *userData); <span class="comment">// user data provided with bind</span> +00045 +00046 +00047 <span class="comment">/***********************************</span> +00048 <span class="comment"> Library constants</span> +00049 <span class="comment">***********************************/</span> +00050 +00051 <span class="comment">// Rendering model</span> +<a name="l00052"></a><a class="code" href="ZincTypes_8hpp.html#a3">00052</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="ZincTypes_8hpp.html#a3">ZINC_BACKEND_X11</a> = 0; +<a name="l00053"></a><a class="code" href="ZincTypes_8hpp.html#a4">00053</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="ZincTypes_8hpp.html#a4">ZINC_BACKEND_OPENGL</a> = 1; +00054 +00055 +00056 <span class="comment">/***********************************</span> +00057 <span class="comment"> Library enums</span> +00058 <span class="comment">***********************************/</span> +00059 +00060 <span class="comment">//Styles for line items</span> +<a name="l00061"></a><a class="code" href="ZincTypes_8hpp.html#a52">00061</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00062 { +00063 <a class="code" href="ZincTypes_8hpp.html#a52a5">lineStyle_simple</a> = 0, +00064 <a class="code" href="ZincTypes_8hpp.html#a52a6">lineStyle_dashed</a>, +00065 <a class="code" href="ZincTypes_8hpp.html#a52a7">lineStyle_mixed</a>, +00066 <a class="code" href="ZincTypes_8hpp.html#a52a8">lineStyle_dotted</a> +00067 } <a class="code" href="ZincTypes_8hpp.html#a52">lineStyle</a>; +00068 +00069 <span class="comment">//Styles for line cap</span> +<a name="l00070"></a><a class="code" href="ZincTypes_8hpp.html#a53">00070</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00071 { +00072 <a class="code" href="ZincTypes_8hpp.html#a53a9">capStyle_butt</a> = 0, +00073 <a class="code" href="ZincTypes_8hpp.html#a53a10">capStyle_projecting</a>, +00074 <a class="code" href="ZincTypes_8hpp.html#a53a11">capStyle_round</a> +00075 } <a class="code" href="ZincTypes_8hpp.html#a53">capStyle</a>; +00076 +00077 <span class="comment">//List of fill rules</span> +<a name="l00078"></a><a class="code" href="ZincTypes_8hpp.html#a54">00078</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00079 { +00080 <a class="code" href="ZincTypes_8hpp.html#a54a12">fillRule_odd</a> = 0 , +00081 <a class="code" href="ZincTypes_8hpp.html#a54a13">fillRule_nonzero</a>, +00082 <a class="code" href="ZincTypes_8hpp.html#a54a14">fillRule_positive</a>, +00083 <a class="code" href="ZincTypes_8hpp.html#a54a15">fillRule_negative</a>, +00084 <a class="code" href="ZincTypes_8hpp.html#a54a16">fillRule_abs_geq_2</a> +00085 } <a class="code" href="ZincTypes_8hpp.html#a54">fillRule</a>; +00086 +00087 <span class="comment">//list of join style</span> +<a name="l00088"></a><a class="code" href="ZincTypes_8hpp.html#a55">00088</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00089 { +00090 <a class="code" href="ZincTypes_8hpp.html#a55a17">joinStyle_bevel</a> = 0, +00091 <a class="code" href="ZincTypes_8hpp.html#a55a18">joinStyle_miter</a>, +00092 <a class="code" href="ZincTypes_8hpp.html#a55a19">joinStyle_round</a> +00093 } <a class="code" href="ZincTypes_8hpp.html#a55">joinStyle</a>; +00094 +00095 <span class="comment">//list of reliefs</span> +<a name="l00096"></a><a class="code" href="ZincTypes_8hpp.html#a56">00096</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00097 { +00098 <a class="code" href="ZincTypes_8hpp.html#a56a20">relief_flat</a> = 0, +00099 <a class="code" href="ZincTypes_8hpp.html#a56a21">relief_raised</a>, +00100 <a class="code" href="ZincTypes_8hpp.html#a56a22">relief_sunken</a>, +00101 <a class="code" href="ZincTypes_8hpp.html#a56a23">relief_ridge</a>, +00102 <a class="code" href="ZincTypes_8hpp.html#a56a24">relief_groove</a>, +00103 <a class="code" href="ZincTypes_8hpp.html#a56a25">relief_roundraised</a>, +00104 <a class="code" href="ZincTypes_8hpp.html#a56a26">relief_roundsunken</a>, +00105 <a class="code" href="ZincTypes_8hpp.html#a56a27">relief_roundridge</a>, +00106 <a class="code" href="ZincTypes_8hpp.html#a56a28">relief_roundgroove</a>, +00107 <a class="code" href="ZincTypes_8hpp.html#a56a29">relief_raisedrule</a>, +00108 <a class="code" href="ZincTypes_8hpp.html#a56a30">relief_sunkenrule</a> +00109 } <a class="code" href="ZincTypes_8hpp.html#a56">relief</a>; +00110 +00111 <span class="comment">//List of alignments</span> +<a name="l00112"></a><a class="code" href="ZincTypes_8hpp.html#a57">00112</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00113 { +00114 <a class="code" href="ZincTypes_8hpp.html#a57a31">alignment_left</a> = 0, +00115 <a class="code" href="ZincTypes_8hpp.html#a57a32">alignment_right</a>, +00116 <a class="code" href="ZincTypes_8hpp.html#a57a33">alignment_center</a> +00117 } <a class="code" href="ZincTypes_8hpp.html#a57">alignment</a>; +00118 +00119 <span class="comment">//list of anchors</span> +<a name="l00120"></a><a class="code" href="ZincTypes_8hpp.html#a58">00120</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00121 { +00122 <a class="code" href="ZincTypes_8hpp.html#a58a34">anchor_nw</a> = 0, +00123 <a class="code" href="ZincTypes_8hpp.html#a58a35">anchor_n</a>, +00124 <a class="code" href="ZincTypes_8hpp.html#a58a36">anchor_ne</a>, +00125 <a class="code" href="ZincTypes_8hpp.html#a58a37">anchor_e</a>, +00126 <a class="code" href="ZincTypes_8hpp.html#a58a38">anchor_se</a>, +00127 <a class="code" href="ZincTypes_8hpp.html#a58a39">anchor_s</a>, +00128 <a class="code" href="ZincTypes_8hpp.html#a58a40">anchor_sw</a>, +00129 <a class="code" href="ZincTypes_8hpp.html#a58a41">anchor_w</a>, +00130 <a class="code" href="ZincTypes_8hpp.html#a58a42">anchor_center</a> +00131 } <a class="code" href="ZincTypes_8hpp.html#a58">anchor</a>; +00132 +00133 <span class="comment">//actions to take when calling contour</span> +<a name="l00134"></a><a class="code" href="ZincTypes_8hpp.html#a59">00134</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00135 { +00136 <a class="code" href="ZincTypes_8hpp.html#a59a43">item_add_clockwise</a>, +00137 <a class="code" href="ZincTypes_8hpp.html#a59a44">item_add_counterclockwise</a>, +00138 <a class="code" href="ZincTypes_8hpp.html#a59a45">item_remove</a> +00139 } <a class="code" href="ZincTypes_8hpp.html#a59">itemOperator</a>; +00140 +00141 <span class="comment">//list of possible itemtypes</span> +<a name="l00142"></a><a class="code" href="ZincTypes_8hpp.html#a60">00142</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> +00143 { +00144 <a class="code" href="ZincTypes_8hpp.html#a60a46">item_group</a>, +00145 <a class="code" href="ZincTypes_8hpp.html#a60a47">item_arc</a>, +00146 <a class="code" href="ZincTypes_8hpp.html#a60a48">item_text</a>, +00147 <a class="code" href="ZincTypes_8hpp.html#a60a49">item_rectangle</a>, +00148 <a class="code" href="ZincTypes_8hpp.html#a60a50">item_curve</a>, +00149 <a class="code" href="ZincTypes_8hpp.html#a60a51">item_icon</a> +00150 } <a class="code" href="ZincTypes_8hpp.html#a60">itemType</a>; +00151 +00152 <span class="comment">//informations contained in an event</span> +<a name="l00153"></a><a class="code" href="structZincEvent.html">00153</a> <span class="keyword">struct </span><a class="code" href="structZincEvent.html">ZincEvent</a> +00154 { +<a name="l00155"></a><a class="code" href="structZincEvent.html#o1">00155</a> <span class="keywordtype">int</span> <a class="code" href="structZincEvent.html#o0">x</a>,<a class="code" href="structZincEvent.html#o1">y</a>; <span class="comment">// pointer position none -> 0</span> +<a name="l00156"></a><a class="code" href="structZincEvent.html#o2">00156</a> <span class="keywordtype">int</span> <a class="code" href="structZincEvent.html#o2">k</a>; <span class="comment">// keycode none -> 0</span> +<a name="l00157"></a><a class="code" href="structZincEvent.html#o3">00157</a> <span class="keywordtype">long</span> <a class="code" href="structZincEvent.html#o3">t</a>; <span class="comment">// timestamp none -> 0</span> +<a name="l00158"></a><a class="code" href="structZincEvent.html#o4">00158</a> <a class="code" href="ZincTypes_8hpp.html#a0">String</a> <a class="code" href="structZincEvent.html#o4">K</a>; <span class="comment">// keysym none -> "??"</span> +00159 }; +00160 +00161 +00162 +00163 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 18 17:40:44 2005 for IntuiKit by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> |