2 * Copyright (C) 2008-2011 Robert Ancell
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation, either version 2 of the License, or (at your option) any later
7 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
11 #ifndef MATH_DISPLAY_H
12 #define MATH_DISPLAY_H
14 #include <glib-object.h>
17 #include "math-equation.h"
21 #define MATH_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), math_display_get_type(), MathDisplay))
23 typedef struct MathDisplayPrivate MathDisplayPrivate
;
27 GtkViewport parent_instance
;
28 MathDisplayPrivate
*priv
;
33 GtkViewportClass parent_class
;
36 GType
math_display_get_type(void);
38 MathDisplay
*math_display_new(void);
40 MathDisplay
*math_display_new_with_equation(MathEquation
*equation
);
42 MathEquation
*math_display_get_equation(MathDisplay
*display
);
46 #endif /* MATH_DISPLAY_H */