diff options
author | DS <vorunbekannt75@web.de> | 2020-04-13 10:50:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 10:50:07 +0200 |
commit | 0ac999ded725f8efcd26db284161683e37efeecf (patch) | |
tree | 24dfe208152ffa5f28d912d1de8e65c13c3704d6 /src/gui/guiHyperText.h | |
parent | 6cf15cf872cc9ce76990d83d380ca3c4b7485eb1 (diff) | |
download | minetest-0ac999ded725f8efcd26db284161683e37efeecf.tar.xz |
Add scroll_container formspec element (redo) (#9101)
New formspec elements:
- `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]`
- `scroll_container_end[]`
Other elements can be embedded in this element. Scrollbar must be placed manually.
Diffstat (limited to 'src/gui/guiHyperText.h')
-rw-r--r-- | src/gui/guiHyperText.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiHyperText.h b/src/gui/guiHyperText.h index c55f8a705..5b936262e 100644 --- a/src/gui/guiHyperText.h +++ b/src/gui/guiHyperText.h @@ -174,7 +174,7 @@ public: void place(const core::rect<s32> &dest_rect); inline s32 getHeight() { return m_height; }; - void draw(const core::rect<s32> &dest_rect, + void draw(const core::rect<s32> &clip_rect, const core::position2d<s32> &dest_offset); ParsedText::Element *getElementAt(core::position2d<s32> pos); ParsedText::Tag *m_hovertag; |