restructure folder

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-12 20:21:53 +02:00
parent 5e2456f4b8
commit e487b8357a
25 changed files with 7 additions and 8 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include "MenuOptions.h"
#include "Widget.h"
class ScrollBar final : public Widget
{
public:
ScrollBar(const menu_options_t *options, size_t x, size_t y, size_t width, size_t height);
void render() override;
void refresh(size_t value, size_t max, size_t min = 0);
private:
size_t m_x;
size_t m_y;
size_t m_width;
size_t m_height;
size_t m_value;
size_t m_max;
size_t m_min;
size_t m_thumbHeight;
size_t m_thumbY;
};