add mouse-enter and mouse-exit events for tray
This commit is contained in:
parent
a6ea316a5d
commit
8dbb8ccbab
7 changed files with 48 additions and 1 deletions
|
@ -79,6 +79,16 @@ void TrayIcon::NotifyDropText(const std::string& text) {
|
|||
observer.OnDropText(text);
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyMouseEntered() {
|
||||
for (TrayIconObserver& observer : observers_)
|
||||
observer.OnMouseEntered();
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyMouseExited() {
|
||||
for (TrayIconObserver& observer : observers_)
|
||||
observer.OnMouseExited();
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyDragEntered() {
|
||||
for (TrayIconObserver& observer : observers_)
|
||||
observer.OnDragEntered();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue