Skip to content

Commit

Permalink
Initial revision
Browse files Browse the repository at this point in the history
  • Loading branch information
shaleh committed Nov 30, 2001
1 parent 6c07767 commit 751b243
Show file tree
Hide file tree
Showing 26 changed files with 11,514 additions and 0 deletions.
66 changes: 66 additions & 0 deletions ChangeLog-0.51.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
ChangeLog for 0.51.x

Changes from 0.50.5 to 0.51.0:
- new default theme, shows off new gradients (see below)
- many themes updated to show off new menu bullet configuration
- added new source file Display.cc... it offers an easy way to connect to
an X display and setup screen info, this was done to make life easier
for John Kennis, the author of the bbtools. Image.cc and Image.hh have
been modified to use classes from this abstraction, so that drop in
replacements are all that is necessary to update the bbtools image code.
- configurable menu bullet... 2 new resources for in your style file:

menu.bulletStyle: (round|triangle|square|diamond|empty)
menu.bulletPosition: (left|right)

- new style resource for setting the borderWidth on menus, client windows and
the buttons/frame/handle/titlebar... the default theme uses a borderWidth
of zero... it's pretty neat
- udpated Image code... blackbox now supports 8 types of gradients (thanks
to mosfet@kde.org... in exchange for helping him get the diagonal gradient
code from blackbox into kde, kde gave me the source to their new gradients)
the 8 gradients are:

diagonal, vertical, horizontal, crossdiagonal, pipecross, elliptic,
pyramid, rectangle

use them just like you would normally (ie. raised elliptic gradient bevel1)
- merged John Kennis' patch for notifying KDE modules of windows that are
raised/lowered/activated(focused)
- new geometry window that is displayed when a window is moved/resized
- cleaned up code for detecting slit apps
- window stacking code changed to keep menus above windows, and to keep the
slit raised when the toolbar is raised
- fixed compiler error from gcc 2.95 about frame.frame in several places
- fixed some bugs with shaped windows that set decorations via MWM hints,
and also fixed bugs with such windows changing their shape
- more complete ICCCM compliance, default window gravity is now NorthWest
instead of Static...
- focus code revamped... window focusing is alot faster and simpler, i
mimicked the way TWM does it's focusing... proved much faster
- the window menu always has "Kill Client" as an option now
- fixed window stacking for windows that have multiple transients (like
netscape)
- smartplacement from 0.50.4 has been reinstated... i quickly grew tired of
waiting on windows to be placed with the old version (if you like the way
0.50.5 did it... send me an email and i'll consider making it an option)
- added some new signal handling code (using sigaction, if available on your
system)...
- fixed some bugs with KDE support... this makes bbpager behave properly
- workspace editing via the toolbar has been made a little nicer with the
new focus code... right clicking on the workspace label will put you into
edit mode, but no windows can be focused until you leave edit mode...
ALSO... the window that had focus when you entered edit mode will have the
focus returned to it after editing is finished
- added new option to blackbox... -rc <filename> will read <filename> instead
of .blackboxrc for it's base configuration
- the option for opaque window moves has been moved from the stylefile into
.blackboxrc... set the session.opaqueMove: resource to True or False,
depending on what you want
- general namespace cleanups... just stuff to make maintaining the code a
little easier...
- any form of "beta" has been removed from the version number for 0.51.x
i am declaring this series as "stable" so that i can begin a major overhaul
of blackbox, which will be done with John Kennis and Jason Kasper, two
very sharp guys that think the same way i do ;)

20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

111 changes: 111 additions & 0 deletions data/styles/Artwiz
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
toolbar: raised gradient vertical
toolbar.color: rgb:80/84/88
toolbar.colorTo: rgb:30/34/38

toolbar.button: raised gradient diagonal
toolbar.button.color: rgb:90/94/98
toolbar.button.colorTo: rgb:20/24/28
toolbar.button.picColor: white

toolbar.button.pressed: sunken gradient diagonal
toolbar.button.pressed.color: black
toolbar.button.pressed.colorTo: rgb:80/98/d0

toolbar.clock: sunken gradient diagonal
toolbar.clock.color: rgb:10/20/30
toolbar.clock.colorTo: rgb:70/80/90
toolbar.clock.textColor: white

toolbar.label: sunken gradient diagonal
toolbar.label.color: rgb:10/20/30
toolbar.label.colorTo: rgb:70/80/90
toolbar.label.textColor: white

toolbar.windowLabel: sunken gradient diagonal
toolbar.windowLabel.color: rgb:10/20/30
toolbar.windowLabel.colorTo: rgb:70/80/90
toolbar.windowLabel.textColor: white

toolbar.justify: center


menu.title: raised gradient diagonal
menu.title.color: rgb:90/94/98
menu.title.colorTo: rgb:20/24/28
menu.title.textColor: white
menu.title.justify: center

