X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FPreviewImage.h;h=2a112b76a169e1e6818eb699b0de323e4504f4bf;hb=9d00e2ec0a26dba68b90252b7fe8c02e2e448b28;hp=6ec29a36badd1dbb3b84b009d59e12967f9c17a3;hpb=98ddc514dabfb2556fdfc6c9a8531daf838bebbb;p=lyx.git diff --git a/src/graphics/PreviewImage.h b/src/graphics/PreviewImage.h index 6ec29a36ba..2a112b76a1 100644 --- a/src/graphics/PreviewImage.h +++ b/src/graphics/PreviewImage.h @@ -18,6 +18,8 @@ namespace lyx { namespace support { class FileName; } +class Dimension; + namespace graphics { class PreviewLoader; @@ -38,11 +40,7 @@ public: /// std::string const & snippet() const; /// - int ascent() const; - /// - int descent() const; - /// - int width() const; + Dimension dim() const; /** If the image is not yet loaded (WaitingToLoad), then this method * triggers that.