1999-11-30 06:59:39 -08:00
|
|
|
(* Tk_GetBitmap emulation *)
|
2002-04-26 05:16:26 -07:00
|
|
|
|
|
|
|
##ifdef CAMLTK
|
|
|
|
|
|
|
|
(* type *)
|
|
|
|
type bitmap =
|
|
|
|
| BitmapFile of string (* path of file *)
|
|
|
|
| Predefined of string (* bitmap name *)
|
|
|
|
;;
|
|
|
|
(* /type *)
|
|
|
|
|
|
|
|
##else
|
|
|
|
|
1999-11-30 06:59:39 -08:00
|
|
|
(* type *)
|
|
|
|
type bitmap = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `File of string (* path of file *)
|
|
|
|
| `Predefined of string (* bitmap name *)
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
2002-04-26 05:16:26 -07:00
|
|
|
;;
|
1999-11-30 06:59:39 -08:00
|
|
|
(* /type *)
|
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
##endif
|