1#ifndef MALENA_SCROLLPANE_H
2#define MALENA_SCROLLPANE_H
5#include <SFML/Graphics.hpp>
92 float _scrollOffsetY = 0.f;
93 float _scrollOffsetX = 0.f;
94 float _scrollSpeed = 20.f;
95 float _scrollBarWidth = 8.f;
96 float _contentHeightOverride = 0.f;
105 std::vector<ml::Core*> _children;
110 void stackChildren()
const;
111 float getTotalContentHeight()
const;
112 float getTotalContentWidth()
const;
113 void updateScrollBar()
const;
Primary base class for all user-facing Malena components.
Virtual base class for all Malena framework objects.
A framework-integrated rectangle with optional rounded corners.
Vector2< float > Vector2f
Unified manifest resource and config accessor.