source: libcaca/trunk/cucul/cucul_internals.h @ 536

Last change on this file since 536 was 536, checked in by Sam Hocevar, 15 years ago
  • Moved stuff around to differenciate between libcucul and libcaca.
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/*
2 *  libcucul      Unicode canvas library
3 *  Copyright (c) 2002-2006 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  This library is free software; you can redistribute it and/or
7 *  modify it under the terms of the Do What The Fuck You Want To
8 *  Public License, Version 2, as published by Sam Hocevar. See
9 *  http://sam.zoy.org/wtfpl/COPYING for more details.
10 */
11
12/** \file cucul_internals.h
13 *  \version \$Id: cucul_internals.h 536 2006-03-06 20:57:14Z sam $
14 *  \author Sam Hocevar <sam@zoy.org>
15 *  \brief The \e libcucul private header.
16 *
17 *  This header contains the private types and functions used by \e libcucul.
18 */
19
20#ifndef __CUCUL_INTERNALS_H__
21#define __CUCUL_INTERNALS_H__
22
23struct cucul_context
24{
25    /* Context size */
26    unsigned int width, height;
27
28    uint32_t *chars;
29    uint8_t *attr;
30    uint8_t *empty_line, *scratch_line;
31
32    enum cucul_color fgcolor;
33    enum cucul_color bgcolor;
34
35    /* Internal libcucul features */
36    enum cucul_feature background, antialiasing, dithering;
37
38    unsigned int refcount;
39};
40
41/* Initialisation functions */
42extern int _cucul_init_bitmap(void);
43extern int _cucul_end_bitmap(void);
44
45#endif /* __CUCUL_INTERNALS_H__ */
Note: See TracBrowser for help on using the repository browser.