#include "graphics/GraphicsTypes.h"
#include "LString.h"
#include "lyxlength.h"
-
-namespace grfx = lyx::graphics;
+#include "support/filename.h"
class LyXLex;
struct InsetGraphicsParams
{
/// Image filename.
- string filename;
+ lyx::support::FileName filename;
/// Scaling the Screen inside Lyx
unsigned int lyxscale;
/// How to display the image inside LyX
- grfx::DisplayType display;
+ lyx::graphics::DisplayType display;
/// Scaling for output (LaTeX)
float scale;
/// sizes for output (LaTeX)
// Only a subset of InsetGraphicsParams is needed for display purposes.
// This function also interrogates lyxrc to ascertain whether
// to display or not.
- grfx::Params as_grfxParams() const;
+ lyx::graphics::Params as_grfxParams() const;
private:
/// Initialize the object to a default status.