Cockatrice/cockatrice/src/interface/widgets/settings_page
BruebachL 404b0cdf28
[Game] Animate Arrows (#7099)
* Add an arrow draw animation setting

- New arrowDrawAnimation cards-display setting, default on
- The arrow draw animation checkbox joins the animation settings group
- Visual Deck Storage selection animation checkbox moves next to the
  other animation checkboxes, and the enable/disable-all buttons now
  cover it and the arrow animation

Took 2 minutes

Took 21 minutes

Took 7 minutes


Took 11 minutes

Took 20 seconds

* Animate arrows drawing from start to target

- The arrow stroke reveals itself along the arc with an eased timing,
  followed by a short light sheen that sweeps down the shaft
- The arrow head pops in once the reveal reaches it, then the whole
  arrow fades from its initial glow
- Decay is driven by GameScene's shared animation timer through the
  IAnimatedItem interface (QElapsedTimer based), respecting the
  arrowDrawAnimation setting
- GameScene adds the arrow item to the scene before starting its
  animation so the item is registered against a valid scene

Took 6 minutes


Took 1 minute

* Defer animation start so arrows don't start halfway materialized

Took 13 minutes

* Don't draw tip/shaft outline

Took 12 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-08-14 10:44:17 +02:00
..
abstract_settings_page.cpp [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
abstract_settings_page.h [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
appearance_settings_page.cpp [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
appearance_settings_page.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
deck_editor_settings_page.cpp [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
deck_editor_settings_page.h [DlgSettings] Refactor: split SettingsPage into separate files (#6899) 2026-05-18 01:59:02 -07:00
general_settings_page.cpp [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
general_settings_page.h [Settings] Clean up groupings in general settings (#6907) 2026-05-19 03:32:45 -07:00
messages_settings_page.cpp [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
messages_settings_page.h [Messages] Add option to ignore private messages from non-buddy users (#6966) 2026-06-09 20:49:29 -07:00
settings_search_delegate.cpp [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
settings_search_delegate.h [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
settings_search_model.cpp [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
settings_search_model.h [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
shortcut_settings_page.cpp [Settings][Dialog] Implement search for settings by text, description, tooltip, etc. (#7065) 2026-08-08 22:19:21 +02:00
shortcut_settings_page.h [DlgSettings] Refactor: split SettingsPage into separate files (#6899) 2026-05-18 01:59:02 -07:00
sound_settings_page.cpp [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
sound_settings_page.h [DlgSettings] Refactor: split SettingsPage into separate files (#6899) 2026-05-18 01:59:02 -07:00
storage_settings_page.cpp [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
storage_settings_page.h [DlgSettings] Refactor: split SettingsPage into separate files (#6899) 2026-05-18 01:59:02 -07:00
user_interface_settings_page.cpp [Game] Animate Arrows (#7099) 2026-08-14 10:44:17 +02:00
user_interface_settings_page.h [Game] Animate Arrows (#7099) 2026-08-14 10:44:17 +02:00