blob: cefda7476afb2f4cbbc14ca9595e17d6a2869529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "SingleChildControl.h"
#include "cru/ui/render/ScrollRenderObject.h"
namespace cru::ui::controls {
class CRU_UI_API ScrollView
: public SingleChildControl<render::ScrollRenderObject> {
public:
static constexpr std::string_view kControlType = "ScrollView";
ScrollView();
CRU_DELETE_COPY(ScrollView)
CRU_DELETE_MOVE(ScrollView)
~ScrollView() override;
public:
std::string GetControlType() const override { return std::string(kControlType); }
};
} // namespace cru::ui::controls
|