Ignore:
Timestamp:
Sep 30, 2006, 8:20:39 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • As per user request, only display the "Powered by libcaca" banner for a few seconds at the beginning.
Location:
libcaca/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/aafire.c

    r964 r1152  
    242242                      cucul_get_canvas_height(cv), cucul_dither, bitmap);
    243243  cucul_set_color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);
    244   cucul_putstr(cv, cucul_get_canvas_width(cv) - 30,
    245                cucul_get_canvas_height(cv) - 2, " -=[ Powered by libcaca ]=- ");
     244  if (sloop < 100)
     245    cucul_putstr(cv, cucul_get_canvas_width(cv) - 30,
     246                 cucul_get_canvas_height(cv) - 2,
     247                 " -=[ Powered by libcaca ]=- ");
    246248 
    247249  caca_refresh_display(dp);
  • libcaca/trunk/src/cacademo.c

    r1043 r1152  
    171171
    172172        cucul_set_color(frontcv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);
    173         cucul_putstr(frontcv, cucul_get_canvas_width(frontcv) - 30,
    174                               cucul_get_canvas_height(frontcv) - 2,
    175                               " -=[ Powered by libcaca ]=- ");
     173        if(frame < 100)
     174            cucul_putstr(frontcv, cucul_get_canvas_width(frontcv) - 30,
     175                                  cucul_get_canvas_height(frontcv) - 2,
     176                                  " -=[ Powered by libcaca ]=- ");
    176177        caca_refresh_display(dp);
    177178    }
Note: See TracChangeset for help on using the changeset viewer.