HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
widgets
scroll_delegate.hpp
1
// Copyright Take Vos 2021.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "../geometry/axis.hpp"
8
#include <memory>
9
#include <functional>
10
11
namespace
tt {
12
template
<axis,
bool
>
13
class
scroll_widget;
14
15
template
<axis Axis,
bool
ControlsWindow>
16
class
scroll_delegate
{
17
public
:
18
virtual
~scroll_delegate
() =
default
;
19
virtual
void
init(
scroll_widget<Axis,ControlsWindow>
&sender)
noexcept
{}
20
virtual
void
deinit(
scroll_widget<Axis, ControlsWindow>
&sender)
noexcept
{}
21
};
22
23
}
// namespace tt
tt::scroll_widget
The scroll widget allows a content widget to be shown in less space than is required.
Definition
scroll_widget.hpp:43
tt::scroll_delegate
Definition
scroll_delegate.hpp:16
Generated on Mon Apr 22 2024 12:53:32 for HikoGUI by
1.10.0