Log in

View Full Version : Updating Theme: Graphics Issue



Dave0910
June 28th, 2025, 07:14
In the past, the theme I'm working on worked perfectly. I paingstakingly went through all of the graphics files from CoreRPG, replacing the files and overriding the code. Everything worked fine until one of the larger updates. I'm going through it, now, to update for the new changes.
All of my modified graphics files are still there, in the proper folders. I've made an override for all of the graphics_*.xml files from CoreRPG. I moved code for buttons from the tabs file into the new buttons file. I even went through and verified all of the files that aren't overriding to verify that the path and file names are correct. No matter what I do, though, the buttons on the tops of windows are showing the new default.
Literally, all of my other graphic changes are there, including new ones to fit the updated layout. Oh, don't mind the discoloration from the overlaps in the chat window. I know how to fix that.

64676

64675


Here's the matched code (Screenshots from BeyondCompare 4).

64674
64672


Does anyone have an idea of what I'm missing?

Moon Wizard
June 28th, 2025, 17:31
The menu bar at the top was completely reworked.

The graphics you are replacing for those buttons do not do anything any more; and are only currently in CoreRPG for backward compatibility (though they will be removed soon).

For the buttons, they now use a custom frame that you can override ["windowmenubar_button"] as well as standardized icons that you can specify a color for [ColorManager.setWindowMenuIconColor("000000");]

I highly recommend popping open the Theme_Classic extension to see what it does, since that would probably be the most relevant to what you are doing.
(Copy ThemeClassic.ext; rename to ThemeClassic.zip; unzip ThemeClass.zip; look at the files within.)

Regards,
JPG

fabiocm
July 1st, 2025, 13:22
Speaking of themes, I would like Core to have more default shapes and graphics for use and that they were updated with the official themes. The options for using shapes (like backgrounds for numbers and fields, for example) are very limited, and any new specific creation would always be outside the use of official themes.