Jump to content

Leadwerks 5 Beta Update


Josh

2,648 views

 Share

A new update is available for beta testers. This update focuses on the GUI capabilities, mostly for interfaces created directly on a window, rather than 3D interfaces. We are moving from a Lua-driven GUI system to one coded more explicitly in C++. This will provide us with better documented behavior, easier portability, and a more responsive interface.

Changes:

  • GUI widgets no longer use Lua scripts. Each widget type has a C++ class, a creation command, and style constants.
  • A new ComboBox widget is implemented, with a dropdown list that can extend beyond the parent window's borders.
  • A lot of work was done on GUI behavior.
  • The "Actor" class is renamed to "Component".
  • The Entity::AddActor and AddScript methods are now both called AddComponent.
  • The "Scripts/Objects" folder is renamed to "Scripts/Components".
  • The "Scripts/Functions" folder is not really needed and has been eliminated.

I have gone into quite a lot of detail getting all the little window and widget behaviors right, since I plan to use this for our new editor interface. The result should feel like the Visual Studio or 3ds Max interface.

If there was a existing suitable GUI library out there I would not be creating this, but there really isn’t. It is very strange that millions of programmers are making websites, blockchain applications, and games, but no one is paying attention to the most basic functionality of a computer. I will have an announcement soon about something I am doing to fix this situation.

  • Like 5
 Share

8 Comments


Recommended Comments

The combobox was actually the hardest item to implement, since it involves a popup window. The menus are basically the same thing as this, and the remaining widgets are just basic logic I have to work out. So it's clear sailing from here.

  • Like 1
Link to comment
2 minutes ago, Josh said:

What? 

You wrote about the interface as in 3ds max, I thought that you wanted to work with CSG as in Source 2, I wrote to you about this earlier, if you remember.

Link to comment

I’m just talking about the basic UI features like buttons, drop down boxes, etc. I have to program all that behavior myself.

CSG will be supported although right now I don’t know all the details of what features it will have.

  • Like 1
Link to comment
9 hours ago, Josh said:

I’m just talking about the basic UI features like buttons, drop down boxes, etc. I have to program all that behavior myself.

CSG will be supported although right now I don’t know all the details of what features it will have.

OK, thank you very much!

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...