]>
Dogcows Code - chaz/openbox/blob - otk_c/color.h
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.039941 seconds and 5 git commands to generate.