add new method for place.splitter renderer

This commit is contained in:
Jinhao
2017-04-15 11:08:13 +08:00
parent 74898dcc01
commit 94bb4103f8
3 changed files with 100 additions and 6 deletions

View File

@@ -22,6 +22,11 @@
namespace nana
{
namespace paint
{
class graphics;
}
class widget;
namespace detail
{
@@ -111,6 +116,8 @@ namespace nana
*/
void bind(window handle);
window window_handle() const;
void splitter_renderer(std::function<void(window, paint::graphics&, mouse_action)> fn);
void div(const char* s); ///< Divides the attached widget into fields.
const std::string& div() const noexcept; ///< Returns div-text that depends on fields status.