2 <!DOCTYPE class SYSTEM '/usr/local/xslt/doc.dtd'>
3 <?xml-stylesheet type='text/xsl' href='class.xsl'?>
4 <class name='color' system='AXE - ANDROMEDA X windows Encapsulation'>
5 <title>Color allocation in X</title>
8 #include <AXE/color.h>
16 The <strong>color</strong> class encapsulates the <emph>Color</emph>
22 <function name='operator unsigned long'>
23 <title>Convert color to a pixel value</title>
26 <function name='color'>
27 <title>color contructors and destructors</title>
30 <function name='Alloc'>
31 <title>title:Allocate a new color</title>
33 <argument name='red' type='unsigned'>
35 <argument name='green' type='unsigned'>
37 <argument name='blue' type='unsigned'>
41 <argument name='colorname' type='char *'>
46 Allocate a new Color resource in the X server.