File: gdk_pixmap_externals.e

package info (click to toggle)
egtk 0.3.5.cvs20020302-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,900 kB
  • ctags: 5,118
  • sloc: ansic: 2,212; makefile: 247; sh: 113
file content (77 lines) | stat: -rw-r--r-- 1,894 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
indexing

	description: "A class that provides access to a pixmap"
	author: "Richie Bielak"
	date: "July 19th, 1999"
	version: "v 0.3.5 GTK+ 1.2.x"
	gtk_version: "1.2"

class GDK_PIXMAP_EXTERNALS

feature

	gdk_pixmap_new (window: POINTER; width, height, depth: INTEGER): POINTER is
			-- GdkWindow  *window,
			-- gint	     width,
			-- gint	     height,
			-- gint	     depth
		external "C"
		end

	gdk_pixmap_create_from_data (window: POINTER; data: POINTER; width, height, depth: INTEGER;
								 fg_color, bg_color: POINTER): POINTER is
			-- GdkWindow   *window
			-- const gchar *data
			-- gint	      width
			-- gint	      height
			-- gint	      depth
			-- GdkColor    *fg
			-- GdkColor    *bg
		external "C"
		end
								 
	gdk_pixmap_create_from_xpm (window, mask, transparent_color, file_name: POINTER): POINTER is
			-- GdkWindow  *window,
			-- GdkBitmap **mask,
			-- GdkColor   *transparent_color,
			-- const gchar *filename
		external "C"
		end
	
	gdk_pixmap_colormap_create_from_xpm (window, colormap, mask, transparent_color,
										 file_name: POINTER): POINTER is
			-- GdkWindow  *window,
			-- GdkColormap *colormap,
			-- GdkBitmap **mask,
			-- GdkColor   *transparent_color,
			-- const gchar *filename
		external "C"
		end
	
	gdk_pixmap_create_from_xpm_d (window, mask, transparent_color, data: POINTER): POINTER is
			-- GdkWindow  *window,
			-- GdkBitmap **mask,
			-- GdkColor   *transparent_color,
			-- gchar	   **data
		external "C"
		end

	gdk_pixmap_colormap_create_from_xpm_d (window, colormap, mask, tranparent_color, 
										   data: POINTER): POINTER is
			-- GdkWindow   *window,
			-- GdkColormap *colormap,
			-- GdkBitmap  **mask,
			-- GdkColor    *transparent_color,
			-- gchar     **data
		external "C"
		end

	gdk_pixmap_unref (p: POINTER) is
		external "C"
		end

	gdk_pixmap_ref (p: POINTER) : POINTER is
		external "C"
		end

end