We come to the end! , as I said in the previous thread these days I focused on import and manipulation of styles of control, instead of add effects support. The result is quite satisfying since now nifty-editor is in a state that could be used in the regular day-work. Not for complex gui maybe, but it does its job! Fast prototyping could be an other use case that the editor could easily deal with. Well but what is import of style&control ? and how they works?
Import style e control means that you can create a new style using the default JME wizard and link it in the visual editor. The same thing is for controls, create your control or more than one and link in the editor. The editor will keep a reference to the file and if you change it , if you want to be uploaded again in the visual editor just do left-click on style node and Refresh. I know that a user would see this thing automatically but for some reasons the exact same function won’t work if I use a FileChangeListener. Of course if you has more than one element with a linked style when you click refresh they all be updated. This feature doesn’t apply to controls tough , mostly because nifty doesn’t permit a runtime modification of controls. It could be implemented in the feature using eventsbus + nifty-editor api but it’s a workaround. I’ve also added some templates to easly create an empty style and control. There’s a special folder used for all controls style , I thought that it’s quit handy to have a template to apply a style to a control ( i.e. button)
To show you better what nifty-editor can do here is a boring video(Sorry i coudn’t make a other more sophisticated),it’s just me trying to make a login screen:
About the future , Finally I’m going to graduate so this month will be pretty full of things to do. Due to this nifty-editor development will be paused for a while, but I’m still here for support both nifty-gui and the editor! you all have a free pass to @mention me!
After that these are to most urgent task that I want to complete :
- Add all control style template( simply copy from the default-styles)
- Better toolbar
- Editor for most of the properties ( including fonts and image-mode , it’s almost done but i needs clean up)
- Popup support
- Effects support
- Other things that I don’t remember now
I hope you enjoy the new version since It has also new icons .