1999-11-30 06:59:39 -08:00
|
|
|
(* Color *)
|
|
|
|
(* type *)
|
|
|
|
type color = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Color of string
|
1999-11-30 06:59:39 -08:00
|
|
|
| `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 = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Xcursor of string
|
|
|
|
| `Xcursorfg of string * color
|
|
|
|
| `Xcursorfgbg of string * color * color
|
|
|
|
| `Cursorfilefg of string * color
|
|
|
|
| `Cursormaskfile of string * string * color * color
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
|
|
|
(* /type *)
|
|
|
|
|