1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>GTK+ Foundation Classes</title>
<link href="gfc.css" rel="stylesheet" type="text/css">
<meta content="The GFC Development Team" name="author">
<meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
alt="GFC Logo" src="../images/gfc.png"
style="width: 207px; height: 92px;"></td>
<td
style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
alt="GFC Title Logo" src="../images/gfc-title.png"
style="width: 418px; height: 76px;"><br>
</td>
</tr>
<tr>
<td
style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
</td>
<td
style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
style="font-family: helvetica,arial,sans-serif;"><a
href="../html/index.html">Main Page</a> | <a
href="../html/namespaces.html">Namespace List</a> | <a
href="classes.html">Alphabetical List</a> | <a
href="../html/annotated.html">Class List</a> | <a
href="../html/files.html">File List</a></small><br>
</td>
</tr>
</tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>script.hh</h1><a href="script_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/* GFC-UI: GTK+ Foundation Classes (User Interface Library)</span>
00002 <span class="comment"> * Copyright (C) 2004 The GFC Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> * (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
00012 <span class="comment"> * GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> * along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018
00024
00025 <span class="preprocessor">#ifndef GFC_PANGO_SCRIPT_HH</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define GFC_PANGO_SCRIPT_HH</span>
00027 <span class="preprocessor"></span>
00028 <span class="preprocessor">#ifndef GFC_G_UNICODE_HH</span>
00029 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="codeRef" doxygen="gfccore.tag:" href="unicode_8hh.html">gfc/glib/unicode.hh</a>></span>
00030 <span class="preprocessor">#endif</span>
00031 <span class="preprocessor"></span>
00032 <span class="preprocessor">#ifndef GFC_STRING_HH</span>
00033 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="codeRef" doxygen="gfccore.tag:" href="utfstring_8hh.html">gfc/utfstring.hh</a>></span>
00034 <span class="preprocessor">#endif</span>
00035 <span class="preprocessor"></span>
00036 <span class="preprocessor">#ifndef __PANGO_SCRIPT_H__</span>
00037 <span class="preprocessor"></span><span class="preprocessor">#include <pango/pango-script.h></span>
00038 <span class="preprocessor">#endif</span>
00039 <span class="preprocessor"></span>
00040 <span class="keyword">namespace </span>GFC {
00041
00042 <span class="keyword">namespace </span>Pango {
00043
00047
<a name="l00048"></a><a class="code" href="namespaceGFC_1_1Pango.html#a143">00048</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a143">Script</a>
00049 {
00050 <a class="code" href="namespaceGFC_1_1Pango.html#a143a60">SCRIPT_INVALID_CODE</a> = PANGO_SCRIPT_INVALID_CODE,
00051 <a class="code" href="namespaceGFC_1_1Pango.html#a143a61">SCRIPT_COMMON</a> = PANGO_SCRIPT_COMMON,
00052 <a class="code" href="namespaceGFC_1_1Pango.html#a143a62">SCRIPT_INHERITED</a> = PANGO_SCRIPT_INHERITED,
00053 <a class="code" href="namespaceGFC_1_1Pango.html#a143a63">SCRIPT_ARABIC</a> = PANGO_SCRIPT_ARABIC,
00054 <a class="code" href="namespaceGFC_1_1Pango.html#a143a64">SCRIPT_ARMENIAN</a> = PANGO_SCRIPT_ARMENIAN,
00055 <a class="code" href="namespaceGFC_1_1Pango.html#a143a65">SCRIPT_BENGALI</a> = PANGO_SCRIPT_BENGALI,
00056 <a class="code" href="namespaceGFC_1_1Pango.html#a143a66">SCRIPT_BOPOMOFO</a> = PANGO_SCRIPT_BOPOMOFO,
00057 <a class="code" href="namespaceGFC_1_1Pango.html#a143a67">SCRIPT_CHEROKEE</a> = PANGO_SCRIPT_CHEROKEE,
00058 <a class="code" href="namespaceGFC_1_1Pango.html#a143a68">SCRIPT_COPTIC</a> = PANGO_SCRIPT_COPTIC,
00059 <a class="code" href="namespaceGFC_1_1Pango.html#a143a69">SCRIPT_CYRILLIC</a> = PANGO_SCRIPT_CYRILLIC,
00060 <a class="code" href="namespaceGFC_1_1Pango.html#a143a70">SCRIPT_DESERET</a> = PANGO_SCRIPT_DESERET,
00061 <a class="code" href="namespaceGFC_1_1Pango.html#a143a71">SCRIPT_DEVANAGARI</a> = PANGO_SCRIPT_DEVANAGARI,
00062 <a class="code" href="namespaceGFC_1_1Pango.html#a143a72">SCRIPT_ETHIOPIC</a> = PANGO_SCRIPT_ETHIOPIC,
00063 <a class="code" href="namespaceGFC_1_1Pango.html#a143a73">SCRIPT_GEORGIAN</a> = PANGO_SCRIPT_GEORGIAN,
00064 <a class="code" href="namespaceGFC_1_1Pango.html#a143a74">SCRIPT_GOTHIC</a> = PANGO_SCRIPT_GOTHIC,
00065 <a class="code" href="namespaceGFC_1_1Pango.html#a143a75">SCRIPT_GREEK</a> = PANGO_SCRIPT_GREEK,
00066 <a class="code" href="namespaceGFC_1_1Pango.html#a143a76">SCRIPT_GUJARATI</a> = PANGO_SCRIPT_GUJARATI,
00067 <a class="code" href="namespaceGFC_1_1Pango.html#a143a77">SCRIPT_GURMUKHI</a> = PANGO_SCRIPT_GURMUKHI,
00068 <a class="code" href="namespaceGFC_1_1Pango.html#a143a78">SCRIPT_HAN</a> = PANGO_SCRIPT_HAN,
00069 <a class="code" href="namespaceGFC_1_1Pango.html#a143a79">SCRIPT_HANGUL</a> = PANGO_SCRIPT_HANGUL,
00070 <a class="code" href="namespaceGFC_1_1Pango.html#a143a80">SCRIPT_HEBREW</a> = PANGO_SCRIPT_HEBREW,
00071 <a class="code" href="namespaceGFC_1_1Pango.html#a143a81">SCRIPT_HIRAGANAPANGO_SCRIPT_HIRAGANA</a>,
00072 <a class="code" href="namespaceGFC_1_1Pango.html#a143a82">SCRIPT_KANNADA</a> = PANGO_SCRIPT_KANNADA,
00073 <a class="code" href="namespaceGFC_1_1Pango.html#a143a83">SCRIPT_KATAKANA</a> = PANGO_SCRIPT_KATAKANA,
00074 <a class="code" href="namespaceGFC_1_1Pango.html#a143a84">SCRIPT_KHMER</a> = PANGO_SCRIPT_KHMER,
00075 <a class="code" href="namespaceGFC_1_1Pango.html#a143a85">SCRIPT_LAO</a> = PANGO_SCRIPT_LAO,
00076 <a class="code" href="namespaceGFC_1_1Pango.html#a143a86">SCRIPT_LATIN</a> = PANGO_SCRIPT_LATIN,
00077 <a class="code" href="namespaceGFC_1_1Pango.html#a143a87">SCRIPT_MALAYALAM</a> = PANGO_SCRIPT_MALAYALAM,
00078 <a class="code" href="namespaceGFC_1_1Pango.html#a143a88">SCRIPT_MONGOLIAN</a> = PANGO_SCRIPT_MONGOLIAN,
00079 <a class="code" href="namespaceGFC_1_1Pango.html#a143a89">SCRIPT_MYANMAR</a> = PANGO_SCRIPT_MYANMAR,
00080 <a class="code" href="namespaceGFC_1_1Pango.html#a143a90">SCRIPT_OGHAM</a> = PANGO_SCRIPT_OGHAM,
00081 <a class="code" href="namespaceGFC_1_1Pango.html#a143a91">SCRIPT_OLD_ITALIC</a> = PANGO_SCRIPT_OLD_ITALIC,
00082 <a class="code" href="namespaceGFC_1_1Pango.html#a143a92">SCRIPT_ORIYA</a> = PANGO_SCRIPT_ORIYA,
00083 <a class="code" href="namespaceGFC_1_1Pango.html#a143a93">SCRIPT_RUNIC</a> = PANGO_SCRIPT_RUNIC,
00084 <a class="code" href="namespaceGFC_1_1Pango.html#a143a94">SCRIPT_SINHALA</a> = PANGO_SCRIPT_SINHALA,
00085 <a class="code" href="namespaceGFC_1_1Pango.html#a143a95">SCRIPT_SYRIAC</a> = PANGO_SCRIPT_SYRIAC,
00086 <a class="code" href="namespaceGFC_1_1Pango.html#a143a96">SCRIPT_TAMIL</a> = PANGO_SCRIPT_TAMIL,
00087 <a class="code" href="namespaceGFC_1_1Pango.html#a143a97">SCRIPT_TELUGU</a> = PANGO_SCRIPT_TELUGU,
00088 <a class="code" href="namespaceGFC_1_1Pango.html#a143a98">SCRIPT_THAANA</a> = PANGO_SCRIPT_THAANA,
00089 <a class="code" href="namespaceGFC_1_1Pango.html#a143a99">SCRIPT_THAI</a> = PANGO_SCRIPT_THAI,
00090 <a class="code" href="namespaceGFC_1_1Pango.html#a143a100">SCRIPT_TIBETAN</a> = PANGO_SCRIPT_TIBETAN,
00091 <a class="code" href="namespaceGFC_1_1Pango.html#a143a101">SCRIPT_CANADIAN_ABORIGINAL</a> = PANGO_SCRIPT_CANADIAN_ABORIGINAL,
00092 <a class="code" href="namespaceGFC_1_1Pango.html#a143a102">SCRIPT_YI</a> = PANGO_SCRIPT_YI,
00093 <a class="code" href="namespaceGFC_1_1Pango.html#a143a103">SCRIPT_TAGALOG</a> = PANGO_SCRIPT_TAGALOG,
00094 <a class="code" href="namespaceGFC_1_1Pango.html#a143a104">SCRIPT_HANUNOO</a> = PANGO_SCRIPT_HANUNOO,
00095 <a class="code" href="namespaceGFC_1_1Pango.html#a143a105">SCRIPT_BUHID</a> = PANGO_SCRIPT_BUHID,
00096 <a class="code" href="namespaceGFC_1_1Pango.html#a143a106">SCRIPT_TAGBANWA</a> = PANGO_SCRIPT_TAGBANWA,
00097
00098 <span class="comment">// Unicode 4.0 additions</span>
00099 <a class="code" href="namespaceGFC_1_1Pango.html#a143a107">SCRIPT_BRAILLE</a> = PANGO_SCRIPT_BRAILLE,
00100 <a class="code" href="namespaceGFC_1_1Pango.html#a143a108">SCRIPT_CYPRIOTPANGO_SCRIPT_CYPRIOT</a>,
00101 <a class="code" href="namespaceGFC_1_1Pango.html#a143a109">SCRIPT_LIMBUPANGO_SCRIPT_LIMBU</a>,
00102 <a class="code" href="namespaceGFC_1_1Pango.html#a143a110">SCRIPT_OSMANYA</a> = PANGO_SCRIPT_OSMANYA,
00103 <a class="code" href="namespaceGFC_1_1Pango.html#a143a111">SCRIPT_SHAVIAN</a> = PANGO_SCRIPT_SHAVIAN,
00104 <a class="code" href="namespaceGFC_1_1Pango.html#a143a112">SCRIPT_LINEAR_B</a> = PANGO_SCRIPT_LINEAR_B,
00105 <a class="code" href="namespaceGFC_1_1Pango.html#a143a113">SCRIPT_TAI_LE</a> = PANGO_SCRIPT_TAI_LE,
00106 <a class="code" href="namespaceGFC_1_1Pango.html#a143a114">SCRIPT_UGARITIC</a> = PANGO_SCRIPT_UGARITIC
00107 };
00108
00111
00112 Script <a class="code" href="namespaceGFC_1_1Pango.html#a128">script_for_unichar</a>(<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Unichar.html">G::Unichar</a> ch);
00119
00120 PangoLanguage* <a class="code" href="namespaceGFC_1_1Pango.html#a129">script_get_sample_language</a>(Script script);
00133
00134 <span class="keywordtype">bool</span> <a class="code" href="namespaceGFC_1_1Pango.html#a130">language_includes_script</a>(PangoLanguage *language, Script script);
00148
00150
00155
<a name="l00156"></a><a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html">00156</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html">ScriptIter</a>
00157 {
00158 <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1199_0">ScriptIter</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html">ScriptIter</a>&);
00159 <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html">ScriptIter</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html">ScriptIter</a>&);
00160
00161 PangoScriptIter *iter_;
00162
00163 <span class="keyword">public</span>:
00166
00167 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1199_0">ScriptIter</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *text, <span class="keywordtype">int</span> length = -1);
00176
00177 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1199_0">ScriptIter</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>& text);
00185
00186 <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1199_2">~ScriptIter</a>();
00188
00192
00193 PangoScriptIter* <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1200_0">pango_script_iter</a>() <span class="keyword">const</span>;
00195
00196 <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1200_1">operator PangoScriptIter* </a>() <span class="keyword">const</span>;
00198
00199 <a class="code" href="namespaceGFC_1_1Pango.html#a143">Script</a> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1200_2">get_range</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> **start, <span class="keyword">const</span> <span class="keywordtype">char</span> **end);
00207
00208 <a class="code" href="namespaceGFC_1_1Pango.html#a143">Script</a> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1200_2">get_range</a>(<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> *range = 0);
00212
00216
00217 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1ScriptIter.html#z1201_0">next</a>();
00222
00224 };
00225
00226 } <span class="comment">// namespace Pango</span>
00227
00228 } <span class="comment">// namespace GFC</span>
00229
00230 <span class="preprocessor">#include <gfc/pango/inline/script.inl></span>
00231
00232 <span class="preprocessor">#endif // GFC_PANGO_SCRIPT_HH</span>
00233 <span class="preprocessor"></span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:32 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>
|