Commit Graph

709 Commits

Author SHA1 Message Date
Infi 117d9fc45c fix #81 2024-08-20 23:14:52 +02:00
Infi 16a16b1f12 Implement #101 2024-08-14 14:46:00 +02:00
Infi 9d6fcd2abe Fix #108 2024-08-14 14:21:27 +02:00
Infi 4d341679ab Try to resolve RSV content 2024-08-02 02:54:07 +02:00
Infi f22b917164 bump 2024-07-28 15:18:23 +02:00
Dean Sheather 12c876f45b fix: avoid hiding during auto-skipped cutscenes
Instead of hiding the chat window immediately when the game enters a
"cutscene" condition, wait until the vanilla chat would've been hidden.
This prevents hiding and unhiding during auto-skipped cutscenes.
2024-07-28 01:05:25 +10:00
Infi e41a59ac84 version bump 2024-07-26 21:27:07 +02:00
Infi 3f01667ba8 changelog 2024-07-26 21:20:28 +02:00
Infi 2af53829bf Merge pull request #102
fix: various keybind fixes (modifiers and linkshells)
2024-07-26 21:18:42 +02:00
Infi 588dd31c16 don't save icon texture 2024-07-26 21:16:33 +02:00
Dean Sheather c22bde296d fix: various keybind fixes (modifiers and linkshells)
- Avoids overriding modifiers after leaving a vanilla text box. This
  would prevent you from holding e.g. Ctrl between multiple vanilla text
  boxes.
- Reworks linkshell rotation code to fix issues with LS number gaps
  causing linkshell rotation to not function.
2024-07-27 03:52:23 +10:00
mopi b14f1732dd Get job icons from game 2024-07-26 04:03:22 -03:00
Infi c9902dc28b Switch to dalamuds texture cache 2024-07-25 15:57:21 +02:00
Infi a8dea26bf2 Remove all shipped fonts 2024-07-25 15:47:23 +02:00
Infi ed87430859 Also reload if enabled state changed 2024-07-25 15:43:33 +02:00
Infi e9790d355f Reload fonts for italic too 2024-07-25 15:40:35 +02:00
Infi 459cfa72ea Correctly reset italic 2024-07-25 15:38:25 +02:00
Infi 1149172049 fix italic font size 2024-07-25 15:33:31 +02:00
Infi 906eeb5095 Remove legacy migration 2024-07-25 15:33:05 +02:00
Infi 41c59f6aa0 Make italic font chooseable 2024-07-25 15:19:08 +02:00
Infi 9c86ee788f fix 2024-07-25 14:03:08 +02:00
Infi fecab7760e Add reset buttons for fonts 2024-07-25 14:02:37 +02:00
Infi 97654b1c53 Rewrite font handling, use dalamud font chooser 2024-07-23 20:46:38 +02:00
Infi f7252cdf78 Merge pull request #99
fix: censor abbreviated player names in screenshot mode
2024-07-22 19:17:32 +02:00
Dean Sheather b5ec2145c1 fix: censor abbreviated player names in screenshot mode
Best effort.
2024-07-22 22:22:57 +10:00
Dean Sheather 710d4e837d fix: avoid stealing focus from other imgui windows on unhide 2024-07-22 22:09:20 +10:00
Infi 7b0acf3855 bump 2024-07-21 14:43:06 +02:00
Infi 7638f5dd83 More loc updates 2024-07-21 14:42:20 +02:00
Infi 91b270b8be update changelog 2024-07-21 14:41:24 +02:00
Dean Sheather 56f6855da2 feat: autohide improvements
- Adds new setting "Enable inactivity hide during battle" (default:
  true) which determines whether autohide should apply during battle
  (thanks @aurieh)
- Adds new setting "Chat channels considered for activity" which allows
  customizing which channels incoming messages must match to "bump" the
  inactivity timer
- Adds new per-tab setting "Unhide the chat window on activity" to
  configure whether it will be considered for "bumping" the inactivity
  timer when receiving messages that match the new channel filter. Note
  that the foreground tab is currently always considered.
- Extends autohide code to apply to poped-out tabs as well. Each popout
  window has its own inactivity timer, but focusing the main window will
  restore all popped out windows.

Co-authored-by: Auri <me@aurieh.me>
2024-07-21 15:09:45 +10:00
Infi a5161cf97c Merge pull request #95
fix: avoid handling keybinds after vanilla input focus
2024-07-20 19:32:57 +02:00
Dean Sheather 81923ddfe4 fix: avoid handling keybinds after vanilla input focus 2024-07-21 02:30:39 +10:00
Infi 6f30f848f7 Merge pull request #94
fix: avoid switching to non-existent linkshell idx
2024-07-20 18:00:58 +02:00
Dean Sheather 70a60b83e5 fix: avoid switching to non-existent linkshell idx
Prevents switching channels to a non-existent linkshell index (for both
regular linkshells and cross-world linkshells). ExtraChat linkshells are
already validated separately.

Prevents ChatLogWindow Draw failures from causing ChatTwo to grab input
focus each frame if the exception occurs during an Activate event.
2024-07-21 01:51:03 +10:00
Infi 85c5facff7 Replace function with CS version 2024-07-19 12:47:34 +02:00
Infi 1b68acb0c6 loc updates 2024-07-19 12:42:43 +02:00
Dean Sheather 23e6ecd10b fix: remove keys from ModifierlessChatKeys list 2024-07-16 23:24:56 +10:00
Infi 6f1a3fc548 Fix virtual key check missing 2024-07-15 12:27:08 +02:00
Dean Sheather fb167a8161 chore: refactor keybinds to be in new KeybindManager 2024-07-15 19:24:29 +10:00
Dean Sheather 352088dfed feat: add configurable hotkeys to cycle tabs
Adds two configurable hotkeys (plus the required code infrastructure to
handle configurable hotkeys) for cycling the active chat tab forward by
one and backwards by one.
2024-07-15 19:17:32 +10:00
Infi ac45afcf4c More keybind handling improvements 2024-07-13 11:25:32 +02:00
Infi eae393842a Merge pull request #83
feat: add autohide after inactivity
2024-07-13 09:30:04 +02:00
Infi 58a6567f5a dynamic fix for #85 2024-07-13 09:18:40 +02:00
Dean Sheather c3c60e7e43 feat: add autohide after inactivity
After not receiving a message for X seconds (configurable) in the
current tab or any tab with unread mode enabled, the chat will be
hidden. Focus can be returned with return or slash as usual.

Having input focus or hovering the mouse over the chat window "bumps"
it every frame.

Also fixes a bug that prevented focus from being restored to tabs with
input disabled. The chat window will be brought back but the activated
event won't be fully processed.

Co-authored-by: Auri <me@aurieh.me>
2024-07-13 16:30:42 +10:00
Infi 05495705fd bump 2024-07-09 09:44:08 +02:00
Dean Sheather 0fb78e1856 fix: actually apply hide state to config 2024-07-09 15:18:16 +10:00
Infi 7b8aa172e0 More updates 2024-07-08 12:30:05 +02:00
Infi cd750a3ccb Rename close to hide and change icon 2024-07-08 12:10:27 +02:00
Infi bea2f51192 Merge pull request #77
feat: add close button to chat log
2024-07-08 11:42:45 +02:00
Dean Sheather fef9122eca feat: add close button to chat log 2024-07-08 16:57:37 +10:00