forked from len0rd/rockbox
puzzles: resync with upstream
There have been some improvements with regard to small screen sizes, which will be nice to have. Change-Id: I30c740514156258d2818fde325c1a751500f7611
This commit is contained in:
parent
7a8c9daf7e
commit
ef1306764e
107 changed files with 4782 additions and 2368 deletions
|
|
@ -9,13 +9,15 @@
|
|||
|
||||
#include "puzzles.h"
|
||||
|
||||
char UI_UPDATE[] = "";
|
||||
|
||||
void free_cfg(config_item *cfg)
|
||||
{
|
||||
config_item *i;
|
||||
|
||||
for (i = cfg; i->type != C_END; i++)
|
||||
if (i->type == C_STRING)
|
||||
sfree(i->sval);
|
||||
sfree(i->u.string.sval);
|
||||
sfree(cfg);
|
||||
}
|
||||
|
||||
|
|
@ -349,7 +351,7 @@ void pos2c(int w, int h, int pos, int *cx, int *cy)
|
|||
|
||||
void draw_text_outline(drawing *dr, int x, int y, int fonttype,
|
||||
int fontsize, int align,
|
||||
int text_colour, int outline_colour, char *text)
|
||||
int text_colour, int outline_colour, const char *text)
|
||||
{
|
||||
if (outline_colour > -1) {
|
||||
draw_text(dr, x-1, y, fonttype, fontsize, align, outline_colour, text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue