PDA

View Full Version : New OSD Menu system



Ron
October 13th, 2002, 12:55 PM
That is a pretty nifty system! Nice work!

Ron
October 13th, 2002, 12:55 PM
Sure, I'll upload it as soon as i get back from my exam Quantum Mechanics.. pfff.

Ron
October 13th, 2002, 12:55 PM
Oh yeah, Party! scratch one down :smile: that is one course for the history books.

As promised here is the file hosted by Girder.nl

http://www.girder.nl/download.php?Link=221

Ron
October 13th, 2002, 12:55 PM
How many mechanics in a quantum ... well i would be inclined to say that we don't know exactly. Because of the Heisenberg uncertainty principle we cannot know the exact number of quanta per mechanic, that is your car will be done when its done :grin: ( Proof: [Quanta, Mechanics]=i*h*2*PI. this will only mean something to the die hard physicists)

How many more to go ? To many sadly, including advandced Quantum mechancs.

SteveV
October 13th, 2002, 12:55 PM
On 2002-02-19 16:56, RonB wrote:
Oh yeah, Party! scratch one down :smile: that is one course for the history books.

Congrats! How many more to go?

--Steve

Mark F
October 13th, 2002, 12:55 PM
EXCELLENT!

This would make a great plugin. :wink:

Does the transparency support require a specific version of Windows or does it try to use DirectX? The reason I ask is the background isn't transparent on my NT 4 machine. It is black.

Mark F
October 13th, 2002, 12:55 PM
So Ron, how many Mechanics are in a Quantum? Or is that pints in a liter? :smile:

Ingo
October 13th, 2002, 12:55 PM
but I'm waiting to see if anyone finds any bugs/suggests improvements


you shouldn't have called for it :wink:
just a very small addition: how about adding 'ESC' as shortcut to exit the program? and 'Backspace' to go back in history?

and a bigger one: different styles for different menues?

Ingo
October 13th, 2002, 12:55 PM
Different styles - I presume you mean for the different submenus?


yes, that was what I was thinking of.
Thanks for this little toy :wink:

