gdkprivate.inc 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. { GDK - The GIMP Drawing Kit
  11. Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
  12. This library is free software; you can redistribute it and/or
  13. modify it under the terms of the GNU Lesser General Public
  14. License as published by the Free Software Foundation; either
  15. version 2 of the License, or (at your option) any later version.
  16. This library is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. Lesser General Public License for more details.
  20. You should have received a copy of the GNU Lesser General Public
  21. License along with this library; if not, write to the
  22. Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  23. Boston, MA 02111-1307, 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 __GDK_PRIVATE_H__}
  32. {$define __GDK_PRIVATE_H__}
  33. {$include <gdk/gdktypes.inc}
  34. {$include <gdk/gdkevents.inc}
  35. {$include <gdk/gdkfont.inc}
  36. {$include <gdk/gdkgc.inc}
  37. {$include <gdk/gdkimage.inc}
  38. {$include <gdk/gdkregion.inc}
  39. {$include <gdk/gdkvisual.inc}
  40. {$include <gdk/gdkwindow.inc}
  41. function GDK_PARENT_RELATIVE_BG : PGdkPixmap;
  42. function GDK_NO_BG : PGdkPixmap;
  43. { was #define dname(params) para_def_expr }
  44. { argument types are unknown }
  45. { return type might be wrong }
  46. function GDK_WINDOW_TYPE(d : longint) : longint;
  47. { was #define dname(params) para_def_expr }
  48. { argument types are unknown }
  49. { return type might be wrong }
  50. function GDK_WINDOW_DESTROYED(d : longint) : longint;
  51. procedure gdk_window_destroy_notify(window:PGdkWindow); cdecl; external gdklib;
  52. procedure gdk_synthesize_window_state(window:PGdkWindow; unset_flags:TGdkWindowState; set_flags:TGdkWindowState); cdecl; external gdklib;
  53. {$endif}
  54. { __GDK_PRIVATE_H__ }
  55. function GDK_PARENT_RELATIVE_BG : PGdkPixmap;
  56. begin
  57. GDK_PARENT_RELATIVE_BG:=PGdkPixmap(1);
  58. end;
  59. function GDK_NO_BG : PGdkPixmap;
  60. begin
  61. GDK_NO_BG:=PGdkPixmap(2);
  62. end;
  63. { was #define dname(params) para_def_expr }
  64. { argument types are unknown }
  65. { return type might be wrong }
  66. function GDK_WINDOW_TYPE(d : longint) : longint;
  67. begin
  68. GDK_WINDOW_TYPE:=(PGdkWindowObject(GDK_WINDOW(d)))^.window_type;
  69. end;
  70. { was #define dname(params) para_def_expr }
  71. { argument types are unknown }
  72. { return type might be wrong }
  73. function GDK_WINDOW_DESTROYED(d : longint) : longint;
  74. begin
  75. GDK_WINDOW_DESTROYED:=(PGdkWindowObject(GDK_WINDOW(d)))^.destroyed;
  76. end;