IceDesign GUI designer

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 297
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Hi Chris, i opened the main window of my project with the latest icedesign, made a small change to a stringgadget, saved it, but now the project no longer compiles:

[21:57:17] [COMPILER] Line 25: Structure already declared: GadgetImages (C:\ASSEMBLER\pb394\miei_pb4\_TRADUZIONE_GIOCHI\LPILauncher\ResizeImagesHelper.pbi line 19).

I noticed that the “ResizeImagesHelper.pbi” file is renamed "ResizeHelper.pbi"?, I simply have to change the file name from "XIncludeFile "ResizeImagesHelper.pbi"" to "XIncludeFile "ResizeHelper.pbi"" in all other GUI files?...
Image
User avatar
ChrisR
Addict
Addict
Posts: 1538
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Hi le_magn,
Oh yes, I should have written it down :?
ResizeImagesHelper.pbi was renamed to ResizeHelper.pbi in the previous version 2.40.
The option for scaling font sizes was included in this helper file, and I thought it would be best to rename it.
In fact, as you have seen, it creates an incompatibility between the old files and the new generated files.
You can correct it either by recreating the old files, or more easily as you wrote, by changing the included file name from [XIncludeFile "ResizeImagesHelper.pbi"] to [XIncludeFile "ResizeHelper.pbi"]
Well spotted :)
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 297
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Thanks Chris, i renamed it in all GUI files and work ok :)
Image
Post Reply