Index: apps/recorder/keyboard.c =================================================================== --- apps/recorder/keyboard.c (Revision 19896) +++ apps/recorder/keyboard.c (Arbeitskopie) @@ -7,7 +7,7 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2002 by Bj�rn Stenberg + * Copyright (C) 2002 by Björn Stenberg * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -298,7 +298,7 @@ int morse_tick = 0; char buf[2]; #endif - char oldbars = viewportmanager_set_statusbar(0); + char oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL); FOR_NB_SCREENS(l) { struct keyboard_parameters *pm = ¶m[l]; Index: apps/plugins/lib/oldmenuapi.c =================================================================== --- apps/plugins/lib/oldmenuapi.c (Revision 19896) +++ apps/plugins/lib/oldmenuapi.c (Arbeitskopie) @@ -94,7 +94,7 @@ bool exit = false; int key; - char bars = rb->viewportmanager_set_statusbar(VP_ALLSCREENS); + int bars = rb->viewportmanager_set_statusbar(VP_SB_ALLSCREENS); rb->gui_synclist_draw(&(menus[m].synclist)); while (!exit) { key = rb->get_action(CONTEXT_MAINMENU,HZ/2); Index: apps/gui/list.c =================================================================== --- apps/gui/list.c (Revision 19896) +++ apps/gui/list.c (Arbeitskopie) @@ -845,7 +845,7 @@ { struct gui_synclist lists; int action, old_line_count = simplelist_line_count; - char oldbars = viewportmanager_set_statusbar(VP_ALLSCREENS); + int oldbars = viewportmanager_set_statusbar(VP_SB_ALLSCREENS); char* (*getname)(int item, void * data, char *buffer, size_t buffer_len); int wrap = LIST_WRAP_UNLESS_HELD; if (info->get_name) Index: apps/gui/viewport.c =================================================================== --- apps/gui/viewport.c (Revision 19896) +++ apps/gui/viewport.c (Arbeitskopie) @@ -35,7 +35,7 @@ #include "screen_access.h" #include "appevents.h" -static char statusbar_enabled = VP_ALLSCREENS; +static int statusbar_enabled = VP_SB_ALLSCREENS; int viewport_get_nb_lines(struct viewport *vp) { @@ -49,8 +49,9 @@ static bool showing_bars(enum screen_type screen) { - if (statusbar_enabled&(1<wps_sb_tag) draw = gui_wps[i].data->show_sb_on_wps; if (draw) - wpsbars |= VP_IGNORE_SB_SETTING(i)|(1<entry_point(parameter); Index: apps/plugin.h =================================================================== --- apps/plugin.h (Revision 19896) +++ apps/plugin.h (Arbeitskopie) @@ -126,12 +126,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 140 +#define PLUGIN_API_VERSION 141 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 140 +#define PLUGIN_MIN_API_VERSION 141 /* plugin return codes */ enum plugin_status { @@ -312,7 +312,7 @@ int height); #endif void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen); - char (*viewportmanager_set_statusbar)(char enabled); + int (*viewportmanager_set_statusbar)(int enable_status); /* list */ void (*gui_synclist_init)(struct gui_synclist * lists, list_get_name callback_get_item_name, void * data, Index: apps/root_menu.c =================================================================== --- apps/root_menu.c (Revision 19896) +++ apps/root_menu.c (Arbeitskopie) @@ -270,7 +270,7 @@ show_remote_main_backdrop(); #endif /* always re-enable the statusbar after the WPS */ - viewportmanager_set_statusbar(VP_ALLSCREENS); + viewportmanager_set_statusbar(VP_SB_ALLSCREENS); return ret_val; } #if CONFIG_TUNER Index: apps/debug_menu.c =================================================================== --- apps/debug_menu.c (Revision 19896) +++ apps/debug_menu.c (Arbeitskopie) @@ -2739,7 +2739,7 @@ { if (btn == ACTION_STD_OK) { - char oldbars = viewportmanager_set_statusbar(0); + int oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL); menuitems[gui_synclist_get_sel_pos(lists)].function(); btn = ACTION_REDRAW; viewportmanager_set_statusbar(oldbars); Index: apps/main.c =================================================================== --- apps/main.c (Revision 19896) +++ apps/main.c (Arbeitskopie) @@ -138,7 +138,7 @@ #ifdef HAVE_TOUCHSCREEN touchscreen_set_mode(TOUCHSCREEN_BUTTON); #endif - viewportmanager_set_statusbar(VP_ALLSCREENS); + viewportmanager_set_statusbar(VP_SB_ALLSCREENS); add_event(GUI_EVENT_STATUSBAR_TOGGLE, false, viewportmanager_statusbar_changed); #ifdef HAVE_USBSTACK