mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Add PopupWindow::setClick/EnterBehavior() member functions
This commit is contained in:
parent
08bef859e3
commit
e78e9eeb2c
@ -54,6 +54,16 @@ void PopupWindow::setHotRegion(const gfx::Region& region)
|
||||
m_hotRegion = region;
|
||||
}
|
||||
|
||||
void PopupWindow::setClickBehavior(ClickBehavior behavior)
|
||||
{
|
||||
m_clickBehavior = behavior;
|
||||
}
|
||||
|
||||
void PopupWindow::setEnterBehavior(EnterBehavior behavior)
|
||||
{
|
||||
m_enterBehavior = behavior;
|
||||
}
|
||||
|
||||
void PopupWindow::makeFloating()
|
||||
{
|
||||
stopFilteringMessages();
|
||||
|
@ -31,6 +31,8 @@ namespace ui {
|
||||
~PopupWindow();
|
||||
|
||||
void setHotRegion(const gfx::Region& region);
|
||||
void setClickBehavior(ClickBehavior behavior);
|
||||
void setEnterBehavior(EnterBehavior behavior);
|
||||
|
||||
void makeFloating();
|
||||
void makeFixed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user