menu.frame: sunken gradient diagonal
menu.frame.color: rgb:10/20/30
menu.frame.colorTo: rgb:70/80/90
menu.frame.textColor: rgb:90/a0/b0
menu.frame.justify: center

menu.hilite: raised gradient diagonal
menu.hilite.color: rgb:90/94/98
menu.hilite.colorTo: rgb:20/24/28
menu.hilite.textColor: white

menu.bullet: empty
menu.bullet.position: right


window.title.focus: raised gradient vertical
window.title.focus.color: rgb:80/84/88
window.title.focus.colorTo: rgb:30/34/38
window.title.unfocus: raised vertical gradient
window.title.unfocus.color: rgb:50/54/58
window.title.unfocus.colorTo: black

window.label.focus: sunken diagonal gradient
window.label.focus.color: rgb:10/20/30
window.label.focus.colorTo: rgb:70/80/90
window.label.focus.textColor: white
window.label.unfocus: sunken gradient diagonal
window.label.unfocus.color: black
window.label.unfocus.colorTo: rgb:40/50/60
window.label.unfocus.textColor: rgb:60/64/68

window.button.focus: raised gradient diagonal
window.button.focus.color: rgb:90/94/98
window.button.focus.colorTo: rgb:20/24/28
window.button.focus.picColor: white
window.button.unfocus: raised gradient diagonal
window.button.unfocus.color: rgb:50/54/58
window.button.unfocus.colorTo: black
window.button.unfocus.picColor: rgb:70/74/78
window.button.pressed: sunken gradient diagonal
window.button.pressed.color: rgb:20/40/50
window.button.pressed.colorTo: rgb:60/70/80

window.frame.focus: sunken solid
window.frame.focus.color: rgb:40/44/48
window.frame.unfocus: sunken solid bevel1
window.frame.unfocus.color: rgb:20/24/28

window.handle.focus: raised gradient diagonal
window.handle.focus.color: rgb:70/74/78
window.handle.focus.colorTo: rgb:40/44/48
window.handle.unfocus: raised gradient diagonal
window.handle.unfocus.color: rgb:50/54/58
window.handle.unfocus.colorTo: black

window.grip.focus: sunken diagonal gradient
window.grip.focus.color: rgb:20/30/40
window.grip.focus.colorTo: rgb:60/70/80
window.grip.unfocus: sunken diagonal gradient
window.grip.unfocus.color: black
window.grip.unfocus.colorTo: rgb:30/40/50

window.justify: center


borderColor: black

bevelWidth: 2
borderWidth: 1
handleWidth: 5

rootCommand: bsetroot -mod 4 4 -bg rgb:10/18/20 -fg rgb:30/38/40

*Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-*
93 changes: 93 additions & 0 deletions data/styles/Flux
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
toolbar: flat solid
toolbar.color: rgb:6/6/54
toolbar.button: flat solid
toolbar.button.color: rgb:6/6/54
toolbar.button.picColor: rgb:2/2/1c
toolbar.label: flat crossdiagonal gradient
toolbar.label.color: rgb:8/8/7
toolbar.label.colorTo: rgb:f/f/d
toolbar.label.textColor: rgb:2/2/1c
toolbar.windowLabel: flat crossdiagonal gradient
toolbar.windowLabel.color: rgb:8/8/7
toolbar.windowLabel.colorTo: rgb:f/f/d
toolbar.windowLabel.textColor: rgb:2/2/1c
toolbar.clock: flat crossdiagonal gradient
toolbar.clock.color: rgb:8/8/7
toolbar.clock.colorTo: rgb:f/f/d
toolbar.clock.textColor: rgb:2/2/1c
toolbar.justify: right
toolbar.font: lucidasans-10

menu.title: flat crossdiagonal gradient
menu.title.color: rgb:8/8/7
menu.title.colorTo: rgb:f/f/d
menu.title.textColor: rgb:2/2/1c
menu.title.font: lucidasans-10
menu.title.justify: right

menu.frame: flat solid
menu.frame.color: rgb:6/6/54
menu.frame.textColor: grey85
menu.frame.disableColor: rgb:4/4/38
menu.frame.font: lucidasans-10
menu.frame.justify: center

menu.bullet.position: right
menu.bullet: triangle

menu.hilite: flat solid
menu.hilite.color: rgb:4/4/38
menu.hilite.textColor: white

window.title.focus: flat solid
window.title.focus.color: rgb:6/6/54
window.title.unfocus: flat solid
window.title.unfocus.color: rgb:4/4/38

window.label.focus: flat crossdiagonal gradient
window.label.focus.color: rgb:8/8/7
window.label.focus.colorTo: rgb:f/f/d
window.label.focus.textColor: rgb:2/2/1c
window.label.unfocus: flat solid
window.label.unfocus.color: rgb:4/4/38
window.label.unfocus.textColor: rgb:2/2/1c

window.button.focus: flat solid
window.button.focus.color: rgb:6/6/54
window.button.focus.picColor: rgb:2/2/1c
window.button.unfocus: flat solid
window.button.unfocus.color: rgb:4/4/38
window.button.unfocus.picColor: rgb:2/2/1c

