neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::anchorable< Base > Class Template Reference

#include <anchorable.hpp>

Inheritance diagram for neogfx::anchorable< Base >:
neogfx::layout_item< object< i_button > > neogfx::layout_item< object< i_image_widget > > neogfx::layout_item< object< i_layout > > neogfx::layout_item< object< i_title_bar > > neogfx::layout_item< object< i_push_button > > neogfx::layout_item< object< i_radio_button > > neogfx::layout_item< object< i_spacer > > neogfx::layout_item< object< i_status_bar > > neogfx::layout_item< object< i_terminal > > neogfx::layout_item< object< i_text_widget > > neogfx::layout_item< object< i_widget > > neogfx::layout_item< object< i_window > > neogfx::layout_item< object< neogfx::i_window > >

Public Types

typedef neolib::map< string, i_anchor * > anchor_map_type
 

Public Member Functions

 ~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
 

Detailed Description

template<typename Base>
class neogfx::anchorable< Base >

Definition at line 28 of file anchorable.hpp.

Member Typedef Documentation

◆ anchor_map_type

template<typename Base >
typedef neolib::map<string, i_anchor*> neogfx::anchorable< Base >::anchor_map_type

Definition at line 35 of file anchorable.hpp.

Constructor & Destructor Documentation

◆ ~anchorable()

template<typename Base >
neogfx::anchorable< Base >::~anchorable ( )
inline

Definition at line 38 of file anchorable.hpp.

Member Function Documentation

◆ anchor_to()

template<typename Base >
i_anchor & neogfx::anchorable< Base >::anchor_to ( i_anchorable< Base > &  aRhs,
const i_string aLhsAnchor,
anchor_constraint_function  aLhsFunction,
const i_string aRhsAnchor,
anchor_constraint_function  aRhsFunction 
)
inlineoverride

Definition at line 43 of file anchorable.hpp.

◆ anchors() [1/2]

template<typename Base >
const anchor_map_type & neogfx::anchorable< Base >::anchors ( ) const
inlineoverride

Definition at line 56 of file anchorable.hpp.

◆ anchors() [2/2]

template<typename Base >
anchor_map_type & neogfx::anchorable< Base >::anchors ( )
inlineoverride

Definition at line 60 of file anchorable.hpp.


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