mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-06 23:09:58 +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;
|
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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user