inLimbo
TUI Music Player that keeps you in Limbo.
Loading...
Searching...
No Matches
scroller.hpp
Go to the documentation of this file.
1
#ifndef SCROLLER_H
2
#define SCROLLER_H
3
4
#include <algorithm>
// for max, min
5
#include <ftxui/component/component_base.hpp>
// for Component, ComponentBase
6
#include <ftxui/component/event.hpp>
// for Event, Event::ArrowDown, Event::ArrowUp, Event::End, Event::Home, Event::PageDown, Event::PageUp
7
#include <memory>
// for shared_ptr, allocator, __shared_ptr_access
8
#include <utility>
// for move
9
10
#include <ftxui/component/component.hpp>
// for Make
11
#include <ftxui/component/mouse.hpp>
// for Mouse, Mouse::WheelDown, Mouse::WheelUp
12
#include <ftxui/dom/deprecated.hpp>
// for text
13
#include <ftxui/dom/elements.hpp>
// for operator|, Element, size, vbox, EQUAL, HEIGHT, dbox, reflect, focus, inverted, nothing, select, vscroll_indicator, yflex, yframe
14
#include <ftxui/dom/node.hpp>
// for Node
15
#include <ftxui/dom/requirement.hpp>
// for Requirement
16
#include <ftxui/screen/box.hpp>
// for Box
17
18
namespace
ftxui
19
{
20
auto
Scroller
(Component child,
int
* external_selected, Color menu_cursor_bg,
21
Color inactive_menu_cursor_bg) -> Component;
22
}
23
24
#endif
ftxui
Definition
image_view.cpp:17
ftxui::Scroller
auto Scroller(Component child, int *external_selected, Color cursor_bg, Color inactive_menu_cursor_bg) -> Component
Factory function to create a Scroller component.
Definition
scroller.cpp:119
src
ui
components
scroller.hpp
Generated by
1.13.1