1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add IGUIScrollbar implementation with variable bar sizes (#8507)

This commit is contained in:
stujones11 2019-05-24 16:42:05 +01:00 committed by rubenwardy
parent a2848c9cde
commit b917ea4723
10 changed files with 543 additions and 14 deletions

View file

@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <iostream>
#include "irrlichttypes_extrabloated.h"
#include "guiScrollBar.h"
class ISimpleTextureSource;
@ -198,7 +199,7 @@ protected:
video::SColor m_highlight_text = video::SColor(255, 255, 255, 255);
s32 m_rowheight = 1;
gui::IGUIFont *m_font = nullptr;
gui::IGUIScrollBar *m_scrollbar = nullptr;
guiScrollBar *m_scrollbar = nullptr;
// Allocated strings and images
std::vector<core::stringw> m_strings;