CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui Namespace Referenceexport

Namespaces

namespace  components
 
namespace  compositing
 
namespace  dimensions
 
namespace  easing
 
namespace  graphics
 
namespace  interp
 
namespace  window_events
 

Classes

class  animation
 
class  animation_data
 
struct  animation_opts
 
struct  animation_state
 
class  AnimationSystem
 
class  Application
 
class  ast_visitor
 
struct  custom_style_parser
 
class  CWindow
 
struct  interp_mapping
 
struct  interp_mapping< double >
 
struct  interp_mapping< int >
 
struct  interp_mapping< long >
 
class  interpolator_base
 
class  keyframe
 
class  Layout
 
struct  property_timeline_t
 
struct  provide_context
 
struct  provide_context_delegate
 
struct  static_cast_interp_mapping
 
class  StyleArchive
 
struct  StyleRule
 
struct  StyleRuleCombinedSelector
 
struct  StyleRuleSelector
 
class  StyleSheet
 
struct  use_context
 
struct  use_context_delegate
 

Concepts

concept  HasInterpolationMapping
 

Typedefs

using cydui::property_id_t = std::pair<refl::type_id_t, std::string>
 
using property_timeline_map_t = std::unordered_map<property_id_t, property_timeline_t>
 
using cydui::keyframe_list = std::initializer_list<keyframe>
 
using cydui::float_type = float
 
using cydui::dimension_t = dimensions::dimension<dimensions::screen_measure>
 
using cydui::dimension_parameter_t = dimensions::parameter<dimensions::screen_measure>
 
using cydui::dimension_ctx_t = dimensions::context<dimensions::screen_measure>
 
using cydui::la = with_precision<float>
 
using cydui::angle_type = quantify::Q<quantify::angle::degrees, la::scalar>
 

Enumerations

enum class  cydui::AnimationComplexity { COMPOSE = 0 , REPAINT = 1 , REFLOW = 2 , FULL_UPDATE = 3 }
 
enum class  cydui::Button {
  PRIMARY = 1 , SECONDARY = 3 , WHEEL = 2 , BUTTON1 = PRIMARY ,
  BUTTON2 = WHEEL , BUTTON3 = SECONDARY
}
 

Functions

void cydui::animate (const components::component_base_t::sptr &component, animation &anim)
 
 cydui::EVENT (RequestComponentFocus)
 
template<components::ComponentConcept C>
Layoutcydui::create (C &&root_component)
 
template<components::ComponentConcept C>
Layoutcydui::create (C &root_component)
 
static bool compute_dimensions (cydui::components::component_base_t *rt)
 
void bind_layout (Layout *layout, const CWindow::sptr &window)
 
template<typename O>
void cydui::print_ast_node (O &o, const fabric::node_t *node, int indent=0)
 
void bind_layout (cydui::Layout *layout, const std::shared_ptr< cydui::CWindow > &window)
 
 cydui::EVENT (StopApplicationEvent)
 

Typedef Documentation

◆ angle_type

using cydui::angle_type = quantify::Q<quantify::angle::degrees, la::scalar>
export

Definition at line 20 of file @index.cppm.

◆ dimension_ctx_t

◆ dimension_parameter_t

using cydui::dimension_parameter_t = dimensions::parameter<dimensions::screen_measure>
export

Definition at line 16 of file @index.cppm.

◆ dimension_t

◆ float_type

using cydui::float_type = float
export

Definition at line 10 of file easing_functions.cppm.

◆ keyframe_list

using cydui::keyframe_list = std::initializer_list<keyframe>
export

Definition at line 309 of file animations.cppm.

◆ la

using cydui::la = with_precision<float>
export

Definition at line 19 of file @index.cppm.

◆ property_id_t

using cydui::property_id_t = std::pair<refl::type_id_t, std::string>
export

Definition at line 33 of file animations.cppm.

◆ property_timeline_map_t

Definition at line 77 of file animations.cppm.

Enumeration Type Documentation

◆ AnimationComplexity

enum class cydui::AnimationComplexity
exportstrong
Enumerator
COMPOSE 
REPAINT 
REFLOW 
FULL_UPDATE 

Definition at line 8 of file complexity.cppm.

◆ Button

enum class cydui::Button
exportstrong
Enumerator
PRIMARY 
SECONDARY 
WHEEL 
BUTTON1 
BUTTON2 
BUTTON3 

Definition at line 59 of file cydui_events.cppm.

Function Documentation

◆ animate()

void cydui::animate ( const components::component_base_t::sptr & component,
animation & anim )
export

Definition at line 525 of file animations.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bind_layout() [1/2]

void cydui::bind_layout ( cydui::Layout * layout,
const std::shared_ptr< cydui::CWindow > & window )
+ Here is the call graph for this function:

◆ bind_layout() [2/2]

void cydui::bind_layout ( Layout * layout,
const CWindow::sptr & window )

Definition at line 461 of file layout.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_dimensions()

static bool cydui::compute_dimensions ( cydui::components::component_base_t * rt)
static

COMPUTE SOME VALUES

COMPUTE CHILDREN ORIGIN POINT (cx, cy)

COMPUTE SIZE

COMPUTE DIMENSIONS FOR CHILDREN RECURSIVELY

Definition at line 170 of file layout.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create() [1/2]

template<components::ComponentConcept C>
Layout * cydui::create ( C && root_component)
export

Definition at line 140 of file layout.cppm.

+ Here is the caller graph for this function:

◆ create() [2/2]

template<components::ComponentConcept C>
Layout * cydui::create ( C & root_component)
export

Definition at line 150 of file layout.cppm.

◆ EVENT() [1/2]

cydui::EVENT ( RequestComponentFocus )
export

Definition at line 34 of file layout.cppm.

◆ EVENT() [2/2]

cydui::EVENT ( StopApplicationEvent )
export

Definition at line 23 of file window_events.cppm.

◆ print_ast_node()

template<typename O>
void cydui::print_ast_node ( O & o,
const fabric::node_t * node,
int indent = 0 )
export

Definition at line 20 of file stylesheet.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: