mirror of https://github.com/adamdruppe/arsd.git
timer
This commit is contained in:
parent
ed61b3ce0b
commit
3fc7ae165d
|
@ -2770,6 +2770,7 @@ class NotificationAreaIcon : CapableOfHandlingNativeEvent {
|
||||||
|
|
||||||
|
|
||||||
private SimpleWindow balloon;
|
private SimpleWindow balloon;
|
||||||
|
version(with_timer)
|
||||||
private Timer timer;
|
private Timer timer;
|
||||||
|
|
||||||
private Window nativeHandle;
|
private Window nativeHandle;
|
||||||
|
@ -3076,7 +3077,9 @@ class NotificationAreaIcon : CapableOfHandlingNativeEvent {
|
||||||
);
|
);
|
||||||
balloon.show();
|
balloon.show();
|
||||||
|
|
||||||
|
version(with_timer)
|
||||||
timer = new Timer(timeout, &hideBalloon);
|
timer = new Timer(timeout, &hideBalloon);
|
||||||
|
else {} // FIXME
|
||||||
} else version(Windows) {
|
} else version(Windows) {
|
||||||
enum NIF_INFO = 0x00000010;
|
enum NIF_INFO = 0x00000010;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue