Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » GUI refactoring/changes
GUI refactoring/changes Thu, 21 June 2012 01:54
Aeglos is currently offline Aeglos

 
Chief Warrant Officer 1
Stars! Nova developer
Stars! Nova developer

Messages: 142
Registered: May 2011
Location: Chile
I saw mash doing some commits recently, yay!

Anyways, I was revising the event messaging between forms prior to updating the Fleet Detail panel to accomodate for the incoming waypoints holding several tasks change, when I realized the GUI is really really spaghetti-ed. Too much business logic mixed in there and the Designer complains in almost every form/panel making it very hard to edit.

I'm going to attempt a whole refactoring of the GUI into some kind of MVP pattern or similar... just something to clear the UI logic away from the non UI routines. I realize this is *yet* another big change, but on the other hand everything is already there and works, I have no intention of recoding things, just reorganizing/splitting them into a few new clases so it shouldn't take as long or be as destructive as the other big design changes.

I'll see if I can dislodge the panels and make them all floating/collapsable in the process with a custom control. The UI lacks flexibility and is not very space efficient as it is now.

Report message to a moderator

Previous Topic: More Testing
Next Topic: Migration of SF hosted apps
Goto Forum:
  


Current Time: Thu Mar 28 18:50:47 EDT 2024