draw the bevel stuff in the pixel data buffer so parent-relative stuff can use it.
This commit is contained in:
parent
159ef95805
commit
230abdc5a0
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,7 @@ void RrRender(RrAppearance *a, int w, int h)
|
|||
switch (a->surface.grad) {
|
||||
case RR_SURFACE_SOLID:
|
||||
gradient_solid(a, w, h);
|
||||
return;
|
||||
break;
|
||||
case RR_SURFACE_VERTICAL:
|
||||
gradient_vertical(&a->surface, w, h);
|
||||
break;
|
||||
|
@ -183,6 +183,9 @@ static void gradient_solid(RrAppearance *l, int w, int h)
|
|||
|
||||
switch (sp->bevel) {
|
||||
case RR_BEVEL_1:
|
||||
g_message("%lx %lx %lx",
|
||||
sp->primary->pixel,
|
||||
sp->bevel_dark->pixel, sp->bevel_light->pixel);
|
||||
XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc,
|
||||
left, bottom, right, bottom);
|
||||
XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc,
|
||||
|
|
Loading…
Reference in a new issue