Varsuuk
April 7th, 2019, 00:15
I just finished adding the code to handle drag and drop handling new class, initializing multi-class, initializing dual-class (although I have a question on FGG forums asking about DC rules) and adding a new level to existing single/multi or special case for dual. All good (so far as have tested)
Now, moved to Race. Started by opening 5E frame_race.xml to use that as my start point and immediately noticed it had "player control" (which reference_class.xml also had an I apparently didn't include in my reference_class.xml file.:
<windowclass name="reference_race">
<frame>recordsheet</frame>
<placement>
<size width="350" height="350" />
</placement>
<sizelimits>
<minimum width="300" height="300" />
<dynamic />
</sizelimits>
<minimize>minimized_reference</minimize>
<tooltip field="name" />
<nodelete />
<playercontrol />
<sharable />
So:
1. What does <playercontrol> do? Is it for editing or for ? Unsure
2. What I WISH I could do - go to the API page ( https://www.fantasygrounds.com/refdoc/windowcontrol.xcp ) and click in some search box entering a trait or function name or classname and have it search and come back with results. Versus trying each darn one looking for an entry that may or may not be in the docs to begin with ;)
:)
Now, moved to Race. Started by opening 5E frame_race.xml to use that as my start point and immediately noticed it had "player control" (which reference_class.xml also had an I apparently didn't include in my reference_class.xml file.:
<windowclass name="reference_race">
<frame>recordsheet</frame>
<placement>
<size width="350" height="350" />
</placement>
<sizelimits>
<minimum width="300" height="300" />
<dynamic />
</sizelimits>
<minimize>minimized_reference</minimize>
<tooltip field="name" />
<nodelete />
<playercontrol />
<sharable />
So:
1. What does <playercontrol> do? Is it for editing or for ? Unsure
2. What I WISH I could do - go to the API page ( https://www.fantasygrounds.com/refdoc/windowcontrol.xcp ) and click in some search box entering a trait or function name or classname and have it search and come back with results. Versus trying each darn one looking for an entry that may or may not be in the docs to begin with ;)
:)