code review
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <vector>
|
||||
#include "general_events.hpp"
|
||||
#include <nana/paint/graphics.hpp>
|
||||
//#include <nana/paint/image.hpp> //deprecated
|
||||
#include <functional>
|
||||
|
||||
namespace nana
|
||||
|
||||
@@ -87,9 +87,6 @@ namespace drawerbase
|
||||
void add(checkbox&);
|
||||
std::size_t checked() const; ///< Retrieves the index of the checkbox which is checked.
|
||||
std::size_t size() const;
|
||||
private:
|
||||
//void _m_checked(const arg_click&); //deprecated
|
||||
//void _m_destroy(const arg_destroy&); //deprecated
|
||||
private:
|
||||
std::vector<element_tag> ui_container_;
|
||||
};
|
||||
|
||||
@@ -228,17 +228,5 @@ namespace nana
|
||||
void _m_caption(nana::string&&) override;
|
||||
nana::any * _m_anyobj(std::size_t pos, bool alloc_if_empty) const override;
|
||||
};
|
||||
|
||||
/*
|
||||
namespace dev //deprecated
|
||||
{
|
||||
template<>
|
||||
struct widget_traits<combox>
|
||||
{
|
||||
using event_type = drawerbase::combox::combox_events;
|
||||
using scheme_type = ::nana::widgets::skeletons::text_editor_scheme;
|
||||
};
|
||||
}
|
||||
*/
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -661,17 +661,5 @@ By \a clicking on one header the list get \a reordered, first up, and then down
|
||||
drawerbase::listbox::category_t* _m_at_key(std::shared_ptr<nana::detail::key_interface>);
|
||||
void _m_erase_key(nana::detail::key_interface*);
|
||||
};
|
||||
|
||||
/*
|
||||
namespace dev
|
||||
{
|
||||
template<>
|
||||
struct widget_traits<listbox> //deprecated
|
||||
{
|
||||
using event_type = drawerbase::listbox::listbox_events;
|
||||
using scheme_type = drawerbase::listbox::scheme;
|
||||
};
|
||||
}
|
||||
*/
|
||||
}//end namespace nana
|
||||
#endif
|
||||
|
||||
@@ -109,18 +109,6 @@ namespace nana
|
||||
::nana::string _m_caption() const throw();
|
||||
void _m_caption(::nana::string&&);
|
||||
}; //end class spinbox
|
||||
|
||||
/*
|
||||
namespace dev
|
||||
{
|
||||
template<>
|
||||
struct widget_traits<spinbox> //deprecated
|
||||
{
|
||||
using event_type = drawerbase::spinbox::spinbox_events;
|
||||
using scheme_type = ::nana::widgets::skeletons::text_editor_scheme;
|
||||
};
|
||||
}
|
||||
*/
|
||||
}//end namespace nana
|
||||
|
||||
#endif //NANA_GUI_WIDGET_SPINBOX_HPP
|
||||
|
||||
@@ -390,19 +390,6 @@ namespace nana
|
||||
std::size_t selected() const;
|
||||
void erase(std::size_t pos, bool close_attached = true);
|
||||
};
|
||||
|
||||
/*
|
||||
namespace dev
|
||||
{
|
||||
/// Traits for widget classes
|
||||
template<>
|
||||
struct widget_traits<tabbar_lite> //deprecated
|
||||
{
|
||||
using event_type = drawerbase::tabbar_lite::events;
|
||||
using scheme_type = ::nana::widget_colors;
|
||||
};
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -194,18 +194,5 @@ namespace nana
|
||||
void _m_caption(::nana::string&&) override;
|
||||
void _m_typeface(const paint::font&) override;
|
||||
};
|
||||
|
||||
/*
|
||||
namespace dev
|
||||
{
|
||||
/// Traits for widget classes
|
||||
template<>
|
||||
struct widget_traits<textbox> //deprecated
|
||||
{
|
||||
using event_type = drawerbase::textbox::textbox_events;
|
||||
using scheme_type = ::nana::widgets::skeletons::text_editor_scheme;
|
||||
};
|
||||
}
|
||||
*/
|
||||
}//end namespace nana
|
||||
#endif
|
||||
|
||||
@@ -166,8 +166,6 @@ namespace nana
|
||||
void resized(graph_reference, const arg_resized&) override;
|
||||
void key_press(graph_reference, const arg_keyboard&) override;
|
||||
void key_char(graph_reference, const arg_keyboard&) override;
|
||||
private:
|
||||
//void _m_deal_adjust(); //deprecated
|
||||
private:
|
||||
implement * const impl_;
|
||||
}; //end class trigger
|
||||
|
||||
Reference in New Issue
Block a user