Comment 50 for bug 64147

Revision history for this message
Martin Pitt (pitti) wrote : Re: Logo is blurred on resolutions without an explicit theme

To use only a logo, you could do something like

extern struct usplash_pixmap pixmap_usplash_logo_small;

[...]

struct usplash_theme usplash_theme = {
        .version = THEME_VERSION, /* ALWAYS set this to THEME_VERSION,
                                 it's a compatibility check */
    .next = &usplash_theme_640_480,
    .ratio = USPLASH_16_9,

        /* Background and font */
        .pixmap = &pixmap_usplash_logo_small,

        /* theme resolution; if 0, use width/height of pixmap */
        .theme_width = 640,
        .theme_height = 400,

        /* position of pixmap */
        .pixmap_x = 200,
        .pixmap_y = 80,

  [...]