![]() |
CYD-UI
A C++ library for building native graphic user interfaces
|
Classes | |
struct | event_handler_t |
struct | props_t |
Public Types | |
using | window_type = cydui::CWindow |
using | state_t = std::conditional_t< is_type_complete_v<struct state_type>, state_type, cydui::components::component_state_t> |
using | style_t = std::conditional_t< is_type_complete_v<struct style_type>, style_type, cydui::components::simple_style_t> |
![]() | |
using | sptr = std::shared_ptr<component_base_t> |
using | wptr = std::weak_ptr<component_base_t> |
Public Member Functions | |
plot (std::initializer_list< data_series_t > &&series_) | |
plot (const plot &rhl) | |
template<typename P = props_t> | |
plot (std::enable_if_t< std::is_default_constructible_v< P >, props_t > props={}, cydui::components::identifier_t identifier={}) | |
plot (props_t props, cydui::components::identifier_t identifier={}) | |
~plot () override=default | |
void * | get_props () override |
auto & | style (const std::function< void(style_t &)> &style_transform) |
![]() | |
component_t (identifier_t identifier={}) | |
~component_t () override | |
attrs_component * | attrs () final |
std::string | name () const final |
component_base_t * | find_by_coords (dimension_t::value_type x, dimension_t::value_type y) final |
component_dimensional_relations_t | get_dimensional_relations () final |
std::shared_ptr< dimension_ctx_t > | get_dimensional_context () final |
const refl::type_info & | get_style_type_info () const final |
plot & | tag (const std::unordered_set< std::string > &tags) |
plot & | tag (const std::string &tag_) |
plot & | untag (const std::unordered_set< std::string > &tags) |
plot & | untag (const std::string &tag_) |
plot & | set_id (const std::string &id_) |
plot & | margin_top (const dimension_t &value) |
plot & | margin_top (dimension_t &&value) |
plot & | margin_top (const dimension_parameter_t &value) |
plot & | margin_top (float value) |
plot & | margin_top (double value) |
plot & | margin_top (int value) |
plot & | margin_top (dimension_t &value) |
plot & | margin_top (const DimType &value) |
plot & | margin_top (DimType &&value) |
plot & | margin_right (const dimension_t &value) |
plot & | margin_right (dimension_t &&value) |
plot & | margin_right (const dimension_parameter_t &value) |
plot & | margin_right (float value) |
plot & | margin_right (double value) |
plot & | margin_right (int value) |
plot & | margin_right (dimension_t &value) |
plot & | margin_right (const DimType &value) |
plot & | margin_right (DimType &&value) |
plot & | margin_bottom (const dimension_t &value) |
plot & | margin_bottom (dimension_t &&value) |
plot & | margin_bottom (const dimension_parameter_t &value) |
plot & | margin_bottom (float value) |
plot & | margin_bottom (double value) |
plot & | margin_bottom (int value) |
plot & | margin_bottom (dimension_t &value) |
plot & | margin_bottom (const DimType &value) |
plot & | margin_bottom (DimType &&value) |
plot & | margin_left (const dimension_t &value) |
plot & | margin_left (dimension_t &&value) |
plot & | margin_left (const dimension_parameter_t &value) |
plot & | margin_left (float value) |
plot & | margin_left (double value) |
plot & | margin_left (int value) |
plot & | margin_left (dimension_t &value) |
plot & | margin_left (const DimType &value) |
plot & | margin_left (DimType &&value) |
plot & | margin (const dimension_t &value) |
plot & | margin (dimension_t &&value) |
plot & | margin (const dimension_parameter_t &value) |
plot & | margin (float value) |
plot & | margin (double value) |
plot & | margin (int value) |
plot & | margin (dimension_t &value) |
plot & | margin (const DimType &value) |
plot & | margin (DimType &&value) |
plot & | padding_top (const dimension_t &value) |
plot & | padding_top (dimension_t &&value) |
plot & | padding_top (const dimension_parameter_t &value) |
plot & | padding_top (float value) |
plot & | padding_top (double value) |
plot & | padding_top (int value) |
plot & | padding_top (dimension_t &value) |
plot & | padding_top (const DimType &value) |
plot & | padding_top (DimType &&value) |
plot & | padding_right (const dimension_t &value) |
plot & | padding_right (dimension_t &&value) |
plot & | padding_right (const dimension_parameter_t &value) |
plot & | padding_right (float value) |
plot & | padding_right (double value) |
plot & | padding_right (int value) |
plot & | padding_right (dimension_t &value) |
plot & | padding_right (const DimType &value) |
plot & | padding_right (DimType &&value) |
plot & | padding_bottom (const dimension_t &value) |
plot & | padding_bottom (dimension_t &&value) |
plot & | padding_bottom (const dimension_parameter_t &value) |
plot & | padding_bottom (float value) |
plot & | padding_bottom (double value) |
plot & | padding_bottom (int value) |
plot & | padding_bottom (dimension_t &value) |
plot & | padding_bottom (const DimType &value) |
plot & | padding_bottom (DimType &&value) |
plot & | padding_left (const dimension_t &value) |
plot & | padding_left (dimension_t &&value) |
plot & | padding_left (const dimension_parameter_t &value) |
plot & | padding_left (float value) |
plot & | padding_left (double value) |
plot & | padding_left (int value) |
plot & | padding_left (dimension_t &value) |
plot & | padding_left (const DimType &value) |
plot & | padding_left (DimType &&value) |
plot & | padding (const dimension_t &value) |
plot & | padding (dimension_t &&value) |
plot & | padding (const dimension_parameter_t &value) |
plot & | padding (float value) |
plot & | padding (double value) |
plot & | padding (int value) |
plot & | padding (dimension_t &value) |
plot & | padding (const DimType &value) |
plot & | padding (DimType &&value) |
plot & | border_top (const vg::paint::solid &value) |
plot & | border_top (vg::paint::solid &&value) |
plot & | border_top (const vg::paint::gradient::linear &value) |
plot & | border_top (vg::paint::gradient::linear &&value) |
plot & | border_top (const vg::paint::gradient::radial &value) |
plot & | border_top (vg::paint::gradient::radial &&value) |
plot & | border_right (const vg::paint::solid &value) |
plot & | border_right (vg::paint::solid &&value) |
plot & | border_right (const vg::paint::gradient::linear &value) |
plot & | border_right (vg::paint::gradient::linear &&value) |
plot & | border_right (const vg::paint::gradient::radial &value) |
plot & | border_right (vg::paint::gradient::radial &&value) |
plot & | border_bottom (const vg::paint::solid &value) |
plot & | border_bottom (vg::paint::solid &&value) |
plot & | border_bottom (const vg::paint::gradient::linear &value) |
plot & | border_bottom (vg::paint::gradient::linear &&value) |
plot & | border_bottom (const vg::paint::gradient::radial &value) |
plot & | border_bottom (vg::paint::gradient::radial &&value) |
plot & | border_left (const vg::paint::solid &value) |
plot & | border_left (vg::paint::solid &&value) |
plot & | border_left (const vg::paint::gradient::linear &value) |
plot & | border_left (vg::paint::gradient::linear &&value) |
plot & | border_left (const vg::paint::gradient::radial &value) |
plot & | border_left (vg::paint::gradient::radial &&value) |
plot & | border (const vg::paint::solid &value) |
plot & | border (vg::paint::solid &&value) |
plot & | border (const vg::paint::gradient::linear &value) |
plot & | border (vg::paint::gradient::linear &&value) |
plot & | border (const vg::paint::gradient::radial &value) |
plot & | border (vg::paint::gradient::radial &&value) |
plot & | border_width_top (const int &value) |
plot & | border_width_top (int &&value) |
plot & | border_width_right (const int &value) |
plot & | border_width_right (int &&value) |
plot & | border_width_bottom (const int &value) |
plot & | border_width_bottom (int &&value) |
plot & | border_width_left (const int &value) |
plot & | border_width_left (int &&value) |
plot & | border_width (const int &value) |
plot & | border_width (int &&value) |
plot & | border_radius_top_left (const int &value) |
plot & | border_radius_top_left (int &&value) |
plot & | border_radius_top_right (const int &value) |
plot & | border_radius_top_right (int &&value) |
plot & | border_radius_bottom_right (const int &value) |
plot & | border_radius_bottom_right (int &&value) |
plot & | border_radius_bottom_left (const int &value) |
plot & | border_radius_bottom_left (int &&value) |
plot & | border_radius (const int &value) |
plot & | border_radius (int &&value) |
plot & | border_dasharray_top (const std::valarray< double > &value) |
plot & | border_dasharray_top (std::valarray< double > &&value) |
plot & | border_dasharray_right (const std::valarray< double > &value) |
plot & | border_dasharray_right (std::valarray< double > &&value) |
plot & | border_dasharray_bottom (const std::valarray< double > &value) |
plot & | border_dasharray_bottom (std::valarray< double > &&value) |
plot & | border_dasharray_left (const std::valarray< double > &value) |
plot & | border_dasharray_left (std::valarray< double > &&value) |
plot & | border_dasharray (const std::valarray< double > &value) |
plot & | border_dasharray (std::valarray< double > &&value) |
plot & | background (const vg::paint::solid &value) |
plot & | background (vg::paint::solid &&value) |
plot & | background (const vg::paint::gradient::linear &value) |
plot & | background (vg::paint::gradient::linear &&value) |
plot & | background (const vg::paint::gradient::radial &value) |
plot & | background (vg::paint::gradient::radial &&value) |
plot & | opacity (const la::scalar &value) |
plot & | opacity (la::scalar &&value) |
plot & | translate_x (const la::scalar &value) |
plot & | translate_x (la::scalar &&value) |
plot & | translate_y (const la::scalar &value) |
plot & | translate_y (la::scalar &&value) |
plot & | translate (const la::vec< 2 > &value) |
plot & | translate (la::vec< 2 > &&value) |
plot & | scale_x (const la::scalar &value) |
plot & | scale_x (la::scalar &&value) |
plot & | scale_y (const la::scalar &value) |
plot & | scale_y (la::scalar &&value) |
plot & | scale (const la::vec< 2 > &value) |
plot & | scale (la::vec< 2 > &&value) |
plot & | rotation (const angle_type &value) |
plot & | rotation (angle_type &&value) |
![]() | |
component_base_t (identifier_t identifier={}) | |
virtual | ~component_base_t ()=default |
component_state_ref | state () const |
template<typename T> | |
auto & | get_data () |
template<typename T> | |
bool | remove_data () |
template<typename ContextType> | |
void | add_context (provide_context< ContextType > &ptr) |
template<typename ContextType> | |
std::optional< ContextType * > | find_context () |
internal_relations_t & | get_internal_relations () |
event_dispatcher_base_t * | get_event_dispatcher () |
style_base_t & | get_style () |
style_data_base_t & | get_style_data () |
void | clear_children () |
void | set_id (const std::string &id) |
std::string | get_id () |
std::string | get_id () const |
void | tag (const std::string &tag_) |
void | untag (const std::string &tag_) |
bool | has_tag (const std::string &tag_) const |
std::optional< sptr > | find_child (const std::string &id) |
std::list< sptr > | find_children (const std::string &id) |
void | x (const dimension_t &value) |
void | x (dimension_t &&value) |
void | x (const dimension_parameter_t &value) |
void | x (float value) |
void | x (double value) |
void | x (int value) |
void | x (dimension_t &value) |
template<typename DimType> | |
void | x (const DimType &value) |
template<typename DimType> | |
void | x (DimType &&value) |
void | y (const dimension_t &value) |
void | y (dimension_t &&value) |
void | y (const dimension_parameter_t &value) |
void | y (float value) |
void | y (double value) |
void | y (int value) |
void | y (dimension_t &value) |
template<typename DimType> | |
void | y (const DimType &value) |
template<typename DimType> | |
void | y (DimType &&value) |
void | width (const dimension_t &value) |
void | width (dimension_t &&value) |
void | width (const dimension_parameter_t &value) |
void | width (float value) |
void | width (double value) |
void | width (int value) |
void | width (dimension_t &value) |
template<typename DimType> | |
void | width (const DimType &value) |
template<typename DimType> | |
void | width (DimType &&value) |
void | height (const dimension_t &value) |
void | height (dimension_t &&value) |
void | height (const dimension_parameter_t &value) |
void | height (float value) |
void | height (double value) |
void | height (int value) |
void | height (dimension_t &value) |
template<typename DimType> | |
void | height (const DimType &value) |
template<typename DimType> | |
void | height (DimType &&value) |
void | margin_top (const dimension_t &value) |
void | margin_top (dimension_t &&value) |
void | margin_right (const dimension_t &value) |
void | margin_right (dimension_t &&value) |
void | margin_bottom (const dimension_t &value) |
void | margin_bottom (dimension_t &&value) |
void | margin_left (const dimension_t &value) |
void | margin_left (dimension_t &&value) |
void | margin (const dimension_t &value) |
void | margin (dimension_t &&value) |
void | margin_top (const dimension_parameter_t &value) |
void | margin_top (float value) |
void | margin_top (double value) |
void | margin_top (int value) |
void | margin_top (dimension_t &value) |
template<typename DimType> | |
void | margin_top (const DimType &value) |
template<typename DimType> | |
void | margin_top (DimType &&value) |
void | margin_right (const dimension_parameter_t &value) |
void | margin_right (float value) |
void | margin_right (double value) |
void | margin_right (int value) |
void | margin_right (dimension_t &value) |
template<typename DimType> | |
void | margin_right (const DimType &value) |
template<typename DimType> | |
void | margin_right (DimType &&value) |
void | margin_bottom (const dimension_parameter_t &value) |
void | margin_bottom (float value) |
void | margin_bottom (double value) |
void | margin_bottom (int value) |
void | margin_bottom (dimension_t &value) |
template<typename DimType> | |
void | margin_bottom (const DimType &value) |
template<typename DimType> | |
void | margin_bottom (DimType &&value) |
void | margin_left (const dimension_parameter_t &value) |
void | margin_left (float value) |
void | margin_left (double value) |
void | margin_left (int value) |
void | margin_left (dimension_t &value) |
template<typename DimType> | |
void | margin_left (const DimType &value) |
template<typename DimType> | |
void | margin_left (DimType &&value) |
void | margin (const dimension_parameter_t &value) |
void | margin (float value) |
void | margin (double value) |
void | margin (int value) |
void | margin (dimension_t &value) |
template<typename DimType> | |
void | margin (const DimType &value) |
template<typename DimType> | |
void | margin (DimType &&value) |
void | padding_top (const dimension_t &value) |
void | padding_top (dimension_t &&value) |
void | padding_right (const dimension_t &value) |
void | padding_right (dimension_t &&value) |
void | padding_bottom (const dimension_t &value) |
void | padding_bottom (dimension_t &&value) |
void | padding_left (const dimension_t &value) |
void | padding_left (dimension_t &&value) |
void | padding (const dimension_t &value) |
void | padding (dimension_t &&value) |
void | padding_top (const dimension_parameter_t &value) |
void | padding_top (float value) |
void | padding_top (double value) |
void | padding_top (int value) |
void | padding_top (dimension_t &value) |
template<typename DimType> | |
void | padding_top (const DimType &value) |
template<typename DimType> | |
void | padding_top (DimType &&value) |
void | padding_right (const dimension_parameter_t &value) |
void | padding_right (float value) |
void | padding_right (double value) |
void | padding_right (int value) |
void | padding_right (dimension_t &value) |
template<typename DimType> | |
void | padding_right (const DimType &value) |
template<typename DimType> | |
void | padding_right (DimType &&value) |
void | padding_bottom (const dimension_parameter_t &value) |
void | padding_bottom (float value) |
void | padding_bottom (double value) |
void | padding_bottom (int value) |
void | padding_bottom (dimension_t &value) |
template<typename DimType> | |
void | padding_bottom (const DimType &value) |
template<typename DimType> | |
void | padding_bottom (DimType &&value) |
void | padding_left (const dimension_parameter_t &value) |
void | padding_left (float value) |
void | padding_left (double value) |
void | padding_left (int value) |
void | padding_left (dimension_t &value) |
template<typename DimType> | |
void | padding_left (const DimType &value) |
template<typename DimType> | |
void | padding_left (DimType &&value) |
void | padding (const dimension_parameter_t &value) |
void | padding (float value) |
void | padding (double value) |
void | padding (int value) |
void | padding (dimension_t &value) |
template<typename DimType> | |
void | padding (const DimType &value) |
template<typename DimType> | |
void | padding (DimType &&value) |
void | border_top (const vg::paint::solid &value) |
void | border_top (vg::paint::solid &&value) |
void | border_right (const vg::paint::solid &value) |
void | border_right (vg::paint::solid &&value) |
void | border_bottom (const vg::paint::solid &value) |
void | border_bottom (vg::paint::solid &&value) |
void | border_left (const vg::paint::solid &value) |
void | border_left (vg::paint::solid &&value) |
void | border (const vg::paint::solid &value) |
void | border (vg::paint::solid &&value) |
void | border_top (const vg::paint::gradient::linear &value) |
void | border_top (vg::paint::gradient::linear &&value) |
void | border_right (const vg::paint::gradient::linear &value) |
void | border_right (vg::paint::gradient::linear &&value) |
void | border_bottom (const vg::paint::gradient::linear &value) |
void | border_bottom (vg::paint::gradient::linear &&value) |
void | border_left (const vg::paint::gradient::linear &value) |
void | border_left (vg::paint::gradient::linear &&value) |
void | border (const vg::paint::gradient::linear &value) |
void | border (vg::paint::gradient::linear &&value) |
void | border_top (const vg::paint::gradient::radial &value) |
void | border_top (vg::paint::gradient::radial &&value) |
void | border_right (const vg::paint::gradient::radial &value) |
void | border_right (vg::paint::gradient::radial &&value) |
void | border_bottom (const vg::paint::gradient::radial &value) |
void | border_bottom (vg::paint::gradient::radial &&value) |
void | border_left (const vg::paint::gradient::radial &value) |
void | border_left (vg::paint::gradient::radial &&value) |
void | border (const vg::paint::gradient::radial &value) |
void | border (vg::paint::gradient::radial &&value) |
void | border_width_top (const int &value) |
void | border_width_top (int &&value) |
void | border_width_right (const int &value) |
void | border_width_right (int &&value) |
void | border_width_bottom (const int &value) |
void | border_width_bottom (int &&value) |
void | border_width_left (const int &value) |
void | border_width_left (int &&value) |
void | border_width (const int &value) |
void | border_width (int &&value) |
void | border_radius_top_left (const int &value) |
void | border_radius_top_left (int &&value) |
void | border_radius_top_right (const int &value) |
void | border_radius_top_right (int &&value) |
void | border_radius_bottom_right (const int &value) |
void | border_radius_bottom_right (int &&value) |
void | border_radius_bottom_left (const int &value) |
void | border_radius_bottom_left (int &&value) |
void | border_radius (const int &value) |
void | border_radius (int &&value) |
void | border_dasharray_top (const std::valarray< double > &value) |
void | border_dasharray_top (std::valarray< double > &&value) |
void | border_dasharray_right (const std::valarray< double > &value) |
void | border_dasharray_right (std::valarray< double > &&value) |
void | border_dasharray_bottom (const std::valarray< double > &value) |
void | border_dasharray_bottom (std::valarray< double > &&value) |
void | border_dasharray_left (const std::valarray< double > &value) |
void | border_dasharray_left (std::valarray< double > &&value) |
void | border_dasharray (const std::valarray< double > &value) |
void | border_dasharray (std::valarray< double > &&value) |
void | background (const vg::paint::solid &value) |
void | background (vg::paint::solid &&value) |
void | background (const vg::paint::gradient::linear &value) |
void | background (vg::paint::gradient::linear &&value) |
void | background (const vg::paint::gradient::radial &value) |
void | background (vg::paint::gradient::radial &&value) |
void | opacity (const la::scalar &value) |
void | opacity (la::scalar &&value) |
void | translate_x (const la::scalar &value) |
void | translate_x (la::scalar &&value) |
void | translate_y (const la::scalar &value) |
void | translate_y (la::scalar &&value) |
void | translate (const la::vec< 2 > &value) |
void | translate (la::vec< 2 > &&value) |
void | scale_x (const la::scalar &value) |
void | scale_x (la::scalar &&value) |
void | scale_y (const la::scalar &value) |
void | scale_y (la::scalar &&value) |
void | scale (const la::vec< 2 > &value) |
void | scale (la::vec< 2 > &&value) |
void | rotation (const angle_type &value) |
void | rotation (angle_type &&value) |
![]() | |
bool | operator== (const attrs_component &rhl) const |
attrs_component & | update_with (const attrs_component &rhl) |
![]() | |
S & | operator() (content &&_content_) |
S & | operator() (content &_content_) |
void | operator() (content &&_content_) |
void | operator() (content &_content_) |
bool | operator== (const attr_content &rhl) const |
![]() | |
virtual | ~attribute_i ()=default |
Public Attributes | |
axis_t< plot > | top_axis {*this, {1,0}, {0,-1}, {1,0}, false, 20, 50} |
axis_t< plot > | bottom_axis {*this, {1,0}, {0,1}, {1,0}, true, 20} |
axis_t< plot > | left_axis {*this, {0,-1}, {-1,0}, {1,0}, true, 30, 60} |
axis_t< plot > | right_axis {*this, {0,-1}, {1,0}, {1,0}, false, 25, 55} |
grid_t< plot > | grid {*this} |
view_map_t< plot > | series {*this} |
props_t | props |
![]() | |
std::optional< component_base_t * > | parent = std::nullopt |
std::list< std::shared_ptr< component_base_t > > | children {} |
![]() | |
content | _content |
Static Public Attributes | |
static constexpr std::source_location | declaration_loc = std::source_location::current() |
Friends | |
struct | event_handler_t |
struct | cydui::components::event_handler_data_t< plot > |
Additional Inherited Members | |
![]() | |
void | set_style_transform (Fun &&transform_func) |
void | clear_style_transform () |
![]() | |
void | set_state (const component_state_ref &state) |
![]() | |
internal_relations_t | internal_relations {} |
std::optional< std::shared_ptr< event_dispatcher_base_t > > | event_dispatcher {std::nullopt} |
std::shared_ptr< style_data_base_t > | style_data {} |
using charts::plot::state_t = std::conditional_t< is_type_complete_v<struct state_type>, state_type, cydui::components::component_state_t> |
using charts::plot::style_t = std::conditional_t< is_type_complete_v<struct style_type>, style_type, cydui::components::simple_style_t> |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
overridedefault |
|
inlineoverridevirtual |
Implements cydui::components::component_base_t.
|
inline |
|
friend |
|
staticconstexpr |
view_map_t<plot> charts::plot::series {*this} |