lxgui
Public Member Functions | Public Attributes | List of all members
lxgui::gui::anchor_data Struct Reference

Raw data of an anchor (value type) More...

#include <gui_anchor.hpp>

Inheritance diagram for lxgui::gui::anchor_data:
lxgui::gui::anchor

Public Member Functions

 anchor_data (point input_point)
 
 anchor_data (point input_point, const std::string &input_parent)
 
 anchor_data (point input_point, const std::string &input_parent, point input_parent_point)
 
 anchor_data (point input_point, const std::string &input_parent, point input_parent_point, const vector2f &input_offset, anchor_type input_type=anchor_type::abs)
 
 anchor_data (point input_point, const std::string &input_parent, const vector2f &input_offset, anchor_type input_type=anchor_type::abs)
 
 anchor_data (point input_point, const vector2f &input_offset, anchor_type input_type=anchor_type::abs)
 
 anchor_data (point input_point, point input_parent_point, const vector2f &input_offset, anchor_type input_type=anchor_type::abs)
 
 anchor_data (point input_point, point input_parent_point)
 

Public Attributes

point object_point = point::top_left
 
std::string parent_name
 
point parent_point = point::top_left
 
vector2f offset
 
anchor_type type = anchor_type::abs
 

Detailed Description

Raw data of an anchor (value type)

Definition at line 32 of file gui_anchor.hpp.

Constructor & Destructor Documentation

◆ anchor_data() [1/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point)
inline

Definition at line 33 of file gui_anchor.hpp.

◆ anchor_data() [2/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
const std::string &  input_parent 
)
inline

Definition at line 36 of file gui_anchor.hpp.

◆ anchor_data() [3/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
const std::string &  input_parent,
point  input_parent_point 
)
inline

Definition at line 39 of file gui_anchor.hpp.

◆ anchor_data() [4/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
const std::string &  input_parent,
point  input_parent_point,
const vector2f input_offset,
anchor_type  input_type = anchor_type::abs 
)
inline

Definition at line 42 of file gui_anchor.hpp.

◆ anchor_data() [5/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
const std::string &  input_parent,
const vector2f input_offset,
anchor_type  input_type = anchor_type::abs 
)
inline

Definition at line 54 of file gui_anchor.hpp.

◆ anchor_data() [6/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
const vector2f input_offset,
anchor_type  input_type = anchor_type::abs 
)
inline

Definition at line 65 of file gui_anchor.hpp.

◆ anchor_data() [7/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
point  input_parent_point,
const vector2f input_offset,
anchor_type  input_type = anchor_type::abs 
)
inline

Definition at line 75 of file gui_anchor.hpp.

◆ anchor_data() [8/8]

lxgui::gui::anchor_data::anchor_data ( point  input_point,
point  input_parent_point 
)
inline

Definition at line 86 of file gui_anchor.hpp.

Member Data Documentation

◆ object_point

point lxgui::gui::anchor_data::object_point = point::top_left

Definition at line 89 of file gui_anchor.hpp.

◆ offset

vector2f lxgui::gui::anchor_data::offset

Definition at line 92 of file gui_anchor.hpp.

◆ parent_name

std::string lxgui::gui::anchor_data::parent_name

Definition at line 90 of file gui_anchor.hpp.

◆ parent_point

point lxgui::gui::anchor_data::parent_point = point::top_left

Definition at line 91 of file gui_anchor.hpp.

◆ type

anchor_type lxgui::gui::anchor_data::type = anchor_type::abs

Definition at line 93 of file gui_anchor.hpp.


The documentation for this struct was generated from the following file: