Add PopupWindow::setClick/EnterBehavior() member functions

This commit is contained in:
David Capello 2015-12-11 12:48:11 -03:00
parent 08bef859e3
commit e78e9eeb2c
2 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,16 @@ void PopupWindow::setHotRegion(const gfx::Region& region)
m_hotRegion = region; m_hotRegion = region;
} }
void PopupWindow::setClickBehavior(ClickBehavior behavior)
{
m_clickBehavior = behavior;
}
void PopupWindow::setEnterBehavior(EnterBehavior behavior)
{
m_enterBehavior = behavior;
}
void PopupWindow::makeFloating() void PopupWindow::makeFloating()
{ {
stopFilteringMessages(); stopFilteringMessages();

View File

@ -31,6 +31,8 @@ namespace ui {
~PopupWindow(); ~PopupWindow();
void setHotRegion(const gfx::Region& region); void setHotRegion(const gfx::Region& region);
void setClickBehavior(ClickBehavior behavior);
void setEnterBehavior(EnterBehavior behavior);
void makeFloating(); void makeFloating();
void makeFixed(); void makeFixed();