neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::vertical_spacer Class Reference

#include <spacer.hpp>

Inheritance diagram for neogfx::vertical_spacer:
neogfx::spacer neogfx::layout_item< object< i_spacer > > neogfx::anchorable< Base >

Public Member Functions

 vertical_spacer ()
 
 vertical_spacer (i_layout &aParent)
 
- Public Member Functions inherited from neogfx::spacer
 spacer (neogfx::expansion_policy aExpansionPolicy)
 
 spacer (i_layout &aParent, neogfx::expansion_policy aExpansionPolicy)
 
virtual ~spacer ()
 
bool has_parent_layout () const final
 
const i_layoutparent_layout () const final
 
i_layoutparent_layout () final
 
void set_parent_layout (i_layout *aParentLayout) final
 
bool has_parent_widget () const final
 
const i_widgetparent_widget () const final
 
i_widgetparent_widget () final
 
void set_parent_widget (i_widget *aParentWidget) final
 
neogfx::expansion_policy expansion_policy () const override
 
void set_expansion_policy (neogfx::expansion_policy aExpansionPolicy) override
 
neogfx::size_policy size_policy () const override
 
bool has_margin () const noexcept override
 
neogfx::margin margin () const override
 
bool has_border () const noexcept override
 
neogfx::border border () const override
 
bool has_padding () const noexcept override
 
neogfx::padding padding () const override
 
bool device_metrics_available () const override
 
const i_device_metricsdevice_metrics () const override
 
void layout_as (const point &aPosition, const size &aSize) override
 
bool visible () const override
 
- Public Member Functions inherited from neogfx::layout_item< object< i_spacer > >
 layout_item ()
 
 ~layout_item ()
 
const i_stringid () const final
 
void set_id (const i_string &aId) final
 
bool is_cache () const final
 
bool is_layout () const final
 
const i_layoutas_layout () const final
 
i_layoutas_layout () final
 
bool is_spacer () const final
 
const i_spacer & as_spacer () const final
 
i_spacer & as_spacer () final
 
bool is_widget () const override
 
const i_widgetas_widget () const override
 
i_widgetas_widget () override
 
bool has_parent_layout_item () const final
 
const i_layout_itemparent_layout_item () const final
 
i_layout_itemparent_layout_item () final
 
bool has_layout_manager () const final
 
const i_widgetlayout_manager () const final
 
i_widgetlayout_manager () final
 
void update_layout (bool aDeferLayout=true, bool aAncestors=false) final
 
point origin () const final
 
void reset_origin () const final
 
point position () const final
 
size extents () const final
 
bool has_size_policy () const noexcept override
 
neogfx::size_policy size_policy () const override
 
void set_size_policy (const optional_size_policy &aSizePolicy, bool aUpdateLayout=true) override
 
bool has_weight () const noexcept override
 
size weight () const override
 
void set_weight (optional_size const &aWeight, bool aUpdateLayout=true) override
 
bool has_ideal_size () const noexcept override
 
bool is_ideal_size_constrained () const noexcept override
 
size ideal_size (optional_size const &aAvailableSpace={}) const override
 
void set_ideal_size (optional_size const &aIdealSize, bool aUpdateLayout=true) override
 
bool has_minimum_size () const noexcept override
 
bool is_minimum_size_constrained () const noexcept override
 
size minimum_size (optional_size const &aAvailableSpace={}) const override
 
void set_minimum_size (optional_size const &aMinimumSize, bool aUpdateLayout=true) override
 
bool has_maximum_size () const noexcept override
 
bool is_maximum_size_constrained () const noexcept override
 
size maximum_size (optional_size const &aAvailableSpace={}) const override
 
void set_maximum_size (optional_size const &aMaximumSize, bool aUpdateLayout=true) override
 
bool has_fixed_size () const noexcept override
 
size fixed_size (optional_size const &aAvailableSpace={}) const override
 
void set_fixed_size (optional_size const &aFixedSize, bool aUpdateLayout=true)
 
bool has_transformation () const noexcept override
 
mat33 const & transformation (bool aCombineAncestorTransformations=false) const override
 
void set_transformation (optional_mat33 const &aTransformation, bool aUpdateLayout=true) override
 
bool has_margin () const noexcept override
 
neogfx::margin margin () const override
 
void set_margin (optional_margin const &aMargin, bool aUpdateLayout=true) override
 
bool has_border () const noexcept override
 
neogfx::border border () const override
 
void set_border (optional_border const &aBorder, bool aUpdateLayout=true) override
 
bool has_padding () const noexcept override
 
neogfx::padding padding () const override
 
void set_padding (optional_padding const &aPadding, bool aUpdateLayout=true) override
 
void invalidate_combined_transformation () override
 
void fix_weightings (bool aRecalculate=true) override
 
i_anchor & anchor_to (i_anchorable &aRhs, i_string const &aLhsAnchor, anchor_constraint_function aLhsFunction, i_string const &aRhsAnchor, anchor_constraint_function aRhsFunction) override
 
- Public Member Functions inherited from neogfx::anchorable< Base >
 ~anchorable ()
 
i_anchor & anchor_to (i_anchorable &aRhs, const i_string &aLhsAnchor, anchor_constraint_function aLhsFunction, const i_string &aRhsAnchor, anchor_constraint_function aRhsFunction) override
 
const anchor_map_typeanchors () const override
 
anchor_map_typeanchors () override
 

Additional Inherited Members

- Public Types inherited from neogfx::spacer
typedef i_spacer abstract_type
 
- Public Types inherited from neogfx::anchorable< Base >
typedef neolib::map< string, i_anchor * > anchor_map_type
 
- Public Attributes inherited from neogfx::layout_item< object< i_spacer > >
define_property(property_category::soft_geometry, point, Position, position) define_property(property_category cache< pointiOrigin
 
cache< mat33iCombinedTransformation
 
- Protected Member Functions inherited from neogfx::layout_item< object< i_spacer > >
void set_position (const point &aPosition) override
 
void set_extents (const size &aExtents) override
 
point unconstrained_origin () const override
 
point unconstrained_position () const override
 
void layout_item_enabled (i_layout_item &aItem) override
 
void layout_item_disabled (i_layout_item &aItem) override
 

Detailed Description

Definition at line 83 of file spacer.hpp.

Constructor & Destructor Documentation

◆ vertical_spacer() [1/2]

neogfx::vertical_spacer::vertical_spacer ( )

◆ vertical_spacer() [2/2]

neogfx::vertical_spacer::vertical_spacer ( i_layout aParent)

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