]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaMisc.mli
Porting to ocaml 5
[helm.git] / matita / matita / matitaMisc.mli
index eec60932d69a0db08a5083c95543fcfa59c73d38..c189861c65a65cad7373c70e5926e33329c2ec62 100644 (file)
@@ -35,7 +35,8 @@ val is_proof_object: string -> bool
   * it *)
 val append_phrase_sep: string -> string
 
-val normalize_dir: string -> string (** add trailing "/" if missing *)
+  (** add trailing "/" if missing *)
+val normalize_dir: string -> string
 val strip_suffix: suffix:string -> string -> string
 
   (** @return tl tail of a list starting at a given element
@@ -50,8 +51,12 @@ type 'a memento
 class type ['a] history =
   object ('b)
     method add : 'a -> unit
-    method next : 'a        (** @raise History_failure *)
-    method previous : 'a    (** @raise History_failure *)
+
+     (** @raise History_failure *)
+    method next : 'a
+
+     (** @raise History_failure *)
+    method previous : 'a
     method load: 'a memento -> unit
     method save: 'a memento
     method is_begin: bool 
@@ -79,3 +84,18 @@ val shutup: unit -> unit
 
   (** outputs the preamble of a generated .ma file *)
 val out_preamble: out_channel -> unit
+
+val left_button: int
+val right_button: int
+
+(** {2 Global changes} *)
+
+val observe_font_size: (int -> unit) -> unit
+val get_current_font_size: unit -> int
+val increase_font_size: unit -> unit
+val decrease_font_size: unit -> unit
+val reset_font_size: unit -> unit
+
+(** CSC: these functions should completely disappear (bad design) *)
+val set_gui: MatitaGuiTypes.gui -> unit
+val get_gui: unit -> MatitaGuiTypes.gui