Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade multi-bar management mechanism
Multi-bar position management mechanism upgraded from a simple counter to bar-registry to allow dynamic ordering
- Loading branch information
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit 5ab3bde
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solves issue #17
grants preferred position by storing the pointer in that particular position in the registry,
the position appointed stored in data member
position
will soon be overwritten as seen in line 23 to line 27https://github.com/HsuanTingLu/pbar/blob/5ab3bdef40ab6bc65d3d4861380ee5bb363d0bed/pbar/pbar.cpp#L23-L27