Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
uia_mapping.hpp File Reference
#include <pulp/view/view.hpp>
#include <array>
#include <cstdint>

Go to the source code of this file.

Classes

struct  pulp::view::uia::PatternSet
 Pattern IDs the provider should advertise for a given role. More...
struct  pulp::view::uia::RuntimeId
 Build the two-element runtime-id key for the fragment at index (its depth-first position among accessible fragments, root excluded). More...

Namespaces

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

Functions

constexpr int32_t pulp::view::uia::role_to_control_type (View::AccessRole role)
 Map a Pulp AccessRole to the best-fit UIA control type.
constexpr PatternSet pulp::view::uia::patterns_for_role (View::AccessRole role)
constexpr bool pulp::view::uia::role_supports_range_value (View::AccessRole role)
 True if a role's pattern set advertises the RangeValue pattern, i.e.
constexpr bool pulp::view::uia::role_supports_value (View::AccessRole role)
 True if a role advertises the Value pattern (IValueProvider).
constexpr bool pulp::view::uia::exposes_range_value (View::AccessRole role, bool has_value_interface)
 IRangeValueProvider needs numeric min/max/current — i.e.
constexpr bool pulp::view::uia::exposes_value (View::AccessRole role, bool has_value_interface, bool has_text_interface, bool has_value_string)
 IValueProvider::get_Value needs SOME string: a value interface's display string, a text interface's content, or the app-set access_value slot.
constexpr bool pulp::view::uia::is_read_only (View::AccessRole role, bool has_value_interface, bool has_editable_text_interface)
 IsReadOnly must mean exactly "SetValue will fail".
constexpr RuntimeId pulp::view::uia::runtime_id_for_index (int index)
constexpr double pulp::view::uia::normalized_value_fraction (double current, double lo, double hi)
 Clamp a raw value into [lo, hi] then map to the [0, 1] fraction UIA's Value pattern reports for a range control when no value-string is available.

Variables

constexpr int32_t pulp::view::uia::kControlTypeButton = 50000
constexpr int32_t pulp::view::uia::kControlTypeCheckBox = 50002
constexpr int32_t pulp::view::uia::kControlTypeComboBox = 50003
constexpr int32_t pulp::view::uia::kControlTypeEdit = 50004
constexpr int32_t pulp::view::uia::kControlTypeHyperlink = 50005
constexpr int32_t pulp::view::uia::kControlTypeImage = 50006
constexpr int32_t pulp::view::uia::kControlTypeListItem = 50007
constexpr int32_t pulp::view::uia::kControlTypeList = 50008
constexpr int32_t pulp::view::uia::kControlTypeMenu = 50009
constexpr int32_t pulp::view::uia::kControlTypeMenuItem = 50011
constexpr int32_t pulp::view::uia::kControlTypeProgressBar = 50012
constexpr int32_t pulp::view::uia::kControlTypeRadioButton = 50013
constexpr int32_t pulp::view::uia::kControlTypeScrollBar = 50014
constexpr int32_t pulp::view::uia::kControlTypeSlider = 50015
constexpr int32_t pulp::view::uia::kControlTypeTab = 50018
constexpr int32_t pulp::view::uia::kControlTypeTabItem = 50019
constexpr int32_t pulp::view::uia::kControlTypeText = 50020
constexpr int32_t pulp::view::uia::kControlTypeCustom = 50025
constexpr int32_t pulp::view::uia::kControlTypeGroup = 50026
constexpr int32_t pulp::view::uia::kControlTypeDataItem = 50029
constexpr int32_t pulp::view::uia::kControlTypeWindow = 50032
constexpr int32_t pulp::view::uia::kControlTypeTable = 50036
constexpr int32_t pulp::view::uia::kPatternValue = 10002
constexpr int32_t pulp::view::uia::kPatternRangeValue = 10003
constexpr int32_t pulp::view::uia::kUiaAppendRuntimeId = 3