gtkthemes.inc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. { Pointers to basic pascal types, inserted by h2pas conversion program.}
  2. Type
  3. PLongint = ^Longint;
  4. PSmallInt = ^SmallInt;
  5. PByte = ^Byte;
  6. PWord = ^Word;
  7. PDWord = ^DWord;
  8. PDouble = ^Double;
  9. {$PACKRECORDS C}
  10. { GTK - The GIMP Toolkit
  11. Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
  12. Themes added by The Rasterman <[email protected]>
  13. This library is free software; you can redistribute it and/or
  14. modify it under the terms of the GNU Lesser General Public
  15. License as published by the Free Software Foundation; either
  16. version 2 of the License, or (at your option) any later version.
  17. This library is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  20. Lesser General Public License for more details.
  21. You should have received a copy of the GNU Lesser General Public
  22. License along with this library; if not, write to the Free
  23. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. }
  25. {
  26. Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
  27. file for a list of people on the GTK+ Team. See the ChangeLog
  28. files for a list of changes. These files are distributed with
  29. GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  30. }
  31. {$ifndef __GTK_THEMES_H__}
  32. {$define __GTK_THEMES_H__}
  33. {$include <gdk/gdk.inc}
  34. {$include gtkstyle.inc}
  35. {$include gtkwidget.inc}
  36. { C++ extern C conditionnal removed }
  37. { __cplusplus }
  38. function GTK_TYPE_THEME_ENGINE : GType;
  39. function GTK_THEME_ENGINE(theme_engine : longint) : longint;
  40. function GTK_IS_THEME_ENGINE(theme_engine : longint) : boolean;
  41. function gtk_theme_engine_get_type:GType; cdecl; external gtklib;
  42. function gtk_theme_engine_get(name:Pgchar):PGtkThemeEngine; cdecl; external gtklib;
  43. function gtk_theme_engine_create_rc_style(engine:PGtkThemeEngine):PGtkRcStyle; cdecl; external gtklib;
  44. { C++ end of extern C conditionnal removed }
  45. { __cplusplus }
  46. {$endif}
  47. { __GTK_THEMES_H__ }
  48. function GTK_TYPE_THEME_ENGINE : GType;
  49. begin
  50. GTK_TYPE_THEME_ENGINE:=gtk_theme_engine_get_type;
  51. end;
  52. function GTK_THEME_ENGINE(theme_engine : longint) : longint;
  53. begin
  54. GTK_THEME_ENGINE:=PGtkThemeEngine(G_TYPE_CHECK_INSTANCE_CAST(theme_engine,GTK_TYPE_THEME_ENGINE));
  55. end;
  56. function GTK_IS_THEME_ENGINE(theme_engine : longint) : boolean;
  57. begin
  58. GTK_IS_THEME_ENGINE:=G_TYPE_CHECK_INSTANCE_TYPE(theme_engine,GTK_TYPE_THEME_ENGINE);
  59. end;