SimForums.com Homepage
Forum Home Forum Home > Flight One Partner Forums > FS Panel/Sound Studio Forums
  New Posts New Posts RSS Feed - XML gauge with no bitmap
  FAQ FAQ  Forum Search   Register Register  Login Login

XML gauge with no bitmap

 Post Reply Post Reply
Author
Message
Bert Pieke View Drop Down
Senior Member
Senior Member


Joined: January-03-2003
Location: Canada
Points: 6009
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bert Pieke Quote  Post ReplyReply Direct Link To This Post Topic: XML gauge with no bitmap
    Posted: May-08-2007 at 12:23am
I'm just starting out with FSPS, so pls pardon the newbie question(s)   

I have several panel popup gauges that are simple XML clickspots with no bitmap. To be able to see what Windows ID they reference, it would be handy to open them with the gauge editor.. but the editor refuses to open an XML gauge without a bitmap..

Do I have to add a blank bitmap to the gauge if I want to be able to look at it in FSPS or is there another way?
Bert
Back to Top
Ed Struzynski View Drop Down
Moderator Group
Moderator Group


Joined: December-26-2002
Points: 370
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ed Struzynski Quote  Post ReplyReply Direct Link To This Post Posted: May-08-2007 at 10:57pm
If they are simple gauges you can use the Microsoft CABDIR utility to extract the gauge contents and then edit the xml file with notepad. This would be the simplest way.
Back to Top
Bert Pieke View Drop Down
Senior Member
Senior Member


Joined: January-03-2003
Location: Canada
Points: 6009
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bert Pieke Quote  Post ReplyReply Direct Link To This Post Posted: May-09-2007 at 11:23am
Hi Ed,

I'm aware that I can edit the gauges outside of FSPS, but it would be convenient to open up the gauge within FSPS while I'm looking at it's position in the panel.

As per the documentation, I'm trying to look into the gauge code to see what popup panel is being called up.

I can edit the gauge and put in a dummy blank bitmap if that is required for FSPS to open the gauge.. is it?
Bert
Back to Top
Ed Struzynski View Drop Down
Moderator Group
Moderator Group


Joined: December-26-2002
Points: 370
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ed Struzynski Quote  Post ReplyReply Direct Link To This Post Posted: May-09-2007 at 6:24pm
Yes, adding a background bitmap should solve the problem.
Back to Top
Bert Pieke View Drop Down
Senior Member
Senior Member


Joined: January-03-2003
Location: Canada
Points: 6009
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bert Pieke Quote  Post ReplyReply Direct Link To This Post Posted: May-11-2007 at 11:06am
That worked, indeed. Small price to pay.. I edited the handful of clickspot gauges that I have and changed

<Size X="20" Y="20"/>

to

<Image Name="blank.bmp" />

I also included a little blank bitmap, just to make sure.

Now, I can open up these gauges and move them around on the panel... very handy, and much better than before where I would use Notepad and "trial and error" to adjust their position.
Bert
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.06
Copyright ©2001-2023 Web Wiz Ltd.

This page was generated in 0.311 seconds.