Merge branch 'hotfix-1.5.6' into develop
This commit is contained in:
@@ -67,6 +67,10 @@ namespace nana{
|
||||
group& collocate() noexcept;
|
||||
group& div(const char* div_str) noexcept;
|
||||
field_reference operator[](const char* field);
|
||||
|
||||
void field_display(const char* field_name, bool display); ///<Displays/Discards an existing field.
|
||||
bool field_display(const char* field_name) const; ///<Determines whether the specified field is displayed.
|
||||
void erase(window handle); ///< Erases a window from field.
|
||||
|
||||
template<typename Widget, typename ...Args>
|
||||
Widget* create_child(const char* field, Args && ... args)
|
||||
|
||||
@@ -1429,6 +1429,8 @@ the nana::detail::basic_window member pointer scheme
|
||||
size_type append_header(std::string text_utf8, unsigned width = 120);
|
||||
size_type append_header(std::wstring text, unsigned width = 120);
|
||||
|
||||
void clear_headers(); ///< Removes all the columns.
|
||||
|
||||
cat_proxy append(std::string category); ///< Appends a new category to the end
|
||||
cat_proxy append(std::wstring category); ///< Appends a new category to the end
|
||||
void append(std::initializer_list<std::string> categories); ///< Appends categories to the end
|
||||
|
||||
@@ -95,6 +95,7 @@ namespace nana
|
||||
menu& push_back(const std::string&); ///< Appends a new (empty) menu.
|
||||
menu& at(size_t index) const; ///< Gets the menu specified by index.
|
||||
std::size_t length() const; ///< Number of menus.
|
||||
void clear(); ///< Removes all the menus.
|
||||
|
||||
/// Deselects the menu
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* A Toolbar Implementation
|
||||
* Nana C++ Library(http://www.nanapro.org)
|
||||
* Copyright(C) 2003-2016 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2003-2018 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -98,6 +98,8 @@ namespace nana
|
||||
void separate(); ///< Adds a separator.
|
||||
drawerbase::toolbar::item_proxy append(const ::std::string& text, const nana::paint::image& img); ///< Adds a control button.
|
||||
drawerbase::toolbar::item_proxy append(const ::std::string& text); ///< Adds a control button.
|
||||
void clear(); ///< Removes all control buttons and separators.
|
||||
|
||||
bool enable(size_type index) const;
|
||||
void enable(size_type index, bool enable_state);
|
||||
void scale(unsigned s); ///< Sets the scale of control button.
|
||||
|
||||
Reference in New Issue
Block a user