Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
ui_components.hpp File Reference

Additional UI components: ComboBox, Tooltip, ProgressBar, CallOutBox, TabPanel, ListBox, ScrollView. More...

#include <pulp/view/view.hpp>
#include <pulp/view/accessibility.hpp>
#include <pulp/view/input_events.hpp>
#include <algorithm>
#include <pulp/view/animation.hpp>
#include <pulp/view/appearance_tracker.hpp>
#include <pulp/view/slider_core.hpp>
#include <pulp/canvas/canvas.hpp>
#include <functional>
#include <string>
#include <string_view>
#include <vector>
#include <memory>

Go to the source code of this file.

Classes

class  pulp::view::ComboBox
 Drop-down selector for enumerated parameters. More...
class  pulp::view::Tooltip
 Hover tooltip that displays text near a target view. More...
class  pulp::view::ThemeModeControl
 Compact 3-segment control to pick the theme mode: system / light / dark. More...
class  pulp::view::ProgressBar
 Visual progress indicator for long-running operations. More...
class  pulp::view::CallOutBox
 Floating alert/notification box. More...
class  pulp::view::TabPanel
 Tabbed container that shows one child at a time. More...
struct  pulp::view::TabPanel::Tab
class  pulp::view::SegmentedControl
 Horizontal segmented selector — a row of mutually-exclusive labeled segments sharing one inset track, with the selected segment raised as an "elevated" pill (the Ink & Signal navigation treatment, Figma 227:1763). More...
class  pulp::view::ScrollView
 Scrollable container that clips and scrolls its content. More...
class  pulp::view::ListBox
 Scrollable list of selectable items. More...

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Functions

float pulp::view::fit_combo_label (std::string &text, float avail, float base, float min, const std::function< float(const std::string &, float)> &width_at)
ScrollView * pulp::view::find_scroll_view_at (View &root, Point root_point)
 Find the deepest ScrollView whose bounds contain root_point (a point in root's local coordinate space).
View * pulp::view::find_wheel_scroll_view_at (View &root, Point root_point)
 Find the deepest view that participates in native wheel scrolling.

Detailed Description

Additional UI components: ComboBox, Tooltip, ProgressBar, CallOutBox, TabPanel, ListBox, ScrollView.