Commit Graph

30 Commits

Author SHA1 Message Date
Zacharie Day d91506f2cf
feat: use new-style HUD buttons for import
In the process, externalized drawing the HUD buttons to a
function.
2020-09-28 19:13:45 -04:00
Zacharie Day de89f0cb44
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 2eb0c3cc77
fix: use default height for HUD slot buttons 2020-09-28 19:13:28 -04:00
Zacharie Day 65e649b8a8
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 15a1965095
Allow import operation to overwrite layouts 2020-09-28 19:13:28 -04:00
Anna d815dc5301
fix: clean up the new swap system 2020-09-02 22:24:34 -04:00
Zacharie Day 8fb69bc9ae
Save plugin config when deleting condition 2020-09-02 20:31:01 -04:00
Zacharie Day d8ee7430bb
Mark old conditions as obsolete and add migration 2020-09-02 20:31:01 -04:00
Zacharie Day 19f1934de0
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 3ec6366320
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
Anna 2cc9e064c0
fix: use uuid of layouts in label 2020-08-06 14:44:09 -04:00
Anna a1cc25c7d5
fix: run swap logic in framework update handler 2020-08-06 12:04:47 -04:00
Anna 40a40a0964
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
Anna ec06557c27
refactor: fix warnings and code smells 2020-07-31 13:58:56 -04:00
Anna f5a79ae081
feat: add clipboard export/import 2020-07-31 13:29:40 -04:00
Anna d663d193c8
refactor: pull layouts into a dictionary 2020-07-31 12:46:40 -04:00
Anna 4dbf2ad76c
feat: add job layouts and roleplaying layout 2020-07-31 00:15:07 -04:00
Anna 545f68240a
fix: clear rename field after deleting 2020-07-30 18:50:50 -04:00
Anna a4c728779c
feat: add ability to rename layouts 2020-07-30 15:40:18 -04:00
Anna ffb77765c2
feat: add risk understanding gate 2020-07-30 14:41:10 -04:00
Anna 79232b9a80
fix: don't crash on using delete layout 2020-07-30 13:55:07 -04:00
Anna dca89bb71d
fix: only set layout when configuring if enabled 2020-07-30 13:54:45 -04:00
Anna c97521b217
feat: allow configuring staging slot 2020-07-30 13:54:13 -04:00
Anna 7b2eef4eef
feat: automatically import HUD slots on first run 2020-07-30 13:53:13 -04:00
Anna e0583078bc
fix: make message for enable checkbox clearer 2020-07-30 13:20:30 -04:00
Anna 6d25b9db69
feat: add error window for bad configs 2020-07-29 22:42:57 -04:00
Anna 74e1b7c9c4
refactor: handle checking condition better 2020-07-29 21:54:04 -04:00
Anna 11c9d92f4e
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
Anna 3f229724bc
refactor: remove unused imports 2020-07-29 12:30:14 -04:00
Anna de0168e5d0
chore: initial commit 2020-07-29 12:01:00 -04:00