/src/wrappers/gdk/library/gdk_overlap_type.e
Specman e | 39 lines | 28 code | 7 blank | 4 comment | 0 complexity | f3430a403151e98ab568175aa4dc4a0e MD5 | raw file
1indexing 2 description: "Enum GdkOverlapType Specifies the possible values returned by gdk_region_rect_in()." 3 copyright: "(C) 2006 Paolo Redaelli " 4 license: "LGPL v2 or later" 5 date: "$Date:$" 6 revision: "$Revision:$" 7 8 -- Specifies the possible values returned by gdk_region_rect_in(). 9deferred class GDK_OVERLAP_TYPE 10 11inherit ANY undefine is_equal, copy end 12 13feature -- enum 14 is_valid_overlap_type (a_type :INTEGER): BOOLEAN is 15 do 16 Result:=((a_type = gdk_overlap_rectangle_in) or else 17 (a_type = gdk_overlap_rectangle_out) or else 18 (a_type = gdk_overlap_rectangle_part)) 19 end 20 21 gdk_overlap_rectangle_in: INTEGER is 22 -- if the rectangle is inside the GdkRegion. 23 external "C macro use <gdk/gdk.h>" 24 alias "GDK_OVERLAP_RECTANGLE_IN" 25 end 26 27 gdk_overlap_rectangle_out: INTEGER is 28 -- if the rectangle is outside the GdkRegion. 29 external "C macro use <gdk/gdk.h>" 30 alias "GDK_OVERLAP_RECTANGLE_OUT" 31 end 32 33 gdk_overlap_rectangle_part: INTEGER is 34 -- if the rectangle is partly inside the GdkRegion. 35 external "C macro use <gdk/gdk.h>" 36 alias "GDK_OVERLAP_RECTANGLE_PART" 37 end 38 39end