fd = &self->framedecor[0];
fd->obwin.type = Window_Decoration;
fd->surface = RrSurfaceNewChild(RR_SURFACE_PLANAR, self->surface, 1);
- RrPlanarSet(fd->surface, RR_PLANAR_HORIZONTAL, &sec, &pri);
+ RrPlanarSet(fd->surface, RR_PLANAR_HORIZONTAL, RR_RAISED_OUTER, &sec, &pri,
+ 0, NULL);
RrTextureSetText(fd->surface, 0, foont, RR_LEFT,
"OPENBOX SUCKS because of me.");
fd->window = RrSurfaceWindow(fd->surface);
fd = &self->framedecor[1];
fd->obwin.type = Window_Decoration;
fd->surface = RrSurfaceNewChild(RR_SURFACE_PLANAR, self->surface, 0);
- RrPlanarSet(fd->surface, RR_PLANAR_HORIZONTAL, &pri, &sec);
+ RrPlanarSet(fd->surface, RR_PLANAR_HORIZONTAL, RR_RAISED_OUTER, &sec, &pri,
+ 0, NULL);
fd->window = RrSurfaceWindow(fd->surface);
XSelectInput(ob_display, fd->window, ELEMENT_EVENTMASK);
fd->anchor = Decor_Bottom;
*/
RrColorSet(&pri, 1, 0, 0, 0);
RrColorSet(&sec, 0, 1, 0, 0);
- RrPlanarSet(self->s_bg, RR_PLANAR_VERTICAL, &pri, &sec);
+ RrPlanarSet(self->s_bg, RR_PLANAR_VERTICAL, RR_SUNKEN_INNER, &pri, &sec,
+ 1, &pri);
RrColorSet(&pri, 0, 0.5, 0, 0.7);
RrColorSet(&sec, 0.5, 0, 0.5, 0.7);
- RrPlanarSet(self->s_text, RR_PLANAR_HORIZONTAL, &pri, &sec);
+ RrPlanarSet(self->s_text, RR_PLANAR_HORIZONTAL, RR_BEVEL_NONE, &pri, &sec,
+ 0, NULL);
if (self->s_icon) {
RrColorSet(&pri, 0, 0, 1, 0.7);
RrColorSet(&sec, 0.5, 0.5, 0, 0.7);
- RrPlanarSet(self->s_icon, RR_PLANAR_HORIZONTAL, &pri, &sec);
+ RrPlanarSet(self->s_icon, RR_PLANAR_HORIZONTAL, RR_BEVEL_NONE, &pri,
+ &sec, 0, NULL);
}
return self;