View Single Post
08/14/15, 11:08 AM   #5
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by haggen View Post
@merlight and @votan thank you so much, you already have given me enough to chew on for days!

One question though; when developing an add-on with a form-like GUI, should I use an existing scene or scene fragment or should it reside in its own ? And why ?
1 Fragment <-> 1 TopLevelControl, so your own fragment. As for scene, that depends on when/where you want to show the fragment.

A) If you wanted to add another tab to the guild interface (the four existing tabs switch scenes), you'd probably create a new scene, add some of the common fragments in there (e.g. the background and the guild selection dropdown), and add your own fragment to that.

B) If you wanted to show your form next to the character sheet, you'd add your fragment to the existing "stats" scene.
  Reply With Quote