Last change
on this file since 3565 was
2821,
checked in by Sam Hocevar, 14 years ago
|
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
|
-
Property svn:keywords set to
Id
|
File size:
708 bytes
|
Rev | Line | |
---|
[739] | 1 | /* |
---|
| 2 | * Imaging tools for cacaview and img2irc |
---|
[769] | 3 | * Copyright (c) 2003-2006 Sam Hocevar <sam@zoy.org> |
---|
[739] | 4 | * All Rights Reserved |
---|
| 5 | * |
---|
| 6 | * $Id: common-image.h 2821 2008-09-27 13:12:46Z sam $ |
---|
| 7 | * |
---|
[1462] | 8 | * This program is free software. It comes without any warranty, to |
---|
[1452] | 9 | * the extent permitted by applicable law. You can redistribute it |
---|
| 10 | * and/or modify it under the terms of the Do What The Fuck You Want |
---|
| 11 | * To Public License, Version 2, as published by Sam Hocevar. See |
---|
[739] | 12 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | struct image |
---|
| 16 | { |
---|
| 17 | char *pixels; |
---|
| 18 | unsigned int w, h; |
---|
[2821] | 19 | struct caca_dither *dither; |
---|
[739] | 20 | void *priv; |
---|
| 21 | }; |
---|
| 22 | |
---|
| 23 | /* Local functions */ |
---|
| 24 | extern struct image * load_image(char const *); |
---|
| 25 | extern void unload_image(struct image *); |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.