neoGFX
Cross-platform C++ app/game engine
|
#include <layout_item.hpp>
Public Member Functions | |
layout_item () | |
~layout_item () | |
const i_string & | id () const final |
void | set_id (const i_string &aId) final |
bool | is_cache () const final |
bool | is_layout () const final |
const i_layout & | as_layout () const final |
i_layout & | as_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_widget & | as_widget () const override |
i_widget & | as_widget () override |
bool | has_parent_layout_item () const final |
const i_layout_item & | parent_layout_item () const final |
i_layout_item & | parent_layout_item () final |
bool | has_layout_manager () const final |
const i_widget & | layout_manager () const final |
i_widget & | layout_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< reference_counted< 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_type & | anchors () const override |
anchor_map_type & | anchors () override |
Public Member Functions inherited from neolib::reference_counted< Base, DeallocateOnRelease > | |
reference_counted () noexcept | |
reference_counted (const reference_counted &aOther) noexcept | |
~reference_counted () | |
reference_counted & | operator= (const reference_counted &) |
void | add_ref () const noexcept override |
void | release () const override |
int32_t | use_count () const noexcept override |
const base_type * | release_and_take_ownership () const override |
base_type * | release_and_take_ownership () override |
void | pin () const noexcept override |
void | unpin () const override |
i_ref_control_block & | control_block () override |
Public Attributes | |
define_property(property_category::soft_geometry, point, Position, position) define_property(property_category cache< point > | iOrigin |
cache< mat33 > | iCombinedTransformation |
Protected Member Functions | |
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 |
Additional Inherited Members | |
Public Types inherited from neogfx::anchorable< reference_counted< Base > > | |
typedef neolib::map< string, i_anchor * > | anchor_map_type |
Definition at line 31 of file layout_item.hpp.
|
inline |
Definition at line 45 of file layout_item.hpp.
|
inline |
Definition at line 48 of file layout_item.hpp.
|
inlineoverride |
Definition at line 641 of file layout_item.hpp.
|
inlinefinal |
Definition at line 72 of file layout_item.hpp.
|
inlinefinal |
Definition at line 79 of file layout_item.hpp.
|
inlinefinal |
Definition at line 90 of file layout_item.hpp.
|
inlinefinal |
Definition at line 97 of file layout_item.hpp.
|
inlineoverride |
Definition at line 108 of file layout_item.hpp.
|
inlineoverride |
Definition at line 115 of file layout_item.hpp.
|
inlineoverride |
Definition at line 511 of file layout_item.hpp.
|
inlinefinal |
Definition at line 244 of file layout_item.hpp.
|
inlineoverride |
Definition at line 597 of file layout_item.hpp.
|
inlineoverride |
Definition at line 432 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 507 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 428 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 318 of file layout_item.hpp.
|
inlinefinal |
Definition at line 150 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 489 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 395 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 358 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 525 of file layout_item.hpp.
|
inlinefinal |
Definition at line 123 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 264 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 452 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 295 of file layout_item.hpp.
|
inlinefinal |
Definition at line 54 of file layout_item.hpp.
|
inlineoverride |
Definition at line 326 of file layout_item.hpp.
|
inlineoverride |
Definition at line 572 of file layout_item.hpp.
|
inlinefinal |
Definition at line 63 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 322 of file layout_item.hpp.
|
inlinefinal |
Definition at line 68 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 399 of file layout_item.hpp.
|
inlineoverridenoexcept |
Definition at line 362 of file layout_item.hpp.
|
inlinefinal |
Definition at line 86 of file layout_item.hpp.
|
inlineoverride |
Definition at line 104 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 637 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 634 of file layout_item.hpp.
|
inlinefinal |
Definition at line 166 of file layout_item.hpp.
|
inlinefinal |
Definition at line 180 of file layout_item.hpp.
|
inlineoverride |
Definition at line 493 of file layout_item.hpp.
|
inlineoverride |
Definition at line 403 of file layout_item.hpp.
|
inlineoverride |
Definition at line 366 of file layout_item.hpp.
|
inlinefinal |
Definition at line 206 of file layout_item.hpp.
|
inlineoverride |
Definition at line 529 of file layout_item.hpp.
|
inlinefinal |
Definition at line 134 of file layout_item.hpp.
|
inlinefinal |
Definition at line 145 of file layout_item.hpp.
|
inlinefinal |
Definition at line 237 of file layout_item.hpp.
|
inlinefinal |
Definition at line 233 of file layout_item.hpp.
|
inlineoverride |
Definition at line 515 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 258 of file layout_item.hpp.
|
inline |
Definition at line 438 of file layout_item.hpp.
|
inlinefinal |
Definition at line 58 of file layout_item.hpp.
|
inlineoverride |
Definition at line 344 of file layout_item.hpp.
|
inlineoverride |
Definition at line 497 of file layout_item.hpp.
|
inlineoverride |
Definition at line 414 of file layout_item.hpp.
|
inlineoverride |
Definition at line 381 of file layout_item.hpp.
|
inlineoverride |
Definition at line 533 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 252 of file layout_item.hpp.
|
inlineoverride |
Definition at line 282 of file layout_item.hpp.
|
inlineoverride |
Definition at line 473 of file layout_item.hpp.
|
inlineoverride |
Definition at line 305 of file layout_item.hpp.
|
inlineoverride |
Definition at line 268 of file layout_item.hpp.
|
inlineoverride |
Definition at line 456 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 544 of file layout_item.hpp.
|
inlineoverrideprotected |
Definition at line 567 of file layout_item.hpp.
|
inlinefinal |
Definition at line 185 of file layout_item.hpp.
|
inlineoverride |
Definition at line 299 of file layout_item.hpp.
|
mutable |
Definition at line 682 of file layout_item.hpp.
|
mutable |
Definition at line 681 of file layout_item.hpp.