From 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Wed, 14 Dec 2011 21:45:25 +0000 Subject: FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_display.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'apps/gui/skin_engine/skin_display.c') diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index 206da9d9df..0613f986b3 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c @@ -95,39 +95,6 @@ void skin_update(enum skinnable_screens skin, enum screen_type screen, #ifdef HAVE_LCD_BITMAP -void skin_statusbar_changed(struct gui_wps *skin) -{ - if (!skin) - return; - struct wps_data *data = skin->data; - const struct screen *display = skin->display; - const int screen = display->screen_type; - struct skin_viewport *svp = skin_find_item(VP_DEFAULT_LABEL_STRING, SKIN_FIND_VP, data); - - struct viewport *vp = &svp->vp; - viewport_set_defaults(vp, screen); - - if (data->wps_sb_tag) - { /* fix up the default viewport */ - if (data->show_sb_on_wps) - { - if (statusbar_position(screen) != STATUSBAR_OFF) - return; /* vp is fixed already */ - - vp->y = STATUSBAR_HEIGHT; - vp->height = display->lcdheight - STATUSBAR_HEIGHT; - } - else - { - if (statusbar_position(screen) == STATUSBAR_OFF) - return; /* vp is fixed already */ - vp->y = vp->x = 0; - vp->height = display->lcdheight; - vp->width = display->lcdwidth; - } - } -} - void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb) { struct screen *display = gwps->display; -- cgit v1.2.3