mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Forgot this!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16166 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e318e0e4ef
commit
b056d35db4
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#include "frontends/FontMetrics.h"
|
#include "frontends/FontMetrics.h"
|
||||||
|
|
||||||
|
#include "dimension.h"
|
||||||
|
|
||||||
#include "support/docstring.h"
|
#include "support/docstring.h"
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
@ -31,6 +33,8 @@ public:
|
|||||||
|
|
||||||
virtual int maxDescent() const { return 1; }
|
virtual int maxDescent() const { return 1; }
|
||||||
|
|
||||||
|
virtual Dimension const defaultDimension() const { return Dimension(1, 1, 1); }
|
||||||
|
|
||||||
virtual int width(char_type) const { return 1; }
|
virtual int width(char_type) const { return 1; }
|
||||||
|
|
||||||
virtual int ascent(char_type) const { return 1; }
|
virtual int ascent(char_type) const { return 1; }
|
||||||
@ -50,6 +54,8 @@ public:
|
|||||||
return FontMetrics::width(s);
|
return FontMetrics::width(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual Dimension const dimension(char_type c) const { return Dimension(1, 1, 1); }
|
||||||
|
|
||||||
virtual void rectText(docstring const &,
|
virtual void rectText(docstring const &,
|
||||||
int & /*width*/, int & /*ascent*/, int & /*descent*/) const {}
|
int & /*width*/, int & /*ascent*/, int & /*descent*/) const {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user