/src/wrappers/gdk/library/gdk_overlap_type.e
http://github.com/tybor/Liberty · Specman e · 39 lines · 28 code · 7 blank · 4 comment · 0 complexity · f3430a403151e98ab568175aa4dc4a0e MD5 · raw file
- indexing
- description: "Enum GdkOverlapType Specifies the possible values returned by gdk_region_rect_in()."
- copyright: "(C) 2006 Paolo Redaelli "
- license: "LGPL v2 or later"
- date: "$Date:$"
- revision: "$Revision:$"
- -- Specifies the possible values returned by gdk_region_rect_in().
- deferred class GDK_OVERLAP_TYPE
- inherit ANY undefine is_equal, copy end
- feature -- enum
- is_valid_overlap_type (a_type :INTEGER): BOOLEAN is
- do
- Result:=((a_type = gdk_overlap_rectangle_in) or else
- (a_type = gdk_overlap_rectangle_out) or else
- (a_type = gdk_overlap_rectangle_part))
- end
-
- gdk_overlap_rectangle_in: INTEGER is
- -- if the rectangle is inside the GdkRegion.
- external "C macro use <gdk/gdk.h>"
- alias "GDK_OVERLAP_RECTANGLE_IN"
- end
-
- gdk_overlap_rectangle_out: INTEGER is
- -- if the rectangle is outside the GdkRegion.
- external "C macro use <gdk/gdk.h>"
- alias "GDK_OVERLAP_RECTANGLE_OUT"
- end
- gdk_overlap_rectangle_part: INTEGER is
- -- if the rectangle is partly inside the GdkRegion.
- external "C macro use <gdk/gdk.h>"
- alias "GDK_OVERLAP_RECTANGLE_PART"
- end
- end