summaryrefslogtreecommitdiff
path: root/packages/gtk2
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-07-07 16:36:57 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-07-07 16:36:57 +0000
commitd44f206adf90ec882df04f9e46c79681cf725b1e (patch)
treece794ed9b87ff10ef03d8fc0cd28aa40e90cc5a1 /packages/gtk2
parente93fccc8fea52ac6044c102027e5b2b189dc2bc8 (diff)
downloadfpc-d44f206adf90ec882df04f9e46c79681cf725b1e.tar.gz
* added missing file of r13365
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@13366 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/gtk2')
-rw-r--r--packages/gtk2/src/pango/pango-glyph-item.inc66
1 files changed, 66 insertions, 0 deletions
diff --git a/packages/gtk2/src/pango/pango-glyph-item.inc b/packages/gtk2/src/pango/pango-glyph-item.inc
new file mode 100644
index 0000000000..22f9bb6123
--- /dev/null
+++ b/packages/gtk2/src/pango/pango-glyph-item.inc
@@ -0,0 +1,66 @@
+// included by pango.pp
+{$IFDEF read_forward_definitions}
+{$ENDIF read_forward_definitions}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_interface_types}
+
+PPangoGlyphItem = ^TPangoGlyphItem;
+TPangoGlyphItem = record
+ item : PPangoItem;
+ glyphs : PPangoGlyphString;
+end;
+PPangoGlyphItemIter = ^TPangoGlyphItemIter;
+TPangoGlyphItemIter = record
+ glyph_item : PPangoGlyphItem;
+ text : Pgchar;
+ start_glyph : longint;
+ start_index : longint;
+ start_char : longint;
+ end_glyph : longint;
+ end_index : longint;
+ end_char : longint;
+end;
+
+{$ENDIF read_interface_types}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_interface_functions}
+
+function PANGO_TYPE_GLYPH_ITEM : GType;
+
+function pango_glyph_item_get_type():GType;cdecl;external pangolib;
+function pango_glyph_item_split(orig:PPangoGlyphItem; text:Pchar; split_index:longint):PPangoGlyphItem;cdecl;external pangolib;
+function pango_glyph_item_copy(orig:PPangoGlyphItem):PPangoGlyphItem;cdecl;external pangolib;
+procedure pango_glyph_item_free(glyph_item:PPangoGlyphItem);cdecl;external pangolib;
+function pango_glyph_item_apply_attrs(glyph_item:PPangoGlyphItem; text:Pchar; list:PPangoAttrList):PGSList;cdecl;external pangolib;
+procedure pango_glyph_item_letter_space(glyph_item:PPangoGlyphItem; text:Pchar; log_attrs:PPangoLogAttr; letter_spacing:longint);cdecl;external pangolib;
+
+function PANGO_TYPE_GLYPH_ITEM_ITER : GType;
+function pango_glyph_item_iter_get_type():GType;cdecl;external pangolib;
+function pango_glyph_item_iter_copy(orig:PPangoGlyphItemIter):PPangoGlyphItemIter;cdecl;external pangolib;
+procedure pango_glyph_item_iter_free(iter:PPangoGlyphItemIter);cdecl;external pangolib;
+function pango_glyph_item_iter_init_start(iter:PPangoGlyphItemIter; glyph_item:PPangoGlyphItem; text:Pchar):gboolean;cdecl;external pangolib;
+function pango_glyph_item_iter_init_end(iter:PPangoGlyphItemIter; glyph_item:PPangoGlyphItem; text:Pchar):gboolean;cdecl;external pangolib;
+function pango_glyph_item_iter_next_cluster(iter:PPangoGlyphItemIter):gboolean;cdecl;external pangolib;
+function pango_glyph_item_iter_prev_cluster(iter:PPangoGlyphItemIter):gboolean;cdecl;external pangolib;
+
+{$endif read_interface_functions}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_implementation}
+
+function PANGO_TYPE_GLYPH_ITEM : GType;
+begin
+ PANGO_TYPE_GLYPH_ITEM:=pango_glyph_item_get_type;
+end;
+
+function PANGO_TYPE_GLYPH_ITEM_ITER : GType;
+begin
+ PANGO_TYPE_GLYPH_ITEM_ITER:=pango_glyph_item_iter_get_type;
+end;
+
+{$ENDIF}