Button assignment

The general workflow for button assignments is:

  1. Use the Edit Spell Lines button to create your spell lines, or to update any existing ones.
  2. Select the class you want to create assignments for from the block of radio buttons at the top of the window.
  3. Use the pull-down list for each button to select the spell line you want to assign to that button.
  4. Select another class and repeat the process. Repeat for all the classes you need to create assignments for.
  5. Use the Save button to save your work.
  6. Use the Generate UI File button to generate the UI code file.
  7. Use the standard file save dialog to set the folder the UI code file will be written into and the name of the file.
  8. Use the Exit button or close the window to end the program.

In the pull-down lists, spell lines will be sorted alphabetically. There's a blank entry at the top that when assigned to a button makes the button do nothing. By default, all buttons start out with that blank entry assigned to them until you change the assignment. Note that after editing spell lines, button assignments will be updated to reflect any deleted spell lines. Buttons assigned to a spell line that's been deleted will be assigned the blank entry.

The state of button assignments reflected in the window is only the current state. There's a separate persistent state corresponding to the saved state on disk. The persistent state is only updated to reflect the current state when you use the Save button, when you generate a UI code file, or when you exit the program. You can use the Revert button to revert the state of button assignments back to the last saved state. That gives you some measure of control over things and gives you the option to undo mistakes to a point.