*******************
* bbvwm.dll v 0.3 *
*******************
by pika
_gingerfish_@yahoo.com
http://pika.quadrent.net/


Overview:
---------

As of version 0.3, bbvwm.dll is really meant to be nothing more than a front
end to a standard vwm module (vwm2, lsvwm, ckvwm, rabidvwm, bangvwm, etc). It
creates a display similar to a label and shortcut setup, but in one module, and
one window. It consists of three basic parts:

The Main display is a bitmap that the module will draw text on top of. The text
consists of two things: the "DeskName" as specified by bbvwmDeskName, followed
by a space and the current desktop number as kept track of by the module
itself. Responds to clicks and executes bbvwmMainCmd.

The Left arrow is a bitmap that only responds to clicks. As of v0.3, clicking
with the left mouse button automatically executes !bbvwmLeft and also executes
bbvwmLeftCmd if it is set. Please note that !bbvwmLeft does NOT actually affect
the vwm module being loaded, but ONLY affects the text displayed by bbvwm. A
good setup for using it to do this would be to set "bbvwmLeftCmd !vwmLeft" to
move the vwm module's desktop to the left while bbvwm changes its text display.

The Right arrow is a bitmap that responds in the same manner as the Left arrow,
except that it automatically executes !bbvwmRight and also bbvwmRightCmd if it
is set.

The bang commands !bbvwmRight and !bbvwmLeft, which are, again, automatically
executed when clicking on the right or left arrows respectively, change the
text in the Main display by adding or removing one to the desknumber in the
display.


Step Commands:
--------------

bbvwmMain bitmap.bmp
     sets the bitmap for the main display.


bbvwmMainCmd "!BangCommand Arguments"
     sets the bang command to execute when clicking the main display.


bbvwmBorder 0
     sets the border size for the four sides. Applies to the main display only.


bbvwmBorderLeft 0
     sets the left border size


bbvwmBorderTop 0
     sets the top border size


bbvwmBorderRight 0
     sets the right border size


bbvwmBorderBottom 0
     sets the bottom border size.


bbvwmLeft bitmap.bmp
     sets the bitmap for the left arrow.


bbvwmLeftCmd "!BangCommand"
     sets the bang command to execute when clicking the left arrow.


bbvwmRight bitmap.bmp
     sets the bitmap for the right arrow.


bbvwmRightCmd "!BangCommand"
     sets the bang command to execute when clicking the right arrow.


bbvwmSpacing 0
     sets the space put between the first and second bitmap displayed, and the
     second and third bitmap displayed.


bbvwmX 0
     sets the x-coord of the module


bbvwmY 0
     sets the y-coord of the module


bbvwmFont "Arial"
     sets the font used to display the deskname and current desk.


bbvwmFontSize 14
     sets the font size of the display.


bbvwmFontColor FFFFFF
     sets the font color of the display.


bbvwmFontItalic false
     sets the font to be displayed in italics if set to true.


bbvwmFontBold false
     sets the font to be displayed in bold if set to true.


bbvwmDeskName "desk"
     sets the name of desks in the display.


bbvwmDesks 3
     sets the number of desks being used.


bbvwmOrder 012
     sets the order of display of the bitmaps.
     0 = Main display
     1 = Left arrow
     2 = right arrow


bbvwmOnTop false
     sets the module to be on top of other windows if set to true.


bbvwmHidden false
     sets the module to be hidden on start if set to true.



Bang Commands:
--------------

!bbvwmDesk N
     changes the display to reflect desktop number 'N'.


!bbvwmDeskName "desktop"
     changes the deskname displayed.


!bbvwmFont "comic sans ms"
     changes the font used for display.


!bbvwmFontSize 10
     changes the font size used for display.


!bbvwmHide
     hides the module


!bbvwmLeft
     backs up the desktop displayed. Called automatically on clicking left
     arrow.


!bbvwmRight
     advances the desktop displayed. Called automatically on clicking right
     arrow.


!bbvwmSetText "click here"
     sets the text displayed in the module until left or right arrow is clicked
     on.


!bbvwmShow
     shows the module


!bbvwmToggle
     toggles the visible state of the module



More Info:
----------

As was said in the overview, this is at the moment little more than a frontend
to other vwm modules. Please keep this in mind when setting this module up.
Some words of warning.

Don't forget to load this with your normal vwm module.

Don't call !bbvwmLeft or !bbvwmRight on the bbvwmLeftCmd and bbvwmRightCmd
settings, as these are called automatically by clicking on the arrows.

If you call !bbvwmLeft or !bbvwmRight in a script or other place, don't forget
to also call your respective !vwmLeft or !vwmRight command to keep the vwm in
sync with the display, and vice versa.


Future Plans:
-------------

The hopeful end result of this module is a full fledged vwm module of the
blackbox style. Since I still need to delve into the inner workings of virtual
window machines, i felt it might be useful to release the display portion of
this at least.

If you have any ideas as to the function of the display, or any problems with
the module, please email me at _gingerfish_@yahoo.com and let me know. I'm
always interested in feedback.