Commit Graph

29 Commits

Author SHA1 Message Date
Zacharie Day
18dcdea6b4 feat: rename interface cleanup
Move the rename input to below the layouts list and give it a
fixed width.

Fix "delete" button not having correct height.
2020-09-28 19:13:28 -04:00
Zacharie Day
bdbb7acbca fix: use default height for HUD slot buttons 2020-09-28 19:13:28 -04:00
Zacharie Day
67a3b5caf3 feat: improve interactions with active HUD layout
Trying to preview different saved was more difficult than it
needed to be since after importing a layout, the user needed to
swap to another layout and then back to the original one in order
to see the changes. I changed this so that if a user imports a
layout to the currently active HUD slot, the plugin automatically
swaps to another HUD slot and back.

As a part of this also refined the general slot UI so that the
active slot is indicated in the slot selection UI for saving a
layout to game data.
2020-09-28 19:13:28 -04:00
Zacharie Day
38907f2cd8 Allow import operation to overwrite layouts 2020-09-28 19:13:28 -04:00
803938564a fix: clean up the new swap system 2020-09-02 22:24:34 -04:00
Zacharie Day
4687bdc7d4 Save plugin config when deleting condition 2020-09-02 20:31:01 -04:00
Zacharie Day
e24b9649c7 Mark old conditions as obsolete and add migration 2020-09-02 20:31:01 -04:00
Zacharie Day
819ba7cf45 Prevent adding conditions when no layouts exist
Also externalized the condition table draw logic for the sake of
readability.
2020-09-02 20:31:01 -04:00
Zacharie Day
a3d65ec43b Implement dynamic condition UI
This allows the user to add conditions of whatever combination of
job and state criteria they choose.
2020-09-02 20:31:01 -04:00
2de1d50e64 fix: use uuid of layouts in label 2020-08-06 14:44:09 -04:00
2655671682 fix: run swap logic in framework update handler 2020-08-06 12:04:47 -04:00
8614c19835 feat: add window position handling
Also add /phud for swapping between saved layouts.

Currently only the map and chat box have saved positions, although the
implementation supports additional windows. There is a checkbox when
importing to turn on or off window position saving.
2020-08-03 22:13:29 -04:00
cd08d08e5c refactor: fix warnings and code smells 2020-07-31 13:58:56 -04:00
b69de5653a feat: add clipboard export/import 2020-07-31 13:29:40 -04:00
7226458785 refactor: pull layouts into a dictionary 2020-07-31 12:46:40 -04:00
c793cfc613 feat: add job layouts and roleplaying layout 2020-07-31 00:15:07 -04:00
77d527a161 fix: clear rename field after deleting 2020-07-30 18:50:50 -04:00
3bea865b90 feat: add ability to rename layouts 2020-07-30 15:40:18 -04:00
63b9daaa30 feat: add risk understanding gate 2020-07-30 14:41:10 -04:00
c761d4b07c fix: don't crash on using delete layout 2020-07-30 13:55:07 -04:00
3c49f8d3d0 fix: only set layout when configuring if enabled 2020-07-30 13:54:45 -04:00
bc2187144f feat: allow configuring staging slot 2020-07-30 13:54:13 -04:00
3b3a14e7b1 feat: automatically import HUD slots on first run 2020-07-30 13:53:13 -04:00
d2d352b435 fix: make message for enable checkbox clearer 2020-07-30 13:20:30 -04:00
356c9854a3 feat: add error window for bad configs 2020-07-29 22:42:57 -04:00
1f51eb9ce4 refactor: handle checking condition better 2020-07-29 21:54:04 -04:00
3fde80aed1 feat: infinite layout slots
Add a system to save layout slots and restore them, effectively
increasing the number of slots to an infinite amount.

Also add crafting and gathering layout swaps and make the UI more
reasonable.

Refactor out the combo boxes.
2020-07-29 21:01:22 -04:00
8ba7416d89 refactor: remove unused imports 2020-07-29 12:30:14 -04:00
e50d187702 chore: initial commit 2020-07-29 12:01:00 -04:00