View unanswered posts | View active topics It is currently Thu May 23, 2013 7:38 am



Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
 What would you like to see in a new BBInterface? 
Author Message
BBAdult

Joined: Wed Apr 02, 2008 9:33 am
Posts: 25
Location: Belarus
Reply with quote
Post Re: What would you like to see in a new BBInterface?
Ok thank you for this, I look for this in forums, but doesn't get anything. This link must be added in noccy's bbCLean N.E.B topic as I think. Big russian thanks for you.

*edited*
Ok, I look in source of last version and saw that noccy start to work for adding unicode.

*bbInterface*
In our russian forum I collect all request about bbInterface:
- more simple and small code, for example like this: @BBInterface Control Create Button NAME -x X -y Y -width WIDTH -command "@SomeBroam".
- some kind of entry field.
- OnMove OnResize OnFocus agents.
- relative arrangement of elements.
- Custom Tooltip agent.

_________________
Russian Blackbox Community http://anode.ru/blog/blackbox


Tue Jun 03, 2008 11:47 am
Report this post
Profile
Sponsored Links
Google Adsense


BBNewborn
User avatar

Joined: Thu Jun 12, 2008 4:19 pm
Posts: 4
Reply with quote
Post Re: What would you like to see in a new BBInterface?
At first want to see functions for xmplay and MPC (Media Player Classic) like functions for winamp.


Thu Jun 19, 2008 4:02 pm
Report this post
Profile WWW
BBTeen
User avatar

