mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Remove dead code/documentation/comments
Change-Id: I4928d5967ad8a1f15b8725853102b74420252cc6
This commit is contained in:
parent
22d0c4da70
commit
747c8d5ea4
5 changed files with 1 additions and 29 deletions
|
@ -725,18 +725,6 @@ void gui_syncstatusbar_init(struct gui_syncstatusbar * bars)
|
|||
}
|
||||
}
|
||||
|
||||
void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars,
|
||||
bool force_redraw)
|
||||
{
|
||||
if(!global_settings.statusbar)
|
||||
return;
|
||||
struct viewport viewport;
|
||||
FOR_NB_SCREENS(i) {
|
||||
GET_RECT(viewport,statusbar_position(i),&screens[i]);
|
||||
gui_statusbar_draw( &(bars->statusbars[i]), force_redraw, &viewport );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
enum statusbar_values statusbar_position(int screen)
|
||||
|
|
|
@ -99,8 +99,7 @@ struct gui_syncstatusbar
|
|||
};
|
||||
|
||||
extern void gui_syncstatusbar_init(struct gui_syncstatusbar * bars) INIT_ATTR;
|
||||
extern void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars,
|
||||
bool force_redraw);
|
||||
|
||||
#if !defined(HAVE_REMOTE_LCD) || defined(__PCTOOL__)
|
||||
#include "settings.h"
|
||||
#define statusbar_position(a) ((enum statusbar_values)global_settings.statusbar)
|
||||
|
|
|
@ -425,10 +425,8 @@ static bool playing_time(void)
|
|||
gui_synclist_set_voice_callback(&pt_lists, playing_time_speak_info);
|
||||
gui_synclist_set_nb_items(&pt_lists, 8);
|
||||
gui_synclist_draw(&pt_lists);
|
||||
/* gui_syncstatusbar_draw(&statusbars, true); */
|
||||
gui_synclist_speak_item(&pt_lists);
|
||||
while (true) {
|
||||
/* gui_syncstatusbar_draw(&statusbars, false); */
|
||||
if (list_do_action(CONTEXT_LIST, HZ/2,
|
||||
&pt_lists, &key, LIST_WRAP_UNLESS_HELD) == 0
|
||||
&& key!=ACTION_NONE && key!=ACTION_UNKNOWN)
|
||||
|
|
|
@ -94,7 +94,6 @@ int plugin_open(const char *plugin, const char *parameter);
|
|||
#include "scrollbar.h"
|
||||
#include "jpeg_load.h"
|
||||
#include "../recorder/bmp.h"
|
||||
#include "statusbar.h"
|
||||
#include "menu.h"
|
||||
#include "rbunicode.h"
|
||||
#include "list.h"
|
||||
|
|
|
@ -750,13 +750,6 @@ void gui_synclist_set_title(struct gui_synclist *lists, char* title, int icon)
|
|||
\param icon
|
||||
\description
|
||||
|
||||
void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars, bool force_redraw)
|
||||
\group scroll bar
|
||||
\param bars
|
||||
\param force_redraw refreshes =bars= if true
|
||||
\description Draws an initialized statusbar =bars= on the screen and refreshs it if =force_redraw= is true.
|
||||
\see [S[apps/gui/statusbar.h]]
|
||||
|
||||
enum yesno_res gui_syncyesno_run(const struct text_message * main_message, const struct text_message * yes_message, const struct text_message * no_message)
|
||||
\group list
|
||||
\param main_message
|
||||
|
@ -1969,11 +1962,6 @@ void srand(unsigned int seed)
|
|||
\param seed
|
||||
\description Seed the random number generator
|
||||
|
||||
struct gui_syncstatusbar *statusbars
|
||||
\group scroll bar
|
||||
\return
|
||||
\description
|
||||
|
||||
int strcasecmp(const char *, const char *)
|
||||
\group strings and memory
|
||||
\param
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue