/usr/lib/ocaml/lablgl/togl.mli is in liblablgl-ocaml-dev 1:1.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 55 56 57 58 59 60 61 62 | (* $Id: togl.mli,v 1.6 2000-04-03 02:57:44 garrigue Exp $ *)
type w
type widget = w Widget.widget
val render : widget -> unit
val swap_buffers : widget -> unit
val height : widget -> int
val width : widget -> int
type font = [
`Fixed_8x13
| `Fixed_9x15
| `Times_10
| `Times_24
| `Helvetica_10
| `Helvetica_12
| `Helvetica_18
| `Xfont of string
]
val load_bitmap_font : widget -> font:font -> GlList.base
val unload_bitmap_font : widget -> base:GlList.base -> unit
val use_layer : widget -> num:int -> unit
val show_overlay : widget -> unit
val hide_overlay : widget -> unit
val overlay_redisplay : widget -> unit
val exists_overlay : widget -> bool
val get_overlay_transparent_value : widget -> int
val make_current : widget -> unit
val display_func : widget -> cb:(unit -> unit) -> unit
val reshape_func : widget -> cb:(unit -> unit) -> unit
val overlay_display_func : widget -> cb:(unit -> unit) -> unit
val dump_to_eps_file :
filename:string -> ?rgba:bool -> ?render:(unit -> unit) -> widget -> unit
val timer_func : ms:int -> cb:(unit -> unit) -> unit
val configure : ?height:int -> ?width:int -> widget -> string
val create :
?name:string ->
?accum:bool ->
?accumalphasize:int ->
?accumbluesize:int ->
?accumgreensize:int ->
?accumredsize:int ->
?alpha:bool ->
?alphasize:int ->
?auxbuffers:int ->
?bluesize:int ->
?depth:bool ->
?depthsize:int ->
?double:bool ->
?greensize:int ->
?height:int ->
?overlay:bool ->
?privatecmap:bool ->
?redsize:int ->
?rgba:bool ->
?stencil:bool ->
?stencilsize:int -> ?stereo:bool -> ?width:int -> 'a Widget.widget -> widget
|