Ignore:
Timestamp:
Feb 7, 2010, 1:22:38 AM (10 years ago)
Author:
Sam Hocevar
Message:

Document file functions and fix a few issues here and there.

File:
1 edited

Legend:

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

    r4146 r4318  
    6767 *
    6868 *  @{ */
     69/** \e libcaca colour keyword */
    6970enum caca_color
    7071{
     
    8990};
    9091
     92/** \e libcaca style keyword */
    9193enum caca_style
    9294{
     
    128130struct caca_event
    129131{
    130     enum caca_event_type type;
     132    enum caca_event_type type; /**< The event type. */
    131133    union
    132134    {
     
    134136        struct { int w, h; } resize;
    135137        struct { int ch; uint32_t utf32; char utf8[8]; } key;
    136     } data;
     138    } data; /**< The event information data */
     139#if !defined(_DOXYGEN_SKIP_ME)
    137140    uint8_t padding[16];
     141#endif
    138142};
    139143
     
    569573struct caca_conio_text_info
    570574{
    571     unsigned char winleft;        /* left window coordinate */
    572     unsigned char wintop;         /* top window coordinate */
    573     unsigned char winright;       /* right window coordinate */
    574     unsigned char winbottom;      /* bottom window coordinate */
    575     unsigned char attribute;      /* text attribute */
    576     unsigned char normattr;       /* normal attribute */
    577     unsigned char currmode;       /* current video mode:
    578                                      BW40, BW80, C40, C80, or C4350 */
    579     unsigned char screenheight;   /* text screen's height */
    580     unsigned char screenwidth;    /* text screen's width */
    581     unsigned char curx;           /* x-coordinate in current window */
    582     unsigned char cury;           /* y-coordinate in current window */
     575    unsigned char winleft;        /**< left window coordinate */
     576    unsigned char wintop;         /**< top window coordinate */
     577    unsigned char winright;       /**< right window coordinate */
     578    unsigned char winbottom;      /**< bottom window coordinate */
     579    unsigned char attribute;      /**< text attribute */
     580    unsigned char normattr;       /**< normal attribute */
     581    unsigned char currmode;       /**< current video mode:
     582                                       BW40, BW80, C40, C80, or C4350 */
     583    unsigned char screenheight;   /**< text screen's height */
     584    unsigned char screenwidth;    /**< text screen's width */
     585    unsigned char curx;           /**< x-coordinate in current window */
     586    unsigned char cury;           /**< y-coordinate in current window */
    583587};
    584588
Note: See TracChangeset for help on using the changeset viewer.