View Full Version : Multi-bitmaps in OSD PopUp
Ron
October 13th, 2002, 12:55 PM
Mark, would adding a binary field solve your problems ? I was thinking of adding 2 fields: 'Data' and 'Size', also 2 new functions gir_free and gir_malloc.
Ron
October 13th, 2002, 12:55 PM
No I didn't mean to make you finish the plugin! :smile: Just to see if this would solve the most grave limitation that the structure has right now.
-Ron
Mark F
October 13th, 2002, 12:55 PM
I have a meeting to go to but let me think about this, OK?
Mark F
October 13th, 2002, 12:55 PM
I have thought about this a bit in the past and just now and I can't see a way to easily include multiple bitmaps and formatting information in the current Girder command structure.
On the other hand, if you look at Matt Wire's OSDMenu plugin, it uses an external file to hold all the window information. This removes the limitations of the cmmand structure data space but introduces some other headaches. Where am I going with this ramble? I wrote a user interface builder application and Girder plugin last summer but didn't finish testing it.
The interface builder (UIB) allows you to set up a window of any size that includes multiple bitmaps, text strings and buttons. It allows you to choose colors for most things though I didn't finish putting in full font support. You can use registers and the buttons generate user defined event strings. The output of the UIB is a .ini file with a bunch of sections and text data. The partner Girder plugin allows you to load/display/hide/refresh these windows (one .ini file at a time). It passes the event strings (from the buttons) to Girder and uses the plugin interface to update all the strings with the current register values, as needed.
Here is the problem: I don't have time to finish this or update it for Girder 3.1 right now. I'd be happy to give this code away to a good home, if anyone else wants to try to finish it. It is written using MFC and VC++ 6.0.
Mark F
October 13th, 2002, 12:55 PM
Yes, a plugin defined field of infinite size :smile: would solve the problem. I still wouldn't have time to finish this but most technical problems would be gone.
Mark F
October 13th, 2002, 12:55 PM
Mark, is it possible to make the OSDPopup plugin support multiple Pop windows simultainiously? This will almost solve the JpL's problem (except that there will a be a litle time untill all appear on screen).
I used to have a boss who would say, "Anything is possible; it's only software!"
I believe the correct solution is multiple bitmaps and multiple text strings in one OSD window. Right now, these changes are not easily doable. With the change to the Girder command structure Ron hinted at above, this would be much easier.
Finding time to do make the design and code changes would be the next hurdle. :sad:
mitko
October 13th, 2002, 12:55 PM
You can use the OSD Popup for the full black screen. Simply put custom dimention and position and make it fill the whole screen
then select "infinite" and there you go - no task bar no everything. only mouse if you move it there
the only disadvantage is that you will not be able to use the OSD Popup plugin again or this black full screen OSD will disapear
mitko
October 13th, 2002, 12:55 PM
Mark, is it possible to make the OSDPopup plugin support multiple Pop windows simultainiously? This will almost solve the JpL's problem (except that there will a be a litle time untill all appear on screen).
Ron, is the timeout of the SimpleOSD configurable? If not can you add this feature? If you do this it will allow the all black screen that JpL wanted because he can use Mark's plugin for the other popup windows.
JpL
October 13th, 2002, 12:55 PM
Hi,
I have just finished a group for controlling my 6 channels sound card with a Left/Right balance, Front/Rear Fader and a Surround/Center Fader too. I'm quite happy with it.
Now, I would like to add an OSD for it. As input, I have 6 different values, one per speaker. And I would like to display in a single OSD, the state of the 6 speakers. So, I try to display a square of 3x3 bitmaps (each have the same size of course). Is it possible, and how to do this?
BTW, I would like to use one monitor for displaying DVD, and the second for displaying OSD. When I launch the DVD player, I would like to launch a program which display a simple black window (without any windows decoration) on my second monitor. Do you know such a thing?
Thanks for the great work.
Bye,
Jp.
JpL
October 13th, 2002, 12:55 PM
Thanks you for your help.
I can't do a single bitmap, because my 6 speakers have independant value, so if a create 10 bitmaps per speacker, it is completely impossible de create 10^6 bitmaps for the all system... With one bitmap / speaker, 60 bitmaps are already very very high :sad:
I would like bitmaps and not slider, because I would like to design a OSD with relative position of speakers.
I can write a plug'in, but I am a completely newbie in GUI and especially with Windows.
If it will be impossible, I will make 3 different OSDs: Left/Right, Front/Read and Center/Surround.
About using OSDPopUp with infinite time out to make a black background color on my second monitor, it is OK, but unfortunately, the aim is to put OSD onto it.
Bye,
Jp.
JpL
October 13th, 2002, 12:55 PM
Thank you for your help.
For the black background, a friend of mine have just wrote a little program for me. It open a window without any decoration. With Girder, I put this black window onto the second monitor and maximize it. It is a very simple solution but work quite well.
For the OSD, if the UIB could put dynamic bitmaps (bitmap name with Girder's registers), it's a good solution. But, I think it is a lot of work to finish it.
So, I will make a more simple OSD for waiting. BTW, it is a simple girder group (which control a 6 channels sound card with balance and fader), but if somebody want it, feel free to ask me (jpl@gloups.fr.eu.org).
The best way is certainly to write a special plug'in, but it is out of my knowledge. Sorry.
Bye,
Jp.
SouthyPar
October 13th, 2002, 12:55 PM
Well, this sounds fairly easy, why don't you simply combine your 3*3 bitmaps into one big bitmap file (the size of the screen you want to display it on), then choose "Bitmap as background". Then display the values on top of that.
You could've done something really stellar with the Slider plugin if only it allowed displaying more than one Slider instance on the screen.
SouthyPar
October 13th, 2002, 12:55 PM
Oh, sorry, I thought you wanted just reference pictures for each speaker to put numeric details onnext to.
I really don't know how you could do this without OSD PopUp's author help.... The only way I can think of is to find some way to run multiple PopUp OSDs simultaneously.
<font size=-1>[ This Message was edited by: SouthyPar on 2002-04-02 20:56 ]</font>
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.