Changeset 645


Ignore:
Timestamp:
Mar 18, 2006, 1:12:25 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Cosmetic fixes.
Location:
libcaca/trunk
Files:
6 edited

Legend:

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

    r611 r645  
    100100#ifndef __CACA_H__
    101101#define __CACA_H__
     102
     103#define CACA_API_VERSION_1
    102104
    103105#include <cucul.h>
  • libcaca/trunk/caca/caca_internals.h

    r573 r645  
    153153};
    154154
    155 /* Timer functions */
     155/* Internal timer functions */
    156156extern void _caca_sleep(unsigned int);
    157157extern unsigned int _caca_getticks(struct caca_timer *);
    158158
     159/* Internal event functions */
     160extern void _caca_handle_resize(caca_t *);
     161#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO)
     162extern void _push_event(caca_t *, unsigned int);
     163extern unsigned int _pop_event(caca_t *);
     164#endif
     165
    159166#endif /* __CACA_INTERNALS_H__ */
  • libcaca/trunk/caca/event.c

    r553 r645  
    2727static unsigned int _get_next_event(caca_t *);
    2828static unsigned int _lowlevel_event(caca_t *);
    29 #if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO)
    30 void _push_event(caca_t *, unsigned int);
    31 unsigned int _pop_event(caca_t *);
    32 #endif
    3329
    3430#if !defined(_DOXYGEN_SKIP_ME)
  • libcaca/trunk/caca/graphics.c

    r582 r645  
    2424#include "cucul.h"
    2525#include "cucul_internals.h"
    26 
    27 /*
    28  * Local functions
    29  */
    30 void _caca_handle_resize(caca_t *kk);
    3126
    3227/** \brief Set the window title.
  • libcaca/trunk/cucul/char.c

    r643 r645  
    4848 *  \param bgcolor The requested background colour.
    4949 */
    50 void cucul_set_color(cucul_t *qq, enum cucul_color fgcolor, enum cucul_color bgcolor)
     50void cucul_set_color(cucul_t *qq, enum cucul_color fgcolor,
     51                                  enum cucul_color bgcolor)
    5152{
    5253    if(fgcolor < 0 || fgcolor > 15 || bgcolor < 0 || bgcolor > 15)
  • libcaca/trunk/cucul/cucul_internals.h

    r643 r645  
    5353extern int _cucul_init_bitmap(void);
    5454extern int _cucul_end_bitmap(void);
    55 void _cucul_set_size(cucul_t *qq, unsigned int width, unsigned int height);
     55extern void _cucul_set_size(cucul_t *, unsigned int, unsigned int);
    5656
    5757/* Charset functions */
    58 unsigned int _cucul_strlen_utf8(char const *s);
    59 char const *_cucul_skip_utf8(char const *s, unsigned int x);
    60 uint32_t _cucul_utf8_to_utf32(char const *s);
    61 uint8_t _cucul_utf32_to_cp437(uint32_t c);
    62 uint32_t _cucul_cp437_to_utf32(uint8_t c);
     58extern unsigned int _cucul_strlen_utf8(char const *);
     59extern char const *_cucul_skip_utf8(char const *, unsigned int);
     60extern uint32_t _cucul_utf8_to_utf32(char const *);
     61extern uint8_t _cucul_utf32_to_cp437(uint32_t);
     62extern uint32_t _cucul_cp437_to_utf32(uint8_t);
    6363
    6464/* Export functions */
    65 void _cucul_get_ansi(cucul_t *qq, struct cucul_buffer *ex);
    66 void _cucul_get_html(cucul_t *qq, struct cucul_buffer *ex);
    67 void _cucul_get_html3(cucul_t *qq, struct cucul_buffer *ex);
    68 void _cucul_get_irc(cucul_t *qq, struct cucul_buffer *ex);
    69 void _cucul_get_ps(cucul_t *qq, struct cucul_buffer *ex);
    70 void _cucul_get_svg(cucul_t *qq, struct cucul_buffer *ex);
     65extern void _cucul_get_ansi(cucul_t *, struct cucul_export *);
     66extern void _cucul_get_html(cucul_t *, struct cucul_export *);
     67extern void _cucul_get_html3(cucul_t *, struct cucul_export *);
     68extern void _cucul_get_irc(cucul_t *, struct cucul_export *);
     69extern void _cucul_get_ps(cucul_t *, struct cucul_export *);
     70extern void _cucul_get_svg(cucul_t *, struct cucul_export *);
    7171
    7272#endif /* __CUCUL_INTERNALS_H__ */
Note: See TracChangeset for help on using the changeset viewer.