Ignore:
Timestamp:
Mar 8, 2006, 8:41:53 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed async issues between the driver and libcaca when resizing windows, and simplified the handle_resize() API. Still can be polished.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_internals.h

    r551 r553  
    102102        unsigned int (* get_window_height) (caca_t *);
    103103        void (* display) (caca_t *);
    104         void (* handle_resize) (caca_t *, unsigned int *, unsigned int *);
     104        void (* handle_resize) (caca_t *);
    105105        unsigned int (* get_event) (caca_t *);
    106106    } drv;
     
    113113
    114114    /* Window resize handling */
    115     int resize;
    116     int resize_event;
     115    struct resize
     116    {
     117        int resized;   /* A resize event was requested */
     118        //int acked;     /* The event has been acknowledged by the user */
     119        unsigned w, h; /* Requested width and height */
     120    } resize;
    117121
    118122    /* Framerate handling */
Note: See TracChangeset for help on using the changeset viewer.