Ignore:
Timestamp:
Nov 15, 2003, 10:58:20 AM (19 years ago)
Author:
Sam Hocevar
Message:
  • libee/graphics.c: + Correct clipping in ee_putstr() for long strings.
  • libee/ee.c: + New ee_get_rendertime() call to provide framerate information.
  • libee/ee.h: + Added const keywords where it was meaningful, despite Slang's blatant

omission of such keywords in its prototypes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/libee/ee.h

    r171 r179  
    5252};
    5353
    54 extern char *ee_color_names[16];
     54extern const char *ee_color_names[16];
    5555
    5656/*
     
    6363 */
    6464int ee_init(void);
    65 void ee_set_delay(int);
    66 int ee_get_width(void);
    67 int ee_get_height(void);
     65void ee_set_delay(unsigned int);
     66unsigned int ee_get_rendertime(void);
     67unsigned int ee_get_width(void);
     68unsigned int ee_get_height(void);
    6869void ee_refresh(void);
    6970void ee_end(void);
     
    7475int ee_get_color(void);
    7576void ee_putchar(int, int, char);
    76 void ee_putstr(int, int, char *);
     77void ee_putstr(int, int, const char *);
    7778void ee_clear(void);
    7879
    7980void ee_draw_line(int, int, int, int, char);
    80 void ee_draw_polyline(int[], int[], int, char);
     81void ee_draw_polyline(const int[], const int[], int, char);
    8182void ee_draw_thin_line(int, int, int, int);
    82 void ee_draw_thin_polyline(int[], int[], int);
     83void ee_draw_thin_polyline(const int[], const int[], int);
    8384
    8485void ee_draw_circle(int, int, int, char);
Note: See TracChangeset for help on using the changeset viewer.