]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderButton.h
Make InsetInfo math/IPA icons visible in dark mode
[lyx.git] / src / insets / RenderButton.h
index 69513f09adc38da022b6370b1e4233be0460e14f..ab68de2947e5bce8bdd4f6009c58ddb3857b37a6 100644 (file)
@@ -30,7 +30,7 @@ public:
        /// compute the size of the object returned in dim
        void metrics(MetricsInfo & mi, Dimension & dim) const override;
        /// draw inset and update (xo, yo)-cache
-       void draw(PainterInfo & pi, int x, int y) const override;
+       void draw(PainterInfo & pi, int x, int y, bool const darkmode = false) const override;
 
        /// Provide the text for the button
        void update(docstring const &, bool editable,