]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaMathView.mli
Committing all the recent development of Andrea after the merge between his
[helm.git] / helm / matita / matitaMathView.mli
index 02141cde508979e86cdb2a42be519586d3e3d451..bee32796ebaa0457c46f1b2a58ef64e5199f3a77 100644 (file)
@@ -1,4 +1,4 @@
-(* Copyright (C) 2004, HELM Team.
+(* Copyright (C) 2004-2005, HELM Team.
  * 
  * This file is part of HELM, an Hypertextual, Electronic
  * Library of Mathematics, developed at the Computer Science
  * http://helm.cs.unibo.it/
  *)
 
-val proof_viewer:
+(** {2 Constructors} *)
+
+  (** meta constructor *)
+type 'widget constructor =
   ?hadjustment:GData.adjustment ->
   ?vadjustment:GData.adjustment ->
   ?font_size:int ->
@@ -33,28 +36,37 @@ val proof_viewer:
   ?packing:(GObj.widget -> unit) ->
   ?show:bool ->
   unit ->
-    MatitaTypes.proof_viewer
+    'widget
 
-  (** singleton proof_viewer instance.
-  * Uses singleton GUI instance *)
-val proof_viewer_instance: unit -> MatitaTypes.proof_viewer
+val clickableMathView:  MatitaGuiTypes.clickableMathView constructor
 
-val sequent_viewer:
-  ?hadjustment:GData.adjustment ->
-  ?vadjustment:GData.adjustment ->
-  ?font_size:int ->
-  ?log_verbosity:int ->
-  ?width:int ->
-  ?height:int ->
-  ?packing:(GObj.widget -> unit) ->
-  ?show:bool ->
-  unit ->
-    MatitaTypes.sequent_viewer
+val sequentViewer:      MatitaGuiTypes.sequentViewer constructor
 
-val sequents_viewer:
+val sequentsViewer:
   notebook:GPack.notebook ->
-  sequent_viewer:MatitaTypes.sequent_viewer ->
-  set_goal:(int -> unit) ->
+  sequentViewer:MatitaGuiTypes.sequentViewer ->
   unit ->
-    MatitaTypes.sequents_viewer
+    MatitaGuiTypes.sequentsViewer
+
+val cicBrowser: unit -> MatitaGuiTypes.cicBrowser
+
+(** {2 Mathview wide functions} *)
+
+val increase_font_size:   unit -> unit
+val decrease_font_size:   unit -> unit
+val reset_font_size:      unit -> unit
+
+val refresh_all_browsers: unit -> unit  (** act on all cicBrowsers *)
+val update_font_sizes:    unit -> unit
+
+(** {2 Singleton instances} *)
+
+val sequentViewer_instance:   unit -> MatitaGuiTypes.sequentViewer
+val sequentsViewer_instance:  unit -> MatitaGuiTypes.sequentsViewer
+
+val mathViewer:               unit -> MatitaTypes.mathViewer
+
+(** {2 Initialization} *)
+
+val set_gui: MatitaGuiTypes.gui -> unit