|
OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
|
Wrapper for a color script input. More...
#include <input_color.hpp>
Public Member Functions | |
| InputColor (const ffi::InputColor &data) | |
| Constructs from FFI data. | |
| int64_t | id () const |
| Input ID. | |
| uint32_t | defaultValue () const |
| Default color (e.g. 0xAARRGGBB). | |
| std::optional< std::string_view > | title () const |
| Optional title. | |
| std::optional< std::string_view > | tooltip () const |
| Optional tooltip. | |
| std::optional< std::string_view > | inlineGroup () const |
| Optional inline group name. | |
| std::optional< std::string_view > | group () const |
| Optional group name. | |
| uint64_t | display () const |
| Display bitmask. | |
| bool | active () const |
| Whether the input is active. | |
| bool | confirm () const |
| Whether the input requires confirmation. | |
Wrapper for a color script input.
Definition at line 25 of file input_color.hpp.
|
inlineexplicit |
Constructs from FFI data.
Definition at line 28 of file input_color.hpp.
|
inline |
Whether the input is active.
Definition at line 52 of file input_color.hpp.
|
inline |
Whether the input requires confirmation.
Definition at line 54 of file input_color.hpp.
|
inline |
Default color (e.g. 0xAARRGGBB).
Definition at line 32 of file input_color.hpp.
|
inline |
Display bitmask.
Definition at line 50 of file input_color.hpp.
|
inline |
Optional group name.
Definition at line 46 of file input_color.hpp.
References openpine::detail::optRefToView().
|
inline |
Input ID.
Definition at line 30 of file input_color.hpp.
|
inline |
Optional inline group name.
Definition at line 42 of file input_color.hpp.
References openpine::detail::optRefToView().
|
inline |
Optional title.
Definition at line 34 of file input_color.hpp.
References openpine::detail::optRefToView().
|
inline |
Optional tooltip.
Definition at line 38 of file input_color.hpp.
References openpine::detail::optRefToView().