Skip to content

Add getter/setter functions for DigitsFormat/Accuracy#876

Open
LukeSaward wants to merge 1 commit intoLiveSplit:masterfrom
LukeSaward:digits-format-accuracy-getter-setter
Open

Add getter/setter functions for DigitsFormat/Accuracy#876
LukeSaward wants to merge 1 commit intoLiveSplit:masterfrom
LukeSaward:digits-format-accuracy-getter-setter

Conversation

@LukeSaward
Copy link
Copy Markdown

Currently, it seems impossible to access the DigitsFormat and Accuracy in use by an instance of the Time and Fraction structs respectively (contained within livesplit_core::timing::formatter::timer, since there are no getter functions for either.

I originally planned to publicize the digits_format and accuracy fields of Time and Fraction structs respectively, but decided getter/setter functions would be a better approach.

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