mirror of
https://github.com/Insality/druid
synced 2025-09-28 10:32:20 +02:00
Feature/progress (#17)
* improve example gui. Add simple pages * return old progress bar with example * base progress with steps, there is bug with step? 1 ~= 1, small delta? * polish progress, check float error case * add callback on end of "to" function, value check * start of green/red in progress * add first version of rich progress bar * make green bar darker * rich bar fixes * add delay, before filling in rich progress * PR fixes * remove dublicate of 'progress_rich'
This commit is contained in:
@@ -12,6 +12,14 @@ M.button = {
|
||||
SCALE_CHANGE = vmath.vector3(-0.05, - 0.05, 1),
|
||||
}
|
||||
|
||||
M.progress = {
|
||||
SPEED = 5, -- progress bar fill rate, more faster
|
||||
MIN_DELTA = 0.005
|
||||
}
|
||||
|
||||
M.progress_rich = {
|
||||
DELAY = 1, -- delay in seconds before main fill
|
||||
}
|
||||
|
||||
|
||||
function M.get_text(name)
|
||||
|
Reference in New Issue
Block a user