diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-28 10:55:39 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-28 10:55:39 +0000 |
commit | ff469ab5733133bfaf8b1c1925be8bdefdb6212c (patch) | |
tree | 9099d834698d773003929906cbfd22288f041e09 /apps/recorder/peakmeter.c | |
parent | 0f7f5f2267dd7447466f28946d57597b1c0b78c7 (diff) | |
download | rockbox-ff469ab5733133bfaf8b1c1925be8bdefdb6212c.tar.gz rockbox-ff469ab5733133bfaf8b1c1925be8bdefdb6212c.zip |
Updated recording trigger screen (seems to be a feature almost noone uses?)
problems/complaints in http://forums.rockbox.org/index.php?topic=16837.0
there is a known issue that on this screen the stop icon wont update, I dont know why and noone else wants to look at it, so hopefully this will force another set of eyes on it.. this is only a graphical issue... recordings still work fine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17643 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r-- | apps/recorder/peakmeter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index 3e85fd5509..9014e5c351 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -1318,7 +1318,8 @@ void peak_meter_draw_trig(int xpos[], int ypos[], int trig_width[], int nb_scree } #endif -int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) +int peak_meter_draw_get_btn(int action_context, int x, int y[], + int height, int nb_screens) { int button = BUTTON_NONE; long next_refresh = current_tick; @@ -1337,7 +1338,7 @@ int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens) bool dopeek = true; while (TIME_BEFORE(current_tick, next_big_refresh)) { - button = get_action(CONTEXT_RECSCREEN, TIMEOUT_NOBLOCK); + button = get_action(action_context, TIMEOUT_NOBLOCK); if (button != BUTTON_NONE) { break; } |