sge_ui 1.2.0

UI library for SGE
Documentation
use super::super::*;
use super::*;

pub struct ProgressBar;

impl ProgressBar {
    pub fn new(size: Vec2, value: f32, max: f32, id: usize) -> UiRef {
        SizedBox::new(
            size,
            Card::thin(
                0.0,
                base::ProgressBar::new(
                    value,
                    max,
                    BoxFill::new(super::SECONDARY, EMPTY),
                    EMPTY,
                    id,
                ),
            ),
        )
    }
}