gnomeicontext.inc 1.0 KB

123456789101112131415161718192021222324252627282930
  1. {$IfDef read_interface}
  2. type
  3. PGnomeIconTextInfoRow = ^TGnomeIconTextInfoRow;
  4. TGnomeIconTextInfoRow = record
  5. thetext : Pgchar;
  6. width : gint;
  7. text_wc : PGdkWChar;
  8. text_length : gint;
  9. end;
  10. PGnomeIconTextInfo = ^TGnomeIconTextInfo;
  11. TGnomeIconTextInfo = record
  12. rows : PGList;
  13. font : PGdkFont;
  14. width : gint;
  15. height : gint;
  16. baseline_skip : gint;
  17. end;
  18. 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';
  19. procedure gnome_icon_paint_text(ti:PGnomeIconTextInfo; drawable:PGdkDrawable; gc:PGdkGC; x:gint; y:gint;
  20. just:TGtkJustification);cdecl;external libgnomeuidll name 'gnome_icon_paint_text';
  21. procedure gnome_icon_text_info_free(ti:PGnomeIconTextInfo);cdecl;external libgnomeuidll name 'gnome_icon_text_info_free';
  22. {$EndIf read_interface}
  23. {$Ifdef read_implementation}
  24. {$Endif read_implementation}