package efl

  1. Overview
  2. Docs
type ptr
type obj
type t
type smart_cb = obj -> ptr -> unit
type modifier
type callback_priority = [
  1. | `after
  2. | `before
  3. | `default
]
module Point : sig ... end
type point = Point.t
module Coord_point : sig ... end
type coord_point = Coord_point.t
module Position : sig ... end
type position = Position.t
type button_flags = [
  1. | `none
  2. | `on_hold
  3. | `on_scroll
]
type device
module Coord_precision_point : sig ... end
type coord_precision_point = Coord_precision_point.t
module Precision_position : sig ... end
type precision_position = Precision_position.t
type aspect_control = [
  1. | `both
  2. | `horizontal
  3. | `neither
  4. | `none
  5. | `vertical
]
module Signal : sig ... end
type load_error = [
  1. | `corrupt_file
  2. | `does_not_exist
  3. | `generic
  4. | `none
  5. | `permission_denied
  6. | `resource_allocation_failed
  7. | `unknown_format
]
type gl_api
type map
type display_mode = [
  1. | `compress
  2. | `dont_change
  3. | `expand
  4. | `none
]
type render_op = [
  1. | `add
  2. | `add_rel
  3. | `blend
  4. | `blend_rel
  5. | `copy
  6. | `copy_rel
  7. | `mask
  8. | `mul
  9. | `sub
  10. | `sub_rel
  11. | `tint
  12. | `tint_rel
]
val hint_expand : float
val hint_fill : float
val string_of_ptr : ptr -> string
val string_opt_of_ptr : ptr -> string option
val pointer_canvas_xy_get : t -> int * int
val smart_objects_calculate : t -> unit
val bool_of_ptr : ptr -> bool
val string_string_of_ptr : ptr -> string * string
val store_ptr_bool : ptr -> bool -> unit
val obj_of_ptr : ptr -> obj
val float_of_ptr : ptr -> float
type alloc_error = [
  1. | `fatal
  2. | `none
  3. | `recovered
]
val init : unit -> int
val shutdown : unit -> int
val alloc_error : unit -> alloc_error
val async_events_fd_get : unit -> int
val async_events_process : unit -> int
val render_method_lookup : string -> int
val render_method_list : unit -> string list
val output_method_set : t -> int -> unit
val output_method_get : t -> int
val coord_screen_x_to_world : t -> int -> int
val coord_screen_y_to_world : t -> int -> int
val coord_world_x_to_screen : t -> int -> int
val coord_world_y_to_screen : t -> int -> int
val output_size_set : t -> int -> int -> unit
val output_size_get : t -> int * int
val output_viewport_set : t -> int -> int -> int -> int -> unit
val output_viewport_get : t -> int * int * int * int
val output_framespace_set : t -> int -> int -> int -> int -> unit
val output_framespace_get : t -> int * int * int * int
val image_cache_flush : t -> unit
val image_cache_reload : t -> unit
val image_cache_set : t -> int -> unit
val image_cache_get : t -> int
val image_max_size_get : t -> (int * int) option
val new_ : unit -> t
val free : t -> unit
val focus_in : t -> unit
val focus_out : t -> unit
val focus_state_get : t -> bool
val nochange_push : t -> unit
val nochange_pop : t -> unit
val damage_rectangle_add : t -> int -> int -> int -> int -> unit
val obscured_rectangle_add : t -> int -> int -> int -> int -> unit
val obscured_clear : t -> unit
val render_async : t -> bool
val render_updates : t -> (int * int * int * int) list
val render : t -> unit
val norender : t -> unit
val render_idle_flush : t -> unit
val render_dump : t -> unit
val device_add : t -> device
val device_del : device -> unit
val device_push : t -> device -> unit
val device_pop : t -> unit
val device_list : t -> device option -> device list
val device_name_set : device -> string -> unit
val device_name_get : device -> string option
val device_description_set : device -> string -> unit
val device_description_get : device -> string option
val device_parent_set : device -> device option -> unit
val device_parent_get : device -> device option
val focus_get : t -> obj option
val objects_at_xy_get : t -> int -> int -> bool -> bool -> obj list
val objects_in_rectangle_get : t -> int -> int -> int -> int -> bool -> bool -> obj list
type cserve_stats = {
  1. saved_memory : int;
  2. wasted_memory : int;
  3. save_memory_peak : int;
  4. wasted_memory_peak : int;
  5. saved_time_image_header_load : float;
  6. saved_time_image_data_load : float;
}
type cserve_config = {
  1. cache_max_usage : int;
  2. cache_item_timeout : int;
  3. cache_item_timeout_check : int;
}
val cserve_want_get : unit -> bool
val cserve_connected_get : unit -> bool
val cserve_stats_get : unit -> cserve_stats option
val cserve_config_get : unit -> cserve_config option
val cserve_config_set : cserve_config -> bool
val cserve_disconnected : unit -> unit
val load_error_str : load_error -> string
val color_hsv_to_rgb : float -> float -> float -> int * int * int
val color_rgb_to_hsv : int -> int -> int -> float * float * float
val color_argb_premul : int -> int -> int -> int -> int * int * int
val color_argb_unpremul : int -> int -> int -> int -> int * int * int
val data_argb_premul : int array -> unit
val data_argb_unpremul : int array -> unit
val string_char_next_get : string -> int -> int * Int32.t
val string_char_prev_get : string -> int -> int * Int32.t
val string_char_len_get : string -> int
OCaml

Innovation. Community. Security.