diff options
author | sgeerken <devnull@localhost> | 2012-06-27 16:12:17 +0200 |
---|---|---|
committer | sgeerken <devnull@localhost> | 2012-06-27 16:12:17 +0200 |
commit | d3dd7eb3379c495cfd9a138d36e40a410188f202 (patch) | |
tree | 28506b276d4705780475af1a9dd611f04f157822 /dw/layout.hh | |
parent | 8549cdf4519e800fb0f56ebb48490a6e202418cf (diff) |
First version of automatic hyphenation. (Still a large number of bugs.)
Diffstat (limited to 'dw/layout.hh')
-rw-r--r-- | dw/layout.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh index 45187490..4b80456b 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -290,6 +290,11 @@ public: void scrollPosChanged (View *view, int x, int y); void viewportSizeChanged (View *view, int width, int height); + inline Platform *getPlatform () + { + return platform; + } + /* delegated */ inline int textWidth (style::Font *font, const char *text, int len) |