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_splitter Class Reference
Inheritance diagram for nana::place::implement::div_splitter:
nana::place::implement::division

Public Member Functions

 div_splitter (const place_parts::number_t &init_weight, implement *impl) noexcept
 
 ~div_splitter ()
 
void set_renderer (const std::function< void(window, paint::graphics &, mouse_action)> &fn, bool update)
 
void direction (bool horizontal) noexcept
 
- 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_splitter::div_splitter ( const place_parts::number_t init_weight,
implement impl 
)
inlinenoexcept
nana::place::implement::div_splitter::~div_splitter ( )
inline

Member Function Documentation

void nana::place::implement::div_splitter::direction ( bool  horizontal)
inlinenoexcept
void nana::place::implement::div_splitter::set_renderer ( const std::function< void(window, paint::graphics &, mouse_action)> &  fn,
bool  update 
)
inline