Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

[Vanilla Enhancement] Task subtitles display in the middle of the screen

Open CrimRecya opened this issue 6 months ago • 3 comments

  • Now you can set MessageApplyHoverState to true,to make the upper left messages not disappear while mouse hovering over the top of display area.
  • You can also let task subtitles to display directly in the middle area of the screen instead of the upper left corner, with a semi transparent background, by setting MessageDisplayInCenter to true.
    • When the mouse hovers over the subtitle area (simply judged as a rectangle), its opacity will increase and it will not disappear during this period.

In RA2MD.INI:

[Phobos]
MessageApplyHoverState=false  ; boolean
MessageDisplayInCenter=false  ; boolean

I'm not sure if there is a better implementation, but it's the simplest implementation that comes to my mind.

CrimRecya avatar Jun 23 '25 14:06 CrimRecya

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

github-actions[bot] avatar Jun 23 '25 14:06 github-actions[bot]

Can we have an example image added to docs and to PR?

Metadorius avatar Jun 23 '25 15:06 Metadorius

  • Is this image ok?

QQ20250624-020011

CrimRecya avatar Jun 23 '25 18:06 CrimRecya

TODO:

  • impl:
    • Save and display historical message
  • button:
    • Clear current message
    • Show/Hide current message
    • Show/Hide historical message

CrimRecya avatar Jun 27 '25 08:06 CrimRecya

I think you don't need to finish everything in one single pr🤔 Also, if you do so, it will result in a huge amount of review work, and as a result, no one will be willing to review😋

TaranDahl avatar Jun 27 '25 10:06 TaranDahl

So as TaranDahl said, I will use new PR to complete the to-do list afterwards.

CrimRecya avatar Jun 27 '25 17:06 CrimRecya