(** set hyperlink callback. None disable hyperlink handling *)
method set_href_callback: (string -> unit) option -> unit
+
+ method update_font_size: unit
end
class type sequentViewer =
exception Browser_failure of string
-type term_source =
- [ `Ast of DisambiguateTypes.term
- | `Cic of Cic.term * Cic.metasenv
- | `String of string
- ]
-
class type cicBrowser =
object
- method loadUri: string -> unit
- method loadTerm: term_source -> unit
+ method load: MatitaTypes.mathViewer_entry -> unit
+ (* method loadList: string list -> MatitaTypes.mathViewer_entry -> unit *)
+ method loadInput: string -> unit
end
(** {2 Constructors} *)
val cicBrowser: unit -> cicBrowser
-val refresh_all_browsers: unit -> unit
+(** 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 -> sequentViewer
val sequentsViewer_instance: unit -> sequentsViewer
+val mathViewer: unit -> MatitaTypes.mathViewer
+