IceDesign GUI designer

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

I don't have a crystal ball to know why you couldn't get it to work before but it doesn't matter, it works now with the background image disabled.
Nice with the JellyButton in addition 8)
Good luck with your game development :)
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

IceDesign has been updated in version 2.2.3

  • Recompiled with PureBasic 6.11. The current application compiled with PB 6.12 crashes due to a Bug on the ComboboxGadget, as soon as one of the flags #PB_ComboBox_LowerCase or UpperCase is used
  • Add the options Small & Large Icons With Text on the Right for the ToolBar, Flags : #PB_ToolBar_Text | #PB_ToolBar_InlineText
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Thank's Chris for update and for new toolbar option :)
Image
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Hi @Chris, I think I've run into another bug, basically with ObjectTheme active, if I click on the x in the window to close the program and answer no, the exit code is executed 2 times, resulting in a repeated message requester, if I do NOT use ObjectTheme instead the exit code is executed 1 time and as a result if I answer no to the message requster it does not show up again
Image
Image
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Damn, I hope I've tested it enough now :oops:

I've updated on Gumroad and Github with (no more PostEvent) :

Code: Select all

Case #WM_CLOSE
  CompilerIf #PB_Compiler_Version < 600
    ; with PB < 6.00, if the window is minimized and closed from the taskbar (Right CLick), #PB_Event_CloseWindow event is not sent, open the window and reminimize it to send the event
    Protected Window = GetProp_(hWnd, "PB_WindowID")-1
    If GetWindowState(Window) = #PB_Window_Minimize
      SetWindowState(Window, #PB_Window_Normal)
      SetWindowState(Window, #PB_Window_Minimize)
    EndIf
  CompilerEndIf
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Thank's, yes the bug is if use compiler <6 (5.73), with 6.12 no problem
Image
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Hi Chris, I have a request, could you create the option for when MultiLanguage is selected that allows you to choose the default language and not go and get it from the OS to create the base language file? For example I am in italy, but the application I am creating has the main language in English, but icedesigne for the main language creates me the Italian.lang file, if it is possible to add the option that allows me to change it would be great, also an option to avoid that at each save it asks me if I want to overwrite the language file, by default it should not overwrite but neither ask it every time because it can happen to make a mistake and overwrite, thank you very much
Image
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Hi le_magn,
I'll delete the test to check if xxx_lang.pb file already exists with the associated message:
Language xxx_lang.pb already exists. Do you want To delete it, To reset its keywords And values ?
It is not essential at the design stage.
It's best to delete it manually, only if necessary, in order to refresh the language file with new or deleted keywords.

#
For the default language English or Italiano or others,
I can't really automate it because there's no default method for multi-language that would suit everyone.
It's up to you to edit xxx_lang.pb source file to adapt it to your needs, see the comments with commented examples below Main.
LocaleInfo(#LOCALE_USER_DEFAULT) is used by default in IceDesign so it can work right out of the box.
But it's probably not the way you want to use multi-Language for your App, there would be too many language files probably.

For my, I'm going to change to keep any changes that might be made in xx_lang.pb rather than overwriting it.
Only the DataSection, label DefaultLang: will be updated with new keywords each time the code is generated.
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Ok, thank you for your reply Chris, I need to read the instructions better for the multilingual issue
Image
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

IceDesign has been updated in version 2.2.4

Multi-language:
  • Delete the check if the xxx_lang.pb file already exists:
    Language xxx_lang.pb already exists. Do you want to delete it, to reset its keywords And values ?
  • Keep any changes that may be made in xx_lang.pb to fit your needs, rather than overwriting it when the code is recreated.
    Only the DataSection, tagged DefaultLang: will be updated with new keywords.
    The default language is a constant now: #DefaultLang$ = "English"
Last edited by ChrisR on Fri Oct 18, 2024 11:12 am, edited 1 time in total.
highend
Enthusiast
Enthusiast
Posts: 162
Joined: Tue Jun 17, 2014 4:49 pm

Re: IceDesign GUI designer

Post by highend »

Updated to 2.2.4 not 2.2.3 :D
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Yeah 8) The Thanks button is missing
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

Thank you very much Chris for the update :)
Image
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Small update, to correct an error introduced in v2.1.6 on the Browse image properties.
Browse image opens in correct location again. Thanks Peter for reporting.

It is updated on the servers without changing the 2.2.4 version number.
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IceDesign GUI designer

Post by le_magn »

@Chris In one of the next versions it would be useful to add a link to the guide, so that you can reach it from the interface, for example I remember that there is a guide somewhere but right now I don't remember where :)

Also an option that I think would be useful, would be the ability to have IceDesign create backup files for the project, a backup file every few minutes selectable by the user, also every time you save and a maximum number of backup files always selectable by the user...

Let me send you suggestions whenever I think of something, then of course you will decide what to implement in the future :)
Image
Post Reply