Senior Member
Join Date: Apr 2010
Posts: 153
|
Used to be, I changed the bitmaps for background and mainwindow, it would change the backgrounds for my authoring kit. But since a recent update came down, the only way to change the backgrounds is changing the main images in the Program Files. Is there code I can put in my authoring data files that will update the backgrounds?
Matt Droz Community material (Forgotten Realms & Non-SRD/Retro) |
#1 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,337
|
If I recall, it’s a matter of changing some definitions in the UI components.
Here's an example: File: styles_ui.aug Code:
<!-- bitmap for use as the background of label portals designated as a "title" --> <resource id="titleback" isbuiltin="yes"> <bitmap bitmap="mainwindow.bmp"> </bitmap> </resource> Changing the above code to: Code:
<resource id="titleback" issystem="no" isbuiltin="no"> <bitmap bitmap="panel_title.bmp"> </bitmap> </resource> next time you restart the titles of your panels will now be purple. when saving the bmp files, make sure to not save color space information with it. Working on -
Last edited by TCArknight; October 29th, 2019 at 01:20 PM. |
#2 |
Senior Member
Join Date: Apr 2010
Posts: 153
|
I'll try that when I get home. I simply removed the issystem and isbuiltin definitions, leaving the mainwindow.bmp, since I had a mainwindow.bmp in the dataset folder.
Matt Droz Community material (Forgotten Realms & Non-SRD/Retro) |
#3 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,337
|
They default to N if they aren’t present so that should be the same.
I’m trying to change the mainwindow.bmp for the overall default backgrounds, etc. but no change seems to take effect. I think am going to have to keep playing around with it... Working on - |
#4 |
Senior Member
Join Date: Apr 2010
Posts: 153
|
Yeah, that's what I'm running into. The only way I've been able to change the main backgrounds is by altering the background and region bitmaps in the C:\Program Files (x86)\Hero Lab\product\texture24 folder.
Matt Droz Community material (Forgotten Realms & Non-SRD/Retro) |
#5 |
Senior Member
Join Date: Apr 2010
Posts: 153
|
Thing is, I remember changing it by just changing the bmp files in dataset earlier this year.
Matt Droz Community material (Forgotten Realms & Non-SRD/Retro) |
#6 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,337
|
Try this:
Quote:
Code:
<resource id="mainwindow" issystem="yes" isbuiltin="no"> <bitmap bitmap="mainwindow_black.bmp"> </bitmap> </resource> Code:
<!-- tile bitmap used in interior background regions --> <resource id="background" issystem="yes" isbuiltin="no"> <bitmap bitmap="background_main.bmp"> </bitmap> </resource> <!-- tile bitmap used as background within summary panels --> <resource id="sumbackgrd" issystem="yes" isbuiltin="no"> <bitmap bitmap="background_summ.bmp"> </bitmap> </resource> <!-- bitmaps used for the background region of tabs shown at the top -one bitmap is one for a selected tab and the other for an unselected tab --> <resource id="tabunsel" issystem="yes" isbuiltin="no"> <bitmap bitmap="background_tabunsel.bmp"> </bitmap> </resource> <resource id="tabsel" issystem="yes" isbuiltin="no"> <bitmap bitmap="background_tabsel.bmp"> </bitmap> </resource> <!-- tile bitmap used within the "static" panel across the top --> <resource id="staticpan" issystem="yes" isbuiltin="no"> <bitmap bitmap="static.bmp"> </bitmap> </resource> Let me know how it works for you. Working on -
Last edited by TCArknight; October 31st, 2019 at 07:03 AM. |
|
#7 |
Senior Member
Join Date: Apr 2010
Posts: 153
|
That did it! Thank so much!
Matt Droz Community material (Forgotten Realms & Non-SRD/Retro) |
#8 |
|
|