Ignore:
Timestamp:
Mar 6, 2006, 9:32:40 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • All output plugins should now work again.
  • Renamed caca_refresh() into caca_display() which makes more sense.
  • Optimised gl_bgpal by directly storing floats instead of doing the conversion at runtime.
  • Handle resizing in cucul_set_size() and try to keep as much information as possible from the previous canvas.
  • Moved most global variables into cucul_t or caca_t contexts.
  • Moved time.c into libcaca.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/cacaview.c

    r524 r527  
    271271            else if(event == CACA_EVENT_RESIZE)
    272272            {
    273                 caca_refresh(kk);
     273                caca_display(kk);
    274274                ww = cucul_get_width(qq);
    275275                wh = cucul_get_height(qq);
     
    301301            cucul_set_color(qq, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);
    302302            cucul_putstr(qq, (ww - strlen(buffer)) / 2, wh / 2, buffer);
    303             caca_refresh(kk);
     303            caca_display(kk);
    304304            ww = cucul_get_width(qq);
    305305            wh = cucul_get_height(qq);
     
    395395        }
    396396
    397         caca_refresh(kk);
     397        caca_display(kk);
    398398        update = 0;
    399399    }
Note: See TracChangeset for help on using the changeset viewer.