Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Default Progress Bar Settings:
- {
- Title = '',
- Size = 20,
- PercentSettings = {
- Show = true,
- Position = 3, -- 1 = before everything, 2 = after title, before bar, 3 = after everything
- RoundTo = 0.1,
- Mode = 'percent' -- 'percent' or 'fraction' e.g. 50% or current..'/'..max
- },
- Fill = '#',
- Empty = '.',
- Ends = {' [','] '}
- }
- -- Default progress bar:
- -- [#######.............] 35.0%
- type ProgressBarSettings =
- {
- Title : string?,
- Size : number?,
- PercentSettings: { Show : boolean?, Position : number?, RoundTo : number?, Mode : string? }?,
- Fill : string?,
- Empty : string?,
- Ends : { [number] : string } | string?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement