mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-29 10:19:18 -05:00
REVIEWED: GuiProgressBar() #128
This commit is contained in:
@ -1925,7 +1925,7 @@ float GuiProgressBar(Rectangle bounds, const char *textLeft, const char *textRig
|
|||||||
|
|
||||||
// Update control
|
// Update control
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
if (state != GUI_STATE_DISABLED) progress.width = ((int)(value/(maxValue - minValue))*(float)(bounds.width - 2*GuiGetStyle(PROGRESSBAR, BORDER_WIDTH)));
|
if (state != GUI_STATE_DISABLED) progress.width = ((float)(value/(maxValue - minValue))*(float)(bounds.width - 2*GuiGetStyle(PROGRESSBAR, BORDER_WIDTH)));
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|
||||||
// Draw control
|
// Draw control
|
||||||
|
|||||||
Reference in New Issue
Block a user