forked from pyrite-dev/milsko
h
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@27 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c684c75526
commit
7aa8438595
6 changed files with 14 additions and 1 deletions
|
|
@ -63,6 +63,9 @@ MilskoLLColor MilskoLLAllocColor(MilskoLL handle, int r, int g, int b) {
|
|||
XAllocColor(handle->display, handle->colormap, &xc);
|
||||
|
||||
c->pixel = xc.pixel;
|
||||
c->red = r;
|
||||
c->green = g;
|
||||
c->blue = b;
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue