bbBroam (0.0.2) stylized broamer project
EDIT: Version 0.0.2 * for bbLean only. Sources and a xoblite test version in separated zip files.
This version can be compiled for xoblite (#define XOBLITE
preprocessor directive must be present at the beginning in bbbroam.cpp) and while not fully tested, it runs (starts at least) on xoblite.
TrackhedProductions suggested a MRU list like bbRun. It currently works but bbBroam itself doesn't know what's useful to store in the list, so it sends everything. Also you can manually set the MRUlist file to use (look in the .rc file). When using bbRun's MRUlist, bbBroam lines are not remembered however, because bbRun is not supposed to store @bbrun.run broams in its list, ATM.(*) I got ill when i was programming this (not because programming i think but some cold weather viruses) for some weeks then i found out this new version was already working and it wasn't posted yet.
Added: MRU list. (test)
Fixed: some xoblite-compatible code.
Fixed: Window positioning bug (when not using slit)
Fixed: Focus bug (Now it works and also restores previous focus)
Tested: 'Hidden Slit' option was tested
added: xob compatibility, by unkamunka
fixed: 'About' dialog wasn't properly set and crashed blackbox.
Fixed: 'On Left Click' option was meant to be 'On Right Click'
* Why bbLean? At the moment the plugin is just a few ideas, and most of them don't work under xoblite because they were conceived very 'bbLean-ish ' If you know what makes these two great shells different you'll know what I'm talkin' about.
Maybe part of this plugin plus some cool xob ideas could deliver something good for xoblite...
This thingie was first intended as bbRun's interface, but then I changed my mind and decided it could be separated and use bbRun through @bbrun.run bro@m (which sends a line to bbRun just as if was typed in its dialog box). This way it suits to people who want to use the keyboard but also want a clickable, slittable, visible (maybe more hideable in the future) and stylized input box.
The project's first aim is to make a good console-like interface with bblean looks and behavior. Extra functionality like uberbox or bbrun is planned only after reaching its first aim.
bbBroam current features:
-You can type n send bro@ms.
-If no bro@m is typed, it sends your input as a Default Bro@m's argument . Preset is @bbrun.run <whatever you type> and the rest is bbRun's job. (The 'Default Bro@m' can be set it to anything, a plugin or program receiving instructions, for example.)
-CTRL+RightClick on the label/border zone (label can also be set) -> bbBroam menu.
-CTRL+LeftClick on label/border -> Move
-ALT+LeftClick on label/border -> Resize
-Text zone size/position can be configured by rc settings.
'Hidden Slit' option explained:
When you do @bbbroam.focus (usually by hotkey) and bbSlit is hidden, bbBroam will work but it won't show up so you don't see what you're typing.
If "Hidden Slit" is activated, bbBroam assumes that bbSlit is hidden, and toggles the slit before getting focus, then toggles it again when you leave it
(<ESC> or <ENTER>). If you use bbBroam in slit mode like most slit plugins (mouse-controlled) then you don't have to worry.
So, that's it. Just this little box at the moment.
Code is included. I built it from bbSDK code by grischka (the Messiah
) also inspired by stuff from tresni's sources mainly.
Feel free to make suggestions, etc...
Observations / Known bugs:
-Some useful bbbroam.rc settings may be not present in the config menu yet.
Bug: Lack of some borders when in slit. Frame looks smaller than plugin.