]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
Use iround function, amend c0ce79452f
[lyx.git] / src / graphics / GraphicsTypes.h
index f3e37b54c8266fbe25ccca69357f1ae8c85ac7c9..90d390cae1c01192a3b32b41887eaeaacab6530f 100644 (file)
@@ -15,9 +15,7 @@
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
-#include "support/translator.h"
-
-#include <string>
+#include "support/strfwd.h"
 
 
 namespace lyx {
@@ -51,24 +49,6 @@ enum ImageStatus {
        ErrorUnknown
 };
 
-/// How is the image to be displayed on the LyX screen?
-enum DisplayType {
-       ///
-       DefaultDisplay,
-       ///
-       MonochromeDisplay,
-       ///
-       GrayscaleDisplay,
-       ///
-       ColorDisplay,
-       ///
-       NoDisplay
-};
-
-
-/// The translator between the Display enum and corresponding lyx string.
-Translator<DisplayType, std::string> const & displayTranslator();
-
 } // namespace graphics
 } // namespace lyx