~ubuntu-branches/ubuntu/jaunty/xvidcap/jaunty-proposed

« back to all changes in this revision

Viewing changes to src/colors.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2008-12-26 00:10:06 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20081226001006-wd8cuqn8d81smkdp
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
21
 */
22
22
 
23
 
#ifndef __COLORS_H__
24
 
#define __COLORS_H__
 
23
#ifndef _xvc_COLORS_H__
 
24
#define _xvc_COLORS_H__
 
25
 
 
26
#ifdef HAVE_CONFIG_H
 
27
#include <config.h>
 
28
#endif     // HAVE_CONFIG_H
25
29
 
26
30
/**
27
31
 * \brief struct to contain various color properties, like masks, depths,
50
54
    u_int32_t alpha_mask;
51
55
} ColorInfo;
52
56
 
53
 
ColorInfo *xvc_get_color_info (XImage * image);
54
 
int xvc_get_colors (Display * dpy, XWindowAttributes * winfo, XColor ** colors);
 
57
ColorInfo *xvc_get_color_info (const XImage * image);
 
58
int xvc_get_colors (Display * dpy, const XWindowAttributes * winfo,
 
59
                    XColor ** colors);
55
60
 
56
 
#endif     // __COLORS_H__
 
61
#endif     // _xvc_COLORS_H__