remove deprecated code and debug code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* A Date Time Implementation
|
||||
* Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2003-2019 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Background Effects Implementation
|
||||
* Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2003-2019 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
|
||||
@@ -59,21 +59,10 @@ namespace nana{ namespace widgets{ namespace detail
|
||||
|
||||
/// Widget scheme.
|
||||
typedef WidgetScheme widget_scheme_t;
|
||||
|
||||
//widget_scheme_t * wdg_scheme_ptr_{ nullptr }; //deprecated
|
||||
|
||||
public:
|
||||
/// The destructor.
|
||||
virtual ~compset_placer(){}
|
||||
|
||||
/*
|
||||
/// Init the scheme pointer
|
||||
void init_scheme(widget_scheme_t* wdg_scheme_ptr) //deprecated
|
||||
{
|
||||
wdg_scheme_ptr_ = wdg_scheme_ptr;
|
||||
}
|
||||
*/
|
||||
|
||||
/// Enable/Disable the specified component.
|
||||
virtual void enable(component_t, bool) = 0;
|
||||
virtual bool enabled(component_t) const = 0;
|
||||
|
||||
@@ -105,15 +105,8 @@ namespace nana
|
||||
class trigger
|
||||
:public drawer_trigger
|
||||
{
|
||||
//template<typename Renderer>
|
||||
//struct basic_implement; //deprecated
|
||||
|
||||
class implementation;
|
||||
|
||||
//class item_renderer; //deprecated
|
||||
class item_locator;
|
||||
|
||||
//typedef basic_implement<item_renderer> implement; //deprecated
|
||||
public:
|
||||
struct treebox_node_type
|
||||
{
|
||||
@@ -142,17 +135,12 @@ namespace nana
|
||||
|
||||
pat::cloneable<renderer_interface>& renderer() const;
|
||||
|
||||
//void renderer(::nana::pat::cloneable<renderer_interface>&&);
|
||||
//const ::nana::pat::cloneable<renderer_interface>& renderer() const; //deprecated
|
||||
void placer(::nana::pat::cloneable<compset_placer_interface>&&);
|
||||
const ::nana::pat::cloneable<compset_placer_interface>& placer() const;
|
||||
|
||||
node_type* insert(node_type*, const std::string& key, std::string&&);
|
||||
node_type* insert(const std::string& path, std::string&&);
|
||||
|
||||
//node_type * selected() const; //deprecated
|
||||
//void selected(node_type*);
|
||||
|
||||
node_image_tag& icon(const ::std::string&);
|
||||
void icon_erase(const ::std::string&);
|
||||
void node_icon(node_type*, const ::std::string& id);
|
||||
@@ -314,15 +302,6 @@ namespace nana
|
||||
return *p;
|
||||
}
|
||||
|
||||
/*
|
||||
template<typename T>
|
||||
item_proxy & value(const T& t) //deprecated
|
||||
{
|
||||
_m_value() = t;
|
||||
return *this;
|
||||
}
|
||||
*/
|
||||
|
||||
template<typename T>
|
||||
item_proxy & value(T&& t)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user