tray implementation
This commit is contained in:
+4
-1
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
(require racket/gui
|
(require racket/gui
|
||||||
"gui.rkt"
|
"gui.rkt"
|
||||||
|
"tray.rkt"
|
||||||
simple-ini/class
|
simple-ini/class
|
||||||
racket-sound
|
racket-sound
|
||||||
racket-webview
|
racket-webview
|
||||||
@@ -45,7 +46,9 @@
|
|||||||
[file-getter my-file-getter]
|
[file-getter my-file-getter]
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
(let ((window (new rktplayer% [wv-context context] [log-file log-file])))
|
(let* ((window (new rktplayer% [wv-context context] [log-file log-file]))
|
||||||
|
(tray (new rktplayer-tray% [player-gui window]))
|
||||||
|
)
|
||||||
(set! rktplayer-window window)
|
(set! rktplayer-window window)
|
||||||
(when (and (not (null? no-exit))
|
(when (and (not (null? no-exit))
|
||||||
(not (eq? (car no-exit) #t)))
|
(not (eq? (car no-exit) #t)))
|
||||||
|
|||||||
Reference in New Issue
Block a user