]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.C
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetgraphics.C
index b24dc7423eb178f41dff27f5e046f6a56618e3fa..95080ca68496d889d93cfe1e82cac83945a532a6 100644 (file)
@@ -43,7 +43,11 @@ Known BUGS:
                it is done in-place, into the same directory as the original image.
                This needs to be fixed in the src/converter.C file
                [ This is presumed to be fixed, needs testing.]
+
+       * We do not dither or resize the image in a WYSIWYM way, we load it at
+               its original size and color, resizing is done in the final output,
+               but not in the LyX window.
+               
 TODO Before initial production release:
     * Replace insetfig everywhere
         * Read it's file format
@@ -141,6 +145,7 @@ TODO Extended features:
 #include <algorithm> // For the std::max
 #include "support/lyxmanip.h"
 #include "debug.h"
+#include "gettext.h"
 
 extern string system_tempdir;
 
@@ -346,7 +351,9 @@ void InsetGraphics::Read(Buffer const * buf, LyXLex & lex)
        updateInset();
 }
 
-static
+
+namespace {
+
 void formatResize(ostream & os, string const & key,
                  InsetGraphicsParams::Resize resizeType, double size)
 {
@@ -373,6 +380,9 @@ void formatResize(ostream & os, string const & key,
        }
 }
 
+} // namespace anon
+
+
 string const
 InsetGraphics::createLatexOptions() const
 {