add event stop_propagation

This commit is contained in:
cnjinhao
2015-02-01 17:12:19 +08:00
parent fc76758197
commit 46f8182c50
28 changed files with 182 additions and 69 deletions

View File

@@ -1,7 +1,7 @@
/*
* A List Box Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2014 Jinhao(cnjinhao@hotmail.com)
* Copyright(C) 2003-2015 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
@@ -3489,6 +3489,12 @@ namespace nana
}
}//end namespace drawerbase
arg_listbox::arg_listbox(drawerbase::listbox::item_proxy& m, bool selected)
: item(m), selected(selected)
{
}
//class listbox
listbox::listbox(window wd, bool visible)
{

View File

@@ -3,6 +3,10 @@
namespace nana
{
arg_slider::arg_slider(slider& wdg)
: widget{ wdg }
{}
namespace drawerbase
{
namespace slider

View File

@@ -15,7 +15,13 @@
#include <stdexcept>
#include <sstream>
namespace nana{ namespace drawerbase {
namespace nana
{
arg_textbox::arg_textbox(textbox& wdg)
: widget{wdg}
{}
namespace drawerbase {
namespace textbox
{
//class event_agent

View File

@@ -1,6 +1,6 @@
/*
* A Toolbar Implementation
* Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com)
* Copyright(C) 2003-2015 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
@@ -16,6 +16,10 @@
namespace nana
{
arg_toolbar::arg_toolbar(toolbar& tbar, std::size_t btn)
: widget{ tbar }, button{btn}
{}
namespace drawerbase
{
namespace toolbar

View File

@@ -1,7 +1,7 @@
/*
* A Treebox Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2014 Jinhao(cnjinhao@hotmail.com)
* Copyright(C) 2003-2015 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
@@ -18,6 +18,10 @@
namespace nana
{
arg_treebox::arg_treebox(treebox& wdg, drawerbase::treebox::item_proxy& m, bool op)
: widget{ wdg }, item{ m }, operated{op}
{}
namespace drawerbase
{
//Here defines some function objects