]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetlatexaccent.h
index fb86a5526e2ed9d8494c9fd00fd7d1bb06bc7b82..96228daea66412dc888e996ea37b598d6dfca6a9 100644 (file)
@@ -30,8 +30,7 @@ public:
        ///
        InsetLatexAccent();
        ///
-       explicit
-       InsetLatexAccent(std::string const & str);
+       explicit InsetLatexAccent(std::string const & str);
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -48,13 +47,16 @@ public:
        void read(Buffer const &, LyXLex & lex);
        ///
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &) const;
+       int linuxdoc(Buffer const &, std::ostream &,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
        ///
        bool directWrite() const;
        ///
@@ -116,6 +118,8 @@ private:
        /// Check if we know the modifier and can display it ok on screen.
        void checkContents();
        ///
+       void drawAccent(PainterInfo const & pi, int x, int y, char accent) const;
+       ///
        std::string contents;
        /// can display as proper char
        bool  candisp;