Merge remote-tracking branch 'cnjinhao/hotfix-1.5.5' into hotfix-1.5.5
This commit is contained in:
commit
c982717012
@ -61,6 +61,7 @@ namespace nana
|
||||
|
||||
void focus(graph_reference, const arg_focus&) override;
|
||||
void mouse_wheel(graph_reference, const arg_wheel&) override;
|
||||
void dbl_click(graph_reference, const arg_mouse&) override;
|
||||
void mouse_down(graph_reference, const arg_mouse&) override;
|
||||
void mouse_move(graph_reference, const arg_mouse&) override;
|
||||
void mouse_up(graph_reference, const arg_mouse& arg) override;
|
||||
|
||||
@ -560,6 +560,12 @@ namespace nana
|
||||
impl_->editor()->reset_caret();
|
||||
API::dev::lazy_refresh();
|
||||
}
|
||||
|
||||
void drawer::dbl_click(graph_reference, const arg_mouse& arg)
|
||||
{
|
||||
if (impl_->mouse_button(arg, true))
|
||||
API::dev::lazy_refresh();
|
||||
}
|
||||
|
||||
void drawer::mouse_down(graph_reference, const arg_mouse& arg)
|
||||
{
|
||||
@ -599,7 +605,10 @@ namespace nana
|
||||
{
|
||||
impl_->editor()->respond_char(arg);
|
||||
if (impl_->editor()->try_refresh())
|
||||
{
|
||||
impl_->draw_spins();
|
||||
API::dev::lazy_refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void drawer::resized(graph_reference, const arg_resized&)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user