Skip to content

Add cap to backlog entries#492

Open
PringlesGang wants to merge 6 commits into
masterfrom
backlog-entry-cap
Open

Add cap to backlog entries#492
PringlesGang wants to merge 6 commits into
masterfrom
backlog-entry-cap

Conversation

@PringlesGang

@PringlesGang PringlesGang commented Jun 24, 2026

Copy link
Copy Markdown
Member

Stores the backlog entries in a circular buffer and adds a maximum number of entries to the profile. When full, the oldest entry will be overwritten by the new entry.

The maximum is profile-configurable and defaulted to 400, as per the MAGES. engine.

  • Add cap to backlog entries
  • Add Boost::circular_buffer dependency
  • Turn backlog class's scrollbar from a Scrollbar* to simply a Scrollbar
  • Have scrolling down to close the backlog when at the bottom be based on a short timer, so scrolling to the bottom of the backlog does not immediately close it on high FPS

@PringlesGang PringlesGang added this to the 0.9.X Polishing milestone Jun 24, 2026
@PringlesGang PringlesGang self-assigned this Jun 24, 2026
If you have the scrollbar in a random position and then load a save (clearing the backlog), the scrollbar progress would not update until the show animation had finshed, showing the wrong progress during the show animation
@PringlesGang PringlesGang marked this pull request as ready for review June 25, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant