summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/gnome1/src/libgnomeui/gnomeicontext.inc
blob: 92b5d779cc8a732b766ab82fa5ca289c76c08d42 (plain)
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
{$IfDef read_interface}

type
   PGnomeIconTextInfoRow = ^TGnomeIconTextInfoRow;
   TGnomeIconTextInfoRow = record
        thetext : Pgchar;
        width : gint;
        text_wc : PGdkWChar;
        text_length : gint;
     end;

   PGnomeIconTextInfo = ^TGnomeIconTextInfo;
   TGnomeIconTextInfo = record
        rows : PGList;
        font : PGdkFont;
        width : gint;
        height : gint;
        baseline_skip : gint;
     end;

function gnome_icon_layout_text(font:PGdkFont; theetext:Pgchar; separators:Pgchar; max_width:gint; confine:gboolean):PGnomeIconTextInfo;cdecl;external libgnomeuidll name 'gnome_icon_layout_text';
procedure gnome_icon_paint_text(ti:PGnomeIconTextInfo; drawable:PGdkDrawable; gc:PGdkGC; x:gint; y:gint;
            just:TGtkJustification);cdecl;external libgnomeuidll name 'gnome_icon_paint_text';
procedure gnome_icon_text_info_free(ti:PGnomeIconTextInfo);cdecl;external libgnomeuidll name 'gnome_icon_text_info_free';

{$EndIf read_interface}

{$Ifdef read_implementation}

{$Endif read_implementation}