open X11
(*let font = font_load "Times New Roman:pixelsize=14"*)
-let font = font_load "Liberation Mono:size=10"
+let font = font_load "Monospace:size=10"
(* Drawing functions
******************************************************************************)
let draw_edit pos width height =
draw_dark_bkg (width - pos.x) (height - pos.y) pos;
- draw_text "This is the edit region" pos;
- ()
+ draw_text "This is the edit region" pos
(* Event functions
******************************************************************************)
let pos = draw_status pos width "UNSI> *scratch*" in
let pos = draw_tags pos width (height / font.height / 4) "Sample tags data" in
let pos = draw_scroll pos height in
- draw_edit pos width height;
+ let _ = draw_edit pos width height in
flip ()
let onshutdown () =