Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::place::implement::div_arrange Class Reference
Inheritance diagram for nana::place::implement::div_arrange:
nana::place::implement::division

Public Member Functions

 div_arrange (bool vert, std::string &&name, place_parts::repeated_array &&arr) noexcept
 
void collocate (window wd) override
 
- Public Member Functions inherited from nana::place::implement::division
 division (kind k, std::string &&n) noexcept
 
virtual ~division ()
 
std::pair< double, double > calc_weight_floor ()
 
void set_visible (bool vsb)
 
void set_display (bool dsp)
 
bool is_back (const division *div) const noexcept
 
bool is_fixed () const
 
bool is_percent () const
 
nana::rectangle margin_area () const
 
divisionprevious () const noexcept
 
double _m_extend_with_margin (std::size_t edge, double &extended)
 

Additional Inherited Members

- Public Types inherited from nana::place::implement::division
enum  kind {
  kind::arrange, kind::vertical_arrange, kind::grid, kind::splitter,
  kind::dock, kind::dockpane, kind::switchable
}
 
using token = place_parts::tokenizer::token
 
- Static Public Member Functions inherited from nana::place::implement::division
static unsigned calc_number (const place_parts::number_t &number, unsigned area_px, double adjustable_px, double &precise_px)
 
static double limit_px (const division *div, double px, unsigned area_px) noexcept
 
static void _m_visible_for_child (division *div, bool vsb) noexcept
 
- Public Attributes inherited from nana::place::implement::division
kind kind_of_division
 
bool display { true }
 
bool visible { true }
 
fit_policy fit { fit_policy::none }
 
repeated_array fit_parameters
 
::nana::direction dir {::nana::direction::west}
 
std::string name
 
std::vector< std::unique_ptr
< division > > 
children
 
::nana::rectangle field_area
 
number_t weight
 
token weigth_type =token::weight
 
number_t min_px
 
number_t max_px
 
place_parts::margin margin
 
place_parts::repeated_array gap
 
field_gatherfield { nullptr }
 
divisiondiv_next { nullptr }
 
divisiondiv_owner { nullptr }
 
struct
nana::place::implement::division::run_data 
run_
 

Constructor & Destructor Documentation

nana::place::implement::div_arrange::div_arrange ( bool  vert,
std::string &&  name,
place_parts::repeated_array &&  arr 
)
inlinenoexcept

Member Function Documentation

void nana::place::implement::div_arrange::collocate ( window  wd)
inlineoverridevirtual

First collocate child div's !!!

The child div have full position. Now we can collocate inside it the child fields and child-div.

Implements nana::place::implement::division.