/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

  1. indexing
  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. -- Specifies the possible values returned by gdk_region_rect_in().
  8. deferred class GDK_OVERLAP_TYPE
  9. inherit ANY undefine is_equal, copy end
  10. feature -- enum
  11. is_valid_overlap_type (a_type :INTEGER): BOOLEAN is
  12. do
  13. Result:=((a_type = gdk_overlap_rectangle_in) or else
  14. (a_type = gdk_overlap_rectangle_out) or else
  15. (a_type = gdk_overlap_rectangle_part))
  16. end
  17. gdk_overlap_rectangle_in: INTEGER is
  18. -- if the rectangle is inside the GdkRegion.
  19. external "C macro use <gdk/gdk.h>"
  20. alias "GDK_OVERLAP_RECTANGLE_IN"
  21. end
  22. gdk_overlap_rectangle_out: INTEGER is
  23. -- if the rectangle is outside the GdkRegion.
  24. external "C macro use <gdk/gdk.h>"
  25. alias "GDK_OVERLAP_RECTANGLE_OUT"
  26. end
  27. gdk_overlap_rectangle_part: INTEGER is
  28. -- if the rectangle is partly inside the GdkRegion.
  29. external "C macro use <gdk/gdk.h>"
  30. alias "GDK_OVERLAP_RECTANGLE_PART"
  31. end
  32. end