Commit Graph

332 Commits

Author SHA1 Message Date
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 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 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
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
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
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 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 cd750a3ccb Rename close to hide and change icon 2024-07-08 12:10:27 +02:00
Dean Sheather fef9122eca feat: add close button to chat log 2024-07-08 16:57:37 +10:00
Infi f76f0e91d0 Update for 7.0, part 1 2024-06-30 05:07:11 +02:00
Infi 1acd532ef1 Fix chat hide command not working 2024-06-21 20:58:17 +02:00
Infi 7a27ca8ea8 Fix linkshell rotation 2024-06-17 19:21:17 +02:00
Infi 70989da680 More CS updates 2024-06-09 12:59:29 +02:00
Infi 9c4b975605 - No emote parsing on AutoTranslate
- nint everything
2024-06-02 14:17:45 +02:00
Infi 3a5dcae261 Fix #63 2024-05-28 14:23:31 +02:00
Infi c5363769c2 Force main window to be always open 2024-05-26 13:53:26 +02:00
Infi 6ff1b80641 Merge pull request #53 from deansheather/dean/message-sorting-fixes
fix: fix sorting problems
2024-05-25 17:11:42 +02:00
Infi 0c19772b18 - Replace all possible hooks with CS
- Mark ones that can be replaced soon
- Use Dalamuds ConfigOption for chat color parsing
2024-05-25 16:50:37 +02:00
Dean Sheather e9ae8362f5 fix: fix sorting problems 2024-05-25 21:50:30 +10:00
Infi 8aaaa684a2 Remove reflection from InputPreview 2024-05-25 09:30:45 +02:00
Infi 8bbfba5a10 - Add command info for db viewer
- french loc update
2024-05-23 20:53:35 +02:00
Infi 88fbb24ff0 - Migrate DB to v2 (Channel)
- Add channel selection to DBViewer
2024-05-22 19:25:36 +02:00
Infi 6e0dd15ac0 DBViewer improvements 2024-05-22 15:25:05 +02:00
Infi c2131eb07b Implement DBViewer 2024-05-22 14:53:30 +02:00
Infi c91858183a Add changelog tab 2024-05-22 03:39:31 +02:00
Infi e19682e50d Shuffle entries 2024-05-21 10:56:42 +02:00
Infi 6daa0bb9e2 Move preview config to its own tab 2024-05-21 10:53:37 +02:00
Infi 140343e654 - Use tokinzer for URL parsing
- Regex based split for letter selector
2024-05-21 06:36:57 +02:00
Infi aab4977ecf Improve text wrapping for preview 2024-05-20 16:05:32 +02:00
Infi 592892e45a - New option to limit minimum preview length
- New option only preview with parameters
- Improve preview drawing modes
- Prevent null ref on plugin load
2024-05-20 06:25:54 +02:00
Infi a18861ea87 Add new preview position: tooltip 2024-05-19 17:16:36 +02:00
Infi 51db04a5f5 - Prevent null string from being parsed
- cursor pos adjustment through preview
2024-05-19 16:33:53 +02:00
Infi 23122e924b Better input preview handling 2024-05-19 01:51:36 +02:00
Infi 31897251f7 Implement <item> and <flag> text preview 2024-05-18 19:23:39 +02:00
Infi c9383e5411 Don't encode the preview message every frame 2024-05-17 07:26:47 +02:00
Infi 2ab56db678 Remove goto 2024-05-16 17:12:56 +02:00
Infi b08c858364 Configurable position for the preview 2024-05-15 23:41:22 +02:00