diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-25 13:46:08 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-25 13:46:08 +0200 |
commit | 45133f2f99dc2e6f0e786909a68f1cfd93b7f01d (patch) | |
tree | ebe3671b4427d4d82703458215bf762439b4ea1e /c/main.c | |
parent | 9bc40139e57875a7e2d6c4c6a5e4e0e9a73f7539 (diff) | |
download | EpisodeBrowser-45133f2f99dc2e6f0e786909a68f1cfd93b7f01d.tar.gz |
Rate from 1 to 10.
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -266,6 +266,11 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) case IDM_TOGGLE: case IDM_FORGET: case IDM_LOOKUP: + case IDM_RATE10: + case IDM_RATE9: + case IDM_RATE8: + case IDM_RATE7: + case IDM_RATE6: case IDM_RATE5: case IDM_RATE4: case IDM_RATE3: @@ -307,6 +312,21 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ElvRedraw(); DlvShowEpisode(lvi.lParam); break; + case IDM_RATE10: + PI(t+1,10) break; + goto r; + case IDM_RATE9: + PI(t+1,9) break; + goto r; + case IDM_RATE8: + PI(t+1,8) break; + goto r; + case IDM_RATE7: + PI(t+1,7) break; + goto r; + case IDM_RATE6: + PI(t+1,6) break; + goto r; case IDM_RATE5: PI(t+1,5) break; goto r; |