window.handle.focus: flat crossdiagonal gradient
window.handle.focus.color: rgb:8/8/7
window.handle.focus.colorTo: rgb:f/f/d
window.handle.unfocus: flat solid
window.handle.unfocus.color: rgb:4/4/38

window.grip.focus: flat solid
window.grip.focus.color: rgb:8/8/7
window.grip.unfocus: flat solid
window.grip.unfocus.color: rgb:4/4/38

window.frame.focus: flat solid
window.frame.focus.color: rgb:f/f/d
window.frame.unfocus: flat solid
window.frame.unfocus.color: rgb:6/6/54

window.font: lucidasans-10
window.justify: right

*button.pressed: flat solid
*button.pressed.color: rgb:a/a/8c

borderColor: rgb:2/2/1c

bevelWidth: 2
borderWidth: 2
handleWidth: 3

*textColor: grey20
*Font: lucidasans-10

rootCommand: bsetroot -solid rgb:4/4/38
105 changes: 105 additions & 0 deletions data/styles/Nyz
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
toolbar: flat diagonal gradient
toolbar.color: rgb:6/9/c
toolbar.colorTo: rgb:4/6/8
toolbar.button: flat diagonal gradient
toolbar.button.color: rgb:3/48/6
toolbar.button.colorTo: rgb:5/78/a
toolbar.button.picColor: rgb:1/18/2
toolbar.button.pressed: flat crossdiagonal gradient
toolbar.button.pressed.color: grey40
toolbar.button.pressed.colorTo: grey20
toolbar.label: flat crossdiagonal gradient
toolbar.label.color: grey40
toolbar.label.colorTo: grey20
toolbar.label.textColor: grey85
toolbar.windowLabel: flat crossdiagonal gradient
toolbar.windowLabel.color: grey40
toolbar.windowLabel.colorTo: grey20
toolbar.windowLabel.textColor: grey85
toolbar.clock: flat crossdiagonal gradient
toolbar.clock.color: grey40
toolbar.clock.colorTo: grey20
toolbar.clock.textColor: grey85
toolbar.justify: right
toolbar.font: lucidasans-10

menu.title: flat crossdiagonal gradient
menu.title.color: rgb:6/9/c
menu.title.colorTo: rgb:3/48/6
menu.title.textColor: white
menu.title.font: lucidasans-10
menu.title.justify: right

menu.frame: flat crossdiagonal gradient
menu.frame.color: grey40
menu.frame.colorTo: grey20
menu.frame.textColor: grey85
menu.frame.disableColor: rgb:4/4/38
menu.frame.font: lucidasans-10
menu.frame.justify: center

menu.bullet.position: right
menu.bullet: triangle

menu.hilite: flat crossdiagonal gradient
menu.hilite.color: rgb:6/9/c
menu.hilite.colorTo: rgb:3/48/6
menu.hilite.textColor: white

window.title.focus: flat diagonal gradient
window.title.focus.color: rgb:6/9/c
window.title.focus.colorTo: rgb:4/6/8
window.title.unfocus: flat solid
window.title.unfocus.color: grey30

window.label.focus: flat crossdiagonal gradient
window.label.focus.color: grey40
window.label.focus.colorTo: grey20
window.label.focus.textColor: white
window.label.unfocus: flat crossdiagonal gradient
window.label.unfocus.color: grey30
window.label.unfocus.colorTo: grey20
window.label.unfocus.textColor: grey60

window.button.focus: flat diagonal gradient
window.button.focus.color: rgb:4/6/8
window.button.focus.colorTo: rgb:5/78/a
window.button.focus.picColor: rgb:1/18/2
window.button.unfocus: flat solid
window.button.unfocus.color: grey30
window.button.unfocus.picColor: grey20
window.button.pressed: flat crossdiagonal gradient
window.button.pressed.color: grey40
window.button.pressed.colorTo: grey20

window.handle.focus: flat crossdiagonal gradient
window.handle.focus.color: rgb:6/9/c
window.handle.focus.colorTo: rgb:3/48/6
window.handle.unfocus: flat solid
window.handle.unfocus.color: grey30

window.grip.focus: flat crossdiagonal gradient
window.grip.focus.color: grey40
window.grip.focus.colorTo: grey20
window.grip.unfocus: flat crossdiagonal gradient
window.grip.unfocus.color: grey30
window.grip.unfocus.colorTo: grey20

window.frame.focus: flat solid
window.frame.focus.color: rgb:6/9/c
window.frame.unfocus: flat solid
window.frame.unfocus.color: grey30

window.font: lucidasans-10
window.justify: right

borderColor: grey10

bevelWidth: 1
borderWidth: 2
handleWidth: 4

*textColor: grey85
*Font: lucidasans-10

rootCommand: bsetroot -solid grey20
Loading

0 comments on commit 751b243

Please sign in to comment.