Joined: Thu May 31, 2007 8:57 am
Posts: 16
Reply with quote
Post Re: What would you like to see in a new BBInterface?
wow! [-o<
I am very glad that BBI didn't die. And you have so grandiose plans...

Now some ideas.
Component-based architechture
Perfect! I have same idea quite ago. That allow other developers to create any agents & controls that they need for own plugins.
About inside structure...
Quote:
Components are described by the functionality they provide, other components they depend on, and the extension points they define where other components can be plugged in.

Look at foobar2k. It has nice system of conponents. All conditions that you called are keep.

Maybe should make components scriptable... TCL or so on.

Specialized BBI scripts instead of broams
There is not bad to include in BBI++ support any script language (vbscript or javascript).
It helps to make some actions easy and allow simply work with COM objects.
Functions & variables.
Easy way to create variables and functions. Also simple saving it between sessions.
Nessesary to make scopes. For example: global to all, local for module, local for control & his childs.

Dev console
I like it! In old version so hard to debug scripts.

Good luck!

_________________
The thief
left it behind –
the moon at the window.


Sun Jun 22, 2008 2:12 pm
Report this post
Profile ICQ
BBDinosaur

Joined: Thu Dec 09, 2004 5:18 pm
Posts: 491
Reply with quote
Post Re: What would you like to see in a new BBInterface?
When you make a frame and set the style to none, you can still ctrl+right click on the invisible part of the frame and shows the BBI menu, without the need of editing the *.rc to another style to manage with the frame.
And a frame over another should not be pink colored when the style is none.


Sun Jun 22, 2008 4:26 pm
Report this post
Profile YIM
BBDinosaur
User avatar

Joined: Wed Feb 15, 2006 4:57 pm
Posts: 249
Reply with quote
Post Re: What would you like to see in a new BBInterface?
szekelya wrote:
-handling all mouse activities - hover/leave/doubleclick/wheel/etc

Not really, that's just more of the same - have to add a couple of lines in the source code, and those mouse actions could be handled.

szekelya wrote:
-easier control placement and resizing - maybe put x, y coords and width/height to the menu

That's already been in the source for ages, I think, just commented out. :P
szekelya wrote:
-control placement alignment for multiple controls- align left/center/right or top/middle/bottom coordinates for selected controls

Yep, that's more along the lines I was thinking. Will be added.
szekelya wrote:
-more felxibility from the bb core - while parameters could default to the BB settings, you could change font/fontsize/fontweight for the config or for individual controls
-ability to select a different style for the bbi config

Adding flexibility is not a problem - introducing it in a way that's easy to maintain for the developer, and easy to use as well is more of a challenge. Having 200 options is nice, but if you're only interested in 10, you don't really want to scroll through a configuration panel with 200 items. Any suggestions on this issue, aside from the per-component config menu for toggling options I initially proposed?

szekelya wrote:
-add easy to use support of bro@m scripts when linking them to mouse activities - I mean an easier interface to enter something like
Code:
@Script [@SomeBroam | some_prog arguments | @AnotherBroam]

Falls under the "specialized BBI scripts instead of broams" heading: more compact syntax for anything you'd want to do.

szekelya wrote:
more to come if needed

Comments are always welcome.

eDio wrote:
It would be great to have an input textfield

I plan to add that. It's not a great difference from current controls that can return a value, more of a quantitative difference than qualitative.

ZloyUser wrote:
unicode is mostly needed thing for me.

Oh, definitely. I have not checked out how feasible this would be, but if it's possible at all, it'd be a very nice addition.

AlFa wrote:
I meant putting plugins into the bb-MENU....
(which would mean that bbi could change the bb-menu at all)

No, can't really hack into the BBmenu. Building a menu yourself in BBI is not a difficult thing (see my rolldown menu used to demonstrate some new features in an older BBI version), but you got me thinking here. Variable arrays, user-defined structures, and whatever else would be needed so that you could make a custom menu where you can add a new menu item simply by adding a single line to text file. Sort of like the plain menu.rc.

unkamunka wrote:
one of the (several) things that makes me rarely use bbInterface is that the configuration menus are (perhaps unavoidably) convoluted - so that most of the setup is simpler done via a text file. In that sense, the bbInterface Menus themselves have - if practicable - room for improvement.

Following from the previous menu.rc idea - how about the BBI config menu itself being customizable in such a way?

ZloyUser wrote:
- more simple and small code, for example like this: @BBInterface Control Create Button NAME -x X -y Y -width WIDTH -command "@SomeBroam".
- some kind of entry field.
- OnMove OnResize OnFocus agents.
- relative arrangement of elements.
- Custom Tooltip agent.

All of the above has been addressed in the topic in one post or another.

RustyNail wrote:
Maybe should make components scriptable... TCL or so on.

Could happen. Not sure whether it'll be needed in the end, though. The way I see it now:
- Want to access a feature of BBI? Use BBI's built-in scripting language
- Want to access a feature outside of BBI? Write a component and plug it into BBI.

Well, even if the new BBI won't have built-in support for TCL and the like, writing a component that adds such functionality should be possible. If it won't be, I'll know I've screwed up somewhere along the way.

ser VI wrote:
When you make a frame and set the style to none, you can still ctrl+right click on the invisible part of the frame and shows the BBI menu, without the need of editing the *.rc to another style to manage with the frame.

Using LayeredExWindows (or whatever the heck they're called) for transparent backgrounds also means that the window won't receive mouse events when clicked in its transparent regions. The way to solve this without *.rc editing would be to bring up the BBI menu, and locate the control from there. In fact, such a menu listing all the controls was added in one version - got cut because it was far too slow with a larger number of controls - took seconds for the menu to pop up with 200 or so controls.



Finally, I'd like to point out that, as you can see, the two months are up. I should start working on this in a few days.

_________________
Dislike the lack of documentation for bb4win? You have the power to change this... Help out on the bb4win wiki.


Mon Jun 23, 2008 10:51 pm
Report this post
Profile
Moderator
User avatar

Joined: Sun Feb 04, 2007 2:57 pm
Posts: 1008
Location: austria
Reply with quote
Post Re: What would you like to see in a new BBInterface?
pkt-zer0 wrote:
unkamunka wrote:
one of the (several) things that makes me rarely use bbInterface is that the configuration menus are (perhaps unavoidably) convoluted - so that most of the setup is simpler done via a text file. In that sense, the bbInterface Menus themselves have - if practicable - room for improvement.

Following from the previous menu.rc idea - how about the BBI config menu itself being customizable in such a way?
Hopefully, the codebase can let you do this simply & lightweight (that is, without any eye-crossing restructuring). :shock:
pkt-zer0 wrote:
I should start working on this in a few days.
Best of good fortune! :D

_________________
HTH

unkamunka - #bb4win


Tue Jun 24, 2008 5:48 am
Report this post
Profile
BBSage
User avatar

Joined: Fri Jun 22, 2007 12:25 pm
Posts: 157
Location: Budapest, Hungary
Reply with quote
Post Re: What would you like to see in a new BBInterface?
pkt-zer0 wrote:
szekelya wrote:
-more felxibility from the bb core - while parameters could default to the BB settings, you could change font/fontsize/fontweight for the config or for individual controls
-ability to select a different style for the bbi config

Adding flexibility is not a problem - introducing it in a way that's easy to maintain for the developer, and easy to use as well is more of a challenge. Having 200 options is nice, but if you're only interested in 10, you don't really want to scroll through a configuration panel with 200 items. Any suggestions on this issue, aside from the per-component config menu for toggling options I initially proposed?

Very valid point.
I think it can be reasonable not to have everything in the configuration menu, but still configurable from the RC.
However it would be elegant to give an option to put out things in the config menu, maybe like this:
Code:
@BBInterface Control Create Frame MyFrame
@BBInterface Control SetWindowProperty MyFrame style  "C:\BBClean\styles\MyStyle.style" NotInMenu
@BBInterface Control SetWindowProperty MyFrame font Verdana InMenu
.
.
.


Of course it could be something simpler than "NotInMenu" and "InMenu", maybe 0 and 1, but I wanted to show the point.
Basic options would have an "InMenu" defaults, while advanced ones would be "NotInMenu".

Or if it sounds confusing to have different options visible for specific items and hidden for others, these could be set in the BBI plugin sepcific options in the RC like this:
Code:
@BBInterface Plugin SetPluginProperty style visible
@BBInterface Plugin SetPluginProperty font visible
@BBInterface Plugin SetPluginProperty fontsize hidden
@BBInterface Plugin SetPluginProperty fontweight hidden
@BBInterface Plugin SetPluginProperty shadow visible
@BBInterface Plugin SetPluginProperty onmouseoveractions visible
@BBInterface Plugin SetPluginProperty mouswheelactions hidden
.
.
.


What d'ya think?

_________________
My gallery on deviantArt.


Tue Jun 24, 2008 8:06 am
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Mon Nov 05, 2007 3:39 pm
Posts: 732
Reply with quote
Post Re: What would you like to see in a new BBInterface?
I'd like to be able to make child objects transparent (buttons, plugins).


Wed Jul 09, 2008 10:17 pm
Report this post
Profile
BBChild

Joined: Sun May 04, 2008 10:09 am
Posts: 6
Reply with quote
Post Re: What would you like to see in a new BBInterface?
Some advises for the new bbi version with my poor english:

1,New Controler.
the 6th controler (after button,SWBUTTON,lable,frame,slider) which we can call it "textbox" such as bbbroam or uberbox .so you can use this to display the specities text you want, and set a variable in bbinterface just like the broam "@BBInterface Set name $text$".that would be usfull for user who want to input or change the variables in their own bbinterface.

2,broam return code.
bbinterface use they own broam to configuration themself step by step with bbinterface.rc as we know. so we can have a return code as variable after a boram was send, just for judge if the last broam was availability.

3,i didn't use wamplayer for long time as many people. would you mind to add other music player suppose with bbi such as foobar2k? i know there was some plugins for it . but it's not my want.

anyway, thanks for the plugin.


Sat Jul 12, 2008 12:35 pm
Report this post
Profile
BBAdult
User avatar

Joined: Mon Aug 29, 2005 2:53 am
Posts: 30
Reply with quote
Post Re: What would you like to see in a new BBInterface?
Well, well, well. Going to take a crack at a new one, eh? Sounds good to me, I've been away for too long, and you're welcome to take it over.

In any case, some useful contribution:

At one point, I started on BBInterface 2.0. It was a big project and I never finished it - things like doing work that provided a paycheck become more pressing - but here are some of the big ideas for it:

(1) Minimal core extensible with DLLs. The BBI core would provide a minimal implementation to provide the communication mechanisms between agents and controls, as well as defining a couple key agents and controls. DLLs would be used to provide all the agents.

So, someone wants to add an agent to control XYZ, they don't have to hack and rerelease BBI, they just write a very very tiny control DLL, and everything just meshes with BBI seamlessly. (This is, incidentally, why I originally wrote it in C and not C++ - easier extensibility via other programming languages, I wanted to make it so someone could write modules in Pascal or VB or whatever, without the burden of matching C++ types.).

Or, for another example, someone could write additional controls - even complex ones, like wharfs and taskbars - through a DLL, and they'd only have to program the visual elements, and they'd get all the interface functionality and access to all agents for free from BBI.

This was the grand dream that started it all, actually - eliminate the need to rewrite the same functionality over and over every time someone wants to do something by decoupling visualization (controls) from actions and behavior (agents).

(2) Things Have Properties. Properties Are Agents. That was the other big one. Make ALL properties of controls and agents be agents themselves. Right now many properties are primitives only - numbers, strings, booleans. Like, "button.x = 123", or any other real number. By making ALL properties as agents, you could have way more power - so, "button.x = mathagent(cpuagent.percentage * 3000)" - hooking together mathematical equations, other agents, and primitives. The potential behind this is immense.

(3) Reference agent. Allowing for referencing of other properties of other controls and agents. Like, "Button1.x = MathAgent(Button2.x + 200)". Also powerful, but creates potential for circular references, so you'll have to deal with that.

(4) Global singleton agents, not belonging to any control. Like, "GlobalX = 4; button1.x = GlobalX; button2.x = GlobalX". Or more complex and dynamic ones, like "Slider.Value = GlobalCPUUsage; Graph.Value = GlobalCPUUsage";


Sun Jul 13, 2008 3:30 pm
Report this post
Profile
BBAdult
User avatar

Joined: Mon Aug 29, 2005 2:53 am
Posts: 30
Reply with quote
Post Re: What would you like to see in a new BBInterface?
Oh, and one more thing:

Beware of second system effect. It is real and dangerous and will be your biggest challenge.


Sun Jul 13, 2008 3:33 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Wed Feb 15, 2006 4:57 pm
Posts: 249
Reply with quote
Post Re: What would you like to see in a new BBInterface?
pkt-zer0 wrote:
I should start working on this in a few days.

Just a note: priorities have shifted a bit, I'll get to fixing one of the larger bugs of BBI, namely the lack of support for nesting of transparent controls, and only then start the new project. It'll take some time for me to read through the relevant documentation on MSDN and then refamiliarize myself with BBI's inner workings after all this time, though.

psyci wrote:
Well, well, well. Going to take a crack at a new one, eh? Sounds good to me, I've been away for too long, and you're welcome to take it over.

Risen from the grave, not unlike myself, eh? Neat to see you around.

psyci wrote:
things like doing work that provided a paycheck become more pressing

Paid Work, the greatest enemy of all hobby projects. I know what you mean.

psyci wrote:
Minimal core extensible with DLLs.

Same thoughts here, as described in the opening post. I'm starting to realize that it's quite a bit easier said than done.

Points 2-4 I also hope to cover. Writing a custom interpreter for all that seems to be the bigger task, and making it relatively fast.

psyci wrote:
Oh, and one more thing:

Beware of second system effect. It is real and dangerous and will be your biggest challenge.

Well, it's the first time I'm writing a blackbox plugin (or Win32 app, for that matter) from scratch, actually. Also, the very reason I want to do that is because I feel bbInterface has become that "big pile" over time. Hopefully I won't end up committing the mistakes I intend to correct in the first place.

_________________
Dislike the lack of documentation for bb4win? You have the power to change this... Help out on the bb4win wiki.


Fri Jul 18, 2008 1:22 am
Report this post
Profile
Site Admin
User avatar

Joined: Tue Jan 25, 2005 1:13 am
Posts: 741
Reply with quote
Post Re: What would you like to see in a new BBInterface?
pkt-zer0 wrote:
Just a note: priorities have shifted a bit, I'll get to fixing one of the larger bugs of BBI, namely the lack of support for nesting of transparent controls, and only then start the new project. It'll take some time for me to read through the relevant documentation on MSDN and then refamiliarize myself with BBI's inner workings after all this time, though.

Transparent controls. YESSSS! And more window options/style options perhaps, like button/button pressed? Power to you...


Fri Jul 18, 2008 9:52 am
Report this post
Profile
BBSage
User avatar

Joined: Fri Jun 22, 2007 12:25 pm
Posts: 157
Location: Budapest, Hungary
Reply with quote
Post Re: What would you like to see in a new BBInterface?
I'd be happy if I could implement a kind of startbar for which a concept mockup can be seen in cairoshell's screenshots here:
http://cairoshell.com/downloadsmain/fil ... ndTask.jpg

That could go with:
-moving systembarex/bbleanbar from its original place
-include menus side by side in a BBI frame, maybe limiting their height
-and a shell function of listing recently started applications would be nice as well.

Is that totally unimaginable?

_________________
My gallery on deviantArt.


Tue Aug 26, 2008 1:56 pm
Report this post
Profile WWW
BBTeen
User avatar

Joined: Mon Aug 11, 2008 9:05 am
Posts: 13
Location: germany
Reply with quote
Post Re: What would you like to see in a new BBInterface?
oh man, i'm gonna get flamed for this :lol:

szekelya wrote:
I'd be happy if I could implement a kind of startbar for which a concept mockup can be seen in cairoshell's screenshots here:
http://cairoshell.com/downloadsmain/fil ... ndTask.jpg


yeah, after seeing szekelya's recent shot, i finally got around to building my own cairo-shell imitation startbar. and now i wish i had a transition effect, like - i want the whole thing just sliding from the edge of the screen, instead of just *bam* appearing, and *bam* disappearing again. just like i imagine it would be in cairo..

but i think that would be a little too 'bloaty' for bb, though..


Sat Sep 27, 2008 12:01 am
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.