// bevel types
Bevel1 = (1l<<13),
Bevel2 = (1l<<14),
+ // flat border
+ Border = (1l<<15),
// inverted image
- Invert = (1l<<15),
+ Invert = (1l<<16),
// parent relative image
- Parent_Relative = (1l<<16),
+ Parent_Relative = (1l<<17),
// fake interlaced image
- Interlaced = (1l<<17)
+ Interlaced = (1l<<18)
};
BTexture(const BaseDisplay * const _display = 0,
void setColor(const BColor &_color);
void setColorTo(const BColor &_colorTo) { ct = _colorTo; }
+ void setBorderColor(const BColor &_borderColor) { bc = _borderColor; }
const BColor &color(void) const { return c; }
const BColor &colorTo(void) const { return ct; }
const BColor &lightColor(void) const { return lc; }
const BColor &shadowColor(void) const { return sc; }
+ const BColor &borderColor(void) const { return bc; }
unsigned long texture(void) const { return t; }
void setTexture(const unsigned long _texture) { t = _texture; }
const Pixmap old = 0);
private:
- BColor c, ct, lc, sc;
+ BColor c, ct, lc, sc, bc;
std::string descr;
unsigned long t;
const BaseDisplay *dpy;