X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaMathView.mli;h=bee32796ebaa0457c46f1b2a58ef64e5199f3a77;hb=ddff8ae1e15c9fcaf83320978a5cad509d734a74;hp=6e43d130bb90889f3384335a01e3fcd9f853815a;hpb=1fa0472bfe2ed04c7adf166fa48df687f0022226;p=helm.git diff --git a/helm/matita/matitaMathView.mli b/helm/matita/matitaMathView.mli index 6e43d130b..bee32796e 100644 --- a/helm/matita/matitaMathView.mli +++ b/helm/matita/matitaMathView.mli @@ -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 @@ -23,7 +23,10 @@ * 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,17 +36,37 @@ val proof_viewer : ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> - MatitaTypes.proof_viewer + 'widget -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 -> +val clickableMathView: MatitaGuiTypes.clickableMathView constructor + +val sequentViewer: MatitaGuiTypes.sequentViewer constructor + +val sequentsViewer: + notebook:GPack.notebook -> + sequentViewer:MatitaGuiTypes.sequentViewer -> unit -> - MatitaTypes.sequent_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