diff options
author | Wei Shuai <cpuwolf@gmail.com> | 2018-02-08 06:45:52 +0800 |
---|---|---|
committer | Wei Shuai <cpuwolf@gmail.com> | 2018-02-08 06:45:52 +0800 |
commit | b62f4a94932785203ad133565575bc5cf0f0f408 (patch) | |
tree | e3ccfcbb2720af4ac05f31dfcb3c3bd919d3491e /tracker-wii/wii_frame.cpp | |
parent | 9b6440c355f6540caa2fc0d7a7b65b6b7078d3ab (diff) |
tracker/wii: enhance friendly UI
1. add new status wii_cam_wait_for_dongle
2. show "insert USB dongle" in preview window
Diffstat (limited to 'tracker-wii/wii_frame.cpp')
-rw-r--r-- | tracker-wii/wii_frame.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-wii/wii_frame.cpp b/tracker-wii/wii_frame.cpp index 16bcfab2..9332a704 100644 --- a/tracker-wii/wii_frame.cpp +++ b/tracker-wii/wii_frame.cpp @@ -50,6 +50,8 @@ WIIPreview::WIIPreview(int w, int h) QImage WIIPreview::get_bitmap() { switch (status) { + case wii_cam_wait_for_dongle: + return QImage(":/Resources/usb.png"); case wii_cam_wait_for_sync: return QImage(":/Resources/sync.png"); case wii_cam_wait_for_connect: |