add scroll_operation_interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* The fundamental widget class implementation
|
||||
* 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
|
||||
@@ -158,6 +158,11 @@ namespace nana
|
||||
return (API::focus_window() == handle());
|
||||
}
|
||||
|
||||
std::shared_ptr<scroll_operation_interface> widget::scroll_operation()
|
||||
{
|
||||
return _m_scroll_operation();
|
||||
}
|
||||
|
||||
void widget::show()
|
||||
{
|
||||
_m_show(true);
|
||||
@@ -317,6 +322,11 @@ namespace nana
|
||||
API::window_enabled(handle(), value);
|
||||
}
|
||||
|
||||
std::shared_ptr<scroll_operation_interface> widget::_m_scroll_operation()
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
bool widget::_m_show(bool visible)
|
||||
{
|
||||
API::show_window(handle(), visible);
|
||||
|
||||
Reference in New Issue
Block a user