bodgedbutworks / Lsim

A lighting simulation (and potentially control) software
GNU General Public License v3.0
2 stars 1 forks source link

Gui multiple constructores #5

Open SimonNass opened 4 years ago

SimonNass commented 4 years ago

I want to clean this up in multiple steps. -remofing the redundand variables -remofing the redundand constructors and just have redundand get'er with casting -improfe codelines that are linked to this problem -improfe polymorphy class hirarchy -generate generics -clean up eferithing nonpermanent that was whriten vor the cleanup

SimonNass commented 4 years ago

This could need some sessions for its own. After these cleanups a all-round test is probbably needed.

bodgedbutworks commented 4 years ago

As mentioned, I failed to implement generic datatypes without producing errors in other parts of the code (probably due to lack of skill). Please feel free to try it out, I am interested in your approach and solution.

SimonNass commented 4 years ago

IGuiObject is a interface that I added so that iObjRef isnt of the typ Object majby we can expand it to a actually usefull interface later.