File: gdk_rectangle_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 (54 lines) | stat: -rw-r--r-- 1,063 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
-- Copyright 2000 Richie Bielak and others
-- Licensed under Eiffel Forum Freeware License, version 1;
-- (see forum.txt)
--
indexing

	description: "A class that provides access to a GdkRectangle struct"
	author: "Richie Bielak - based on code from VEGTK"
	date: "January 2000, 13"
	version: "v 0.3.5 GTK+ 1.2.x"

class GDK_RECTANGLE_EXTERNALS

feature -- C calls needed to manipulate the struct

	c_gdk_rectangle_new (x, y, w, h: INTEGER): POINTER is
		external "C"
		end

	c_gdk_rectangle_x_set (rp: POINTER; x: INTEGER) is
		external "C"
		end

	c_gdk_rectangle_x (rp: POINTER): INTEGER is
		external "C"
		end

	c_gdk_rectangle_y_set (rp: POINTER; y: INTEGER) is
		external "C"
		end

	c_gdk_rectangle_y (rp: POINTER): INTEGER is
		external "C"
		end

	c_gdk_rectangle_width_set (rp: POINTER; w: INTEGER) is
		external "C"
		end

	c_gdk_rectangle_width (rp: POINTER): INTEGER is
		external "C"
		end

	c_gdk_rectangle_height_set (rp: POINTER; h: INTEGER) is
		external "C"
		end

	c_gdk_rectangle_height (rp: POINTER): INTEGER is
		external "C"
		end

end