summaryrefslogtreecommitdiff
path: root/otherlibs/labltk/builtin/builtin_GetCursor.ml
blob: 7e04015921173efaa92fbaf5178c6e7352c4c89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(* Color *)
(* type *)
type color = [
    `Color string
  | `Black			(* tk keyword: black *)
  | `White			(* tk keyword: white *)
  | `Red			(* tk keyword: red *)
  | `Green			(* tk keyword: green *)
  | `Blue			(* tk keyword: blue *)
  | `Yellow                     (* tk keyword: yellow *)
]
(* /type *)

(* Tk_GetCursor emulation *)
(* type *)
type cursor = [
    `Xcursor string
  | `Xcursorfg string * color
  | `Xcursorfgbg string * color * color
  | `Cursorfilefg string * color
  | `Cursormaskfile string * string * color * color
]
(* /type *)