want some more ideas? (ok, it's realy just ideas...)

- sound feedback: play a .wav on up, down, select (and probably even different sounds :wink:)
- once you add image support: allow free positioning of image/text
- even harder: image menues. like having several images that represent menu selections.

Ingo
October 13th, 2002, 12:55 PM
Ok, New version 1.1 is now available. I've implemented the following new features as requested:


Hi matwire,

I never requested these things... I realy called them 'ideas' for a reason... thanks anyway :wink:
(the bad thing about that is that I realy have to think about all that stuff and how to make use of it :wink: )

Ingo
October 13th, 2002, 12:55 PM
On 2002-02-21 13:32, mattwire wrote:
Since it is currently a separate program the only way to execute a girder command would be to use the tcp/ip plugin with console.exe.


calling 'girder.exe -eventstring <name>' should work as well and removes the need for the tcp/ip plugin.

Wykat
October 13th, 2002, 12:55 PM
Thx :smile: .

Now I can copy the user interface from my 4*20 LCD to the TV.

Wykat

Wykat
October 13th, 2002, 12:55 PM
Would it be possible to get the menu also to work on a 4*20 LCD ?

Wykat

Wykat
October 13th, 2002, 12:55 PM
I'm using http://www.girder.nl/phpBB/viewtopic.php?topic=823&forum=2&25 . Basically it is possible to send strings via [Treg] to the display. So you tell which [Treg], which row and which column to start.

Finally would it be possible to use your OSD menu to display scrolling news messages? So while you watch TV you can ask via Girder to get the latest CNN news or local weather? I've seen this working here (also LCD) http://www.rendo.dekooi.nl/~fjbgp/smartie/ (in screenshots).

Wykat

Wykat
October 13th, 2002, 12:55 PM
Short question(s),

I removed wnd_size=[fit2text] and set width and height to 800 and 600 respectively. I expected to get the background image full screen with the menu on top, but the background image still rescales to the text size. Am I doing something wrong or forgetting something ?

2nd question: how can I get Girder to execute a command from your menu?

Wykat

<font size=-1>[ This Message was edited by: Wykat on 2002-02-21 09:49 ]</font>

<font size=-1>[ This Message was edited by: Wykat on 2002-02-21 09:53 ]</font>

Wykat
October 13th, 2002, 12:55 PM
I think that's already in. In the demonstration the OSD disappears after 5 seconds.


parameter timeout=5 in [visual] section.

rgrds,
Wykat

mattwire
October 13th, 2002, 12:55 PM
Ok, I've just knocked together a small app to generate on screen menus. It has transparency support etc and should be pretty easy to use. Should be fairly easy to use via girder since it has keyboard shortcuts. If I get enough interest I may try and make a plugin version!
Download it here:
http://www.girder.nl/download.php?Link=221

<font size=-1>[ This Message was edited by: mattwire on 2002-02-19 17:55 ]</font>

mattwire
October 13th, 2002, 12:55 PM
Glad you like it. If you've got any suggestions for improvements etc. then please let me know.

mattwire
October 13th, 2002, 12:55 PM
Ron, any chance of hosting it on your server for me? Only I can't really use the current server too much - It's got another site on it which uses quite a fair amount of bandwidth. Thankyou :smile:

mattwire
October 13th, 2002, 12:55 PM
I just used the facility in Delphi to make forms transparent. Black is the colour I set for transparency so this is why you are seeing that colour.
Just checked the help file. It says you 'need win2000 or better'. So transparency won't work on NT4 - you could set the background color to match your overlay color and at least you'd get transparency in tv/dvd apps.

mattwire
October 13th, 2002, 12:55 PM
Well you've learnt a lot about girder...
and you've gotta admit it's a bit easier to configure mine!

mattwire
October 13th, 2002, 12:55 PM
Well the menu doesn't have to be transparent, but it's better to have the option than not!
I've added bitmap support for a background image but I'm waiting to see if anyone finds any bugs/suggests improvements with the current version before I release it - otherwise I'll end up with too many versions out in the wild!

mattwire
October 13th, 2002, 12:55 PM
Ok, I'll add Esc - that one's easy enough.
Backspace is a little more complicated because I'll have to record the history...but I'll add that one too.
Different styles - I presume you mean for the different submenus?
I'll add that one as well...

mattwire
October 13th, 2002, 12:55 PM
Ok.
Sound support - easy enough.
Image support - you want a picture beside the text (for example)?
Image menuitems - I thought someone was bound to come up with that one, again, shouldn't be TOO difficult - I'll see what I can do.

mattwire
October 13th, 2002, 12:55 PM
Hmm, LCD support. That starts to get more difficult, especially since I don't yet have an LCD. What do you normally use to control the LCD? - because if it was as simple as piping some data back and forth to another app I can probably do that without too much trouble.

mattwire
October 13th, 2002, 12:55 PM
Ok, New version 1.1 is now available. I've implemented the following new features as requested:
-Added BackBitmap support.
-Added Escape Key (Exit).
-Added Backspace Key (Previous Menu).
-Added Per-Submenu Vis settings.
-Added Sound Support
-Added Picture Menuitem Support
-Added 'Next To Menu' Picture Support
No doubt I've also implemented a few bugs, so let me know!

mattwire
October 13th, 2002, 12:55 PM
Filename is osdmenu11.zip:
http://www.girder.nl/download.php?Link=221

mattwire
October 13th, 2002, 12:55 PM
Wykat, LCD support is going to have to wait until I convert the program to work as a girder plugin - Sorry! It's on the todo list though and I will make sure I implement it eventually.

mattwire
October 13th, 2002, 12:55 PM
Well you create a menu using an ini file. An item can either lead to a submenu or execute an executable with parameters.
You can use images instead of text for the individual items (as of V1.1).

mattwire
October 13th, 2002, 12:55 PM
Congratulations! You've found two bugs caused by nothing other than my good ol' careless programming.
Get the 'fixed' version here:
http://www.girder.nl/download.php?Link=221

-Fixed mousemove when fit2text not set.
-Fixed wnd_width and wnd_height when fit2text not set.


<font size=-1>[ This Message was edited by: mattwire on 2002-02-22 11:39 ]</font>

mattwire
October 13th, 2002, 12:55 PM
Since it is currently a separate program the only way to execute a girder command would be to use the tcp/ip plugin with console.exe.
However, I am intending to convert it to a proper Girder plugin in the next couple of weeks... and then you'll be able to execute commands, stick stuff in registers etc!

mattwire
October 13th, 2002, 12:55 PM
Oops! Didn't know about that one - yep that's a far more elegant way than going via the tcp plugin!

mattwire
October 13th, 2002, 12:55 PM
no, he means in the cmdlinemsgbox.exe test prog. I'll try and find the source to it(!) and then add a timeout. BTW I'm in the process of converting OSDMenu into a girder plugin at the moment...
so watch this space!

MpegErnie
October 13th, 2002, 12:55 PM
Ow damn.... now what do I have to do with my girder menu?! :sad:


hehe, nice work.

MpegErnie
October 13th, 2002, 12:55 PM
On 2002-02-19 23:12, mattwire wrote:
Well you've learnt a lot about girder...
and you've gotta admit it's a bit easier to configure mine!

yeah, can't deny that. Good work. :thumbsup:

But why should an OSD-menu be transparant? with normal OSD's that can be usefull but I don't think I like it for menu's.

BTW when does ik get bitmap-support :razz:

Chaos
October 13th, 2002, 12:55 PM
This app is really cool, I'd love to have a plugin version of it. It would make Girder a lot more easier to configure.

Dreamshadow
October 13th, 2002, 12:55 PM
Scrolling or animated menus are definately nice- is your menu system purely text based or can you access a menu of commands/programs/executables, and then run them from the menu?

caster121
October 13th, 2002, 12:55 PM
I have a small request for the cool little testing program cmdlinemsgbox.exe. Can you add a command line option to have the window close itself after x seconds?
Shouldn't be too hard..