]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewpage.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetNewpage.h
index 6473149a13ffe8fb7444180472ae1e58e44c7435..db3f2e1fc0209e49f968449d7e112bbadbf038e7 100644 (file)
@@ -14,7 +14,7 @@
 
 
 #include "Inset.h"
-#include "gettext.h"
+#include "support/gettext.h"
 
 
 namespace lyx {
@@ -50,6 +50,8 @@ public:
 
        virtual std::string getCmdName() const { return "\\newpage"; }
 
+       virtual ColorCode ColorName() const { return Color_newpage; }
+
 private:
        virtual Inset * clone() const
        {
@@ -66,6 +68,8 @@ public:
 
        std::string getCmdName() const { return "\\pagebreak"; }
 
+       ColorCode ColorName() const { return Color_pagebreak; }
+
 private:
        virtual Inset * clone() const
        {