Notes for Stylists
bb4win_mod supports the Blackbox X11-Window manager: 0.70 syntax (as amplified here) & the 0.65 syntax (with support for earlier items).
The following table is provided to assist both existing & new stylists in navigating this support. (Items are deliberately "syntax neutral"):
| Style Item | Parent |
Default Value |
| * (wildCard) | n/a |
DefStyleA (see below) |
| MenuFrame (incl. Font) | n/a |
wildCard |
| MenuTitle (incl. Font) | MenuFrame |
DefStyleB (see below) |
| MenuHilite | MenuFrame |
MenuTitle |
| Toolbar (incl. Font) | MenuFrame |
MenuFrame |
| ToolbarButton | Toolbar |
Toolbar |
| ToolbarButtonPressed | Toolbar |
ToolbarButton |
| ToolbarLabel | Toolbar |
Toolbar |
| ToolbarWindowLabel | Toolbar |
MenuHilite |
| ToolbarClock | Toolbar |
ToolbarLabel |
| WindowTitleFocus | Toolbar |
Toolbar |
| WindowLabelFocus (incl. Font) | WindowTitleFocus |
ToolbarWindowLabel |
| WindowHandleFocus | WindowTitleFocus |
Toolbar |
| WindowGripFocus | WindowTitleFocus |
ToolbarWindowLabel |
| WindowButtonFocus | WindowTitleFocus |
ToolbarButton |
| WindowButtonPressed | WindowTitleFocus |
ToolbarButtonPressed |
| WindowTitleUnfocus | Toolbar |
Toolbar |
| WindowLabelUnfocus | WindowTitleUnfocus |
ToolbarWindowLabel |
| WindowHandleUnfocus | WindowTitleUnfocus |
Toolbar |
| WindowGripUnfocus | WindowTitleUnfocus |
ToolbarWindowLabel |
| WindowButtonUnfocus | WindowTitleUnfocus |
ToolbarButton |
| Other Element | Parent |
Default Value |
| borderWidth | n/a |
1 |
| borderColor | n/a |
#777777 |
| handleHeight | n/a |
5 |
| frameWidth | n/a |
borderWidth |
| bevelWidth | n/a |
2 |
| MenuTitleMarginWidth | n/a |
1 |
| ToolbarMarginWidth | n/a |
bevelWidth |
| WindowTitleFocusMarginWidth | n/a |
bevelWidth |
| MenuFrameDisabledColor | n/a |
MenuHiliteTextColor |
| WindowFrameFocusColor | n/a |
WindowLabelFocusColor |
| WindowFrameUnfocusColor | n/a |
WindowLabelUnfocusColorTo |
| rootCommand | n/a |
bsetroot -mod 4 4 -fg grey55 -bg grey60 |
| "Non-Classic" Item | Parent |
Default Value |
| MenuBullet | n/a |
triangle |
| MenuBulletPosition | n/a |
right |
| MenuFrameBulletColor | n/a |
MenuFrameTextColor |
| MenuHiliteBulletColor | n/a |
MenuHiliteTextColor |
| MenuHiliteDisabledColor | n/a |
MenuTitleTextColor |
| MenuSeparator | MenuFrame |
MenuFrame |
| MenuVolume (plugin support only) | MenuFrame |
MenuHilite |
| MenuIndicator | MenuFrame |
MenuVolume |
| MenuOverlap | n/a |
0 |
| Default Items | DefStyleA |
DefStyleB |
| bevelStyle | raised |
raised |
| bevelPosition | bevel1 |
bevel1 |
| gradientType | diagonal |
vertical |
| parentRelative | false |
false |
| interlaced | false |
false |
| Color | #eeeeee |
#cccccc |
| ColorTo | #cccccc |
#aaaaaa |
| TextColor | #555555 |
#333333 |
| FontHeight | 12 |
12 |
| FontWeight | normal |
normal |
| Justify | left |
center |
| Font | verdana |
verdana |
| | Note: mixing syntaxes may result in your Style not being rendered correctly |
|---|
| 0.70 Syntax | 0.65 (& earlier) Syntax |
Openbox Syntax |
| appearance | |
|
| color1 | color |
|
| backgroundColor (solid gradients only) | color |
|
| color2 | colorTo |
|
| color0 | splitColor |
color.SplitTo |
| color3 | splitColorTo |
colorTo.SplitTo |
| textColor | textColor |
|
| foregroundColor | picColor |
|
| alignment | justify |
|
| marginWidth | margin |
|
| menu.active | menu.hilite |
|
| disabledColor | disableColor |
|
| window.handleHeight | handleWidth |
|
| window.frame.borderWidth | frameWidth |
|
| window.frame.borderWidth | window.frameWidth |
|
| frame.focus.borderColor | frame.focusColor |
|
| frame.focus.borderColor | frame.focus.color |
|
| frame.unfocus.borderColor | frame.unfocusColor |
|
| frame.unfocus.borderColor | frame.unfocus.color |
|
| | bevelWidth |
|
Other Styling Matters
The following additional styling options are supported by bb4win_mod & may not be supported elsewhere:
- wildCard support for textures
- eliminating menuTitles by setting menu.title.fontHeight below 2
The following Openbox derived gradients are supported both by bb4win_mod & other active branches of bb4win:
- splitVertical
- mirrorHorizontal
Certain "new" gradients are supported both by bb4win_mod & some other branches of bb4win_mod:
- splitHorizontal
- mirrorVertical
- blockHorizontal
- blockVertical
bb4win_mod additionally supports the following gradients:
- waveHorizontal
- waveVertical
|