]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbutton.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetbutton.h
index 9d5deb926666faed8ec585f8b495fe1621285671..04b5cd1df8ceaf3924ec21495356dc68af93e57c 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef INSET_BUTTON_H
 #define INSET_BUTTON_H
 
-
 #include "inset.h"
 #include "LString.h"
 #include <boost/weak_ptr.hpp>
@@ -24,9 +23,9 @@
 class InsetButton: public Inset {
 public:
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
-       void draw(BufferView *, LyXFont const &, int, float &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
        dispatch_result localDispatch(FuncRequest const & cmd);