]>
Dogcows Code - chaz/openbox/blob - otk_c/color.h
91b83e01bda186f2998fdc07f168eef19a870f0d
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
9 typedef struct OtkColor
{
14 PyObject
*colorname
; // PyStringObject
18 OtkColor
*OtkColor_New(int screen
);
19 OtkColor
*OtkColor_FromRGB(int r
, int g
, int b
, int screen
);
20 OtkColor
*OtkColor_FromName(const char *name
, int screen
);
22 void OtkColor_Destroy(OtkColor
*self
);
24 void OtkColor_SetRGB(OtkColor
*self
, int r
, int g
, int b
);
25 void OtkColor_SetScreen(OtkColor
*self
, int screen
);
26 Bool
OtkColor_IsValid(OtkColor
*self
);
27 unsigned long OtkColor_Pixel(OtkColor
*self
);
29 void OtkColor_InitializeCache();
30 void OtkColor_DestroyCache();
31 void OtkColor_CleanupColorCache();
This page took 0.032628 seconds and 4 git commands to generate.