version 1.8, 2003/10/03 07:24:05 |
version 1.9, 2005/06/05 15:39:17 |
Line 472 pxa2x0_lcd_setup_wsscreen(struct pxa2x0_ |
|
Line 472 pxa2x0_lcd_setup_wsscreen(struct pxa2x0_ |
|
|
|
if (fontname) { |
if (fontname) { |
wsfont_init(); |
wsfont_init(); |
cookie = wsfont_find((char *)fontname, 0, 0, 0, |
cookie = wsfont_find(fontname, 0, 0, 0, |
WSDISPLAY_FONTORDER_L2R, WSDISPLAY_FONTORDER_L2R); |
WSDISPLAY_FONTORDER_L2R, WSDISPLAY_FONTORDER_L2R); |
if (cookie < 0 || |
if (cookie < 0 || |
wsfont_lock(cookie, &rinfo.ri_font)) |
wsfont_lock(cookie, &rinfo.ri_font)) |
Line 527 pxa2x0_lcd_alloc_screen(void *v, const s |
|
Line 527 pxa2x0_lcd_alloc_screen(void *v, const s |
|
{ |
{ |
struct pxa2x0_lcd_softc *sc = v; |
struct pxa2x0_lcd_softc *sc = v; |
struct pxa2x0_lcd_screen *scr; |
struct pxa2x0_lcd_screen *scr; |
struct pxa2x0_wsscreen_descr *type = (struct pxa2x0_wsscreen_descr *)_type; |
const struct pxa2x0_wsscreen_descr *type = |
|
(const struct pxa2x0_wsscreen_descr *)_type; |
|
|
scr = pxa2x0_lcd_new_screen(sc, type->depth); |
scr = pxa2x0_lcd_new_screen(sc, type->depth); |
if (scr == NULL) |
if (scr == NULL) |