mirror of
				https://github.com/Rockbox/rockbox.git
				synced 2025-10-26 23:36:37 -04:00 
			
		
		
		
	* surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in struct scrollinfo in scroll_engine.h.
* remove function prototypes which are not actualy defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24693 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
		
							parent
							
								
									2c25fa88a5
								
							
						
					
					
						commit
						d50c78c238
					
				
					 4 changed files with 3 additions and 11 deletions
				
			
		|  | @ -166,7 +166,6 @@ extern void gui_synclist_select_item(struct gui_synclist * lists, | ||||||
| extern void gui_synclist_add_item(struct gui_synclist * lists); | extern void gui_synclist_add_item(struct gui_synclist * lists); | ||||||
| extern void gui_synclist_del_item(struct gui_synclist * lists); | extern void gui_synclist_del_item(struct gui_synclist * lists); | ||||||
| extern void gui_synclist_limit_scroll(struct gui_synclist * lists, bool scroll); | extern void gui_synclist_limit_scroll(struct gui_synclist * lists, bool scroll); | ||||||
| extern void gui_synclist_flash(struct gui_synclist * lists); |  | ||||||
| extern void gui_synclist_set_title(struct gui_synclist * lists, char * title, | extern void gui_synclist_set_title(struct gui_synclist * lists, char * title, | ||||||
|                                    enum themable_icons icon); |                                    enum themable_icons icon); | ||||||
| extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, | extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, | ||||||
|  | @ -256,7 +255,7 @@ void simplelist_addline(int line_number, const char *fmt, ...); | ||||||
| */ | */ | ||||||
| void simplelist_info_init(struct simplelist_info *info, char* title, | void simplelist_info_init(struct simplelist_info *info, char* title, | ||||||
|                           int count, void* data); |                           int count, void* data); | ||||||
|                            | 
 | ||||||
| /* show a list.
 | /* show a list.
 | ||||||
|    if list->action_callback != NULL it is called with the action ACTION_REDRAW |    if list->action_callback != NULL it is called with the action ACTION_REDRAW | ||||||
|     before the list is dislplayed for the first time */ |     before the list is dislplayed for the first time */ | ||||||
|  |  | ||||||
|  | @ -40,10 +40,6 @@ enum skinnable_screens { | ||||||
| int wps_get_touchaction(struct wps_data *data); | int wps_get_touchaction(struct wps_data *data); | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /* setup and display a WPS for the first time */ |  | ||||||
| bool gui_wps_display(struct gui_wps *gwps); |  | ||||||
|   |  | ||||||
| 
 |  | ||||||
| /* Do a update_type update of the skinned screen */ | /* Do a update_type update of the skinned screen */ | ||||||
| bool skin_update(struct gui_wps *gwps, unsigned int update_type); | bool skin_update(struct gui_wps *gwps, unsigned int update_type); | ||||||
| 
 | 
 | ||||||
|  | @ -54,10 +50,6 @@ bool skin_update(struct gui_wps *gwps, unsigned int update_type); | ||||||
| bool skin_data_load(enum screen_type screen, struct wps_data *wps_data, | bool skin_data_load(enum screen_type screen, struct wps_data *wps_data, | ||||||
|                     const char *buf, bool isfile); |                     const char *buf, bool isfile); | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| /* initial setup of wps_data */ |  | ||||||
| void skin_data_init(struct wps_data *wps_data); |  | ||||||
| 
 |  | ||||||
| /* call this in statusbar toggle handlers if needed */ | /* call this in statusbar toggle handlers if needed */ | ||||||
| void skin_statusbar_changed(struct gui_wps*); | void skin_statusbar_changed(struct gui_wps*); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -367,7 +367,6 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string, | ||||||
| 
 | 
 | ||||||
|     s->vp = current_vp; |     s->vp = current_vp; | ||||||
|     s->y = y; |     s->y = y; | ||||||
|     s->len = utf8length(string); |  | ||||||
|     s->offset = offset; |     s->offset = offset; | ||||||
|     s->startx = x * LCDFN(getstringsize)(" ", NULL, NULL); |     s->startx = x * LCDFN(getstringsize)(" ", NULL, NULL); | ||||||
|     s->backward = false; |     s->backward = false; | ||||||
|  |  | ||||||
|  | @ -50,7 +50,9 @@ struct scrollinfo | ||||||
| { | { | ||||||
|     struct viewport* vp; |     struct viewport* vp; | ||||||
|     char line[SCROLL_LINE_SIZE]; |     char line[SCROLL_LINE_SIZE]; | ||||||
|  | #ifdef HAVE_LCD_CHARCELLS | ||||||
|     int len;    /* length of line in chars */ |     int len;    /* length of line in chars */ | ||||||
|  | #endif | ||||||
|     int y;      /* Position of the line on the screen (char co-ordinates) */ |     int y;      /* Position of the line on the screen (char co-ordinates) */ | ||||||
|     int offset; |     int offset; | ||||||
|     int startx; |     int startx; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue