4#include <gtkmm/eventbox.h>
6#include <gtkmm/drawingarea.h>
7#if GTKMM_MINOR_VERSION>=10
8#include <gtkmm/revealer.h>
25 std::shared_ptr<TeXEngine::TeXRequest>
content;
30#if GTKMM_MINOR_VERSION>=10
38 virtual bool on_draw(
const Cairo::RefPtr<Cairo::Context>& cr)
override;
44 void update_image(std::shared_ptr<TeXEngine::TeXRequest>,
double scale);
68 virtual void on_show()
override;
TeXEngine is used to convert LaTeX strings into PNG images.
Definition TeXEngine.hh:23
double scale_
Definition TeXView.hh:51
virtual bool on_draw(const Cairo::RefPtr< Cairo::Context > &cr) override
Definition TeXView.cc:116
Glib::RefPtr< Gdk::Pixbuf > pixbuf
The actual image is stored in the image referenced by pixbuf.
Definition TeXView.hh:50
TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that.
Definition TeXView.hh:20
Gtk::VBox vbox
Definition TeXView.hh:33
TeXView(TeXEngine &, DTree::iterator, int hmargin=25)
Definition TeXView.cc:11
virtual bool on_button_release_event(GdkEventButton *) override
Definition TeXView.cc:79
TeXEngine & engine
Definition TeXView.hh:74
void dim(bool)
Dim the output to indicate that the result is no longer guaranteed to be correlated with the input ce...
Definition TeXView.cc:73
virtual ~TeXView()
Definition TeXView.cc:34
TeXArea image
Definition TeXView.hh:54
DTree::iterator datacell
Definition TeXView.hh:29
void update_image()
Update the TeX image.
Definition TeXView.cc:85
virtual void on_show() override
Definition TeXView.cc:39
std::shared_ptr< TeXEngine::TeXRequest > content
Definition TeXView.hh:25
Gtk::HBox hbox
Definition TeXView.hh:34
void convert()
Definition TeXView.cc:53
sigc::signal1< bool, DTree::iterator > show_hide_requested
Definition TeXView.hh:27
sigc::signal1< bool, std::string > tex_error
Definition TeXView.hh:64
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83