1
0
mirror of https://gitlab.com/Theopse/fbi-i18n-zh.git synced 2025-04-06 03:58:02 +08:00
2016-02-14 21:24:47 -08:00

11 lines
514 B
C

#pragma once
#include "ui.h"
#define PROGRESS_TEXT_MAX 512
ui_view* progressbar_create(const char* name, const char* info, void* data, void (*update)(ui_view* view, void* data, float* progress, char* progressText),
void (*drawTop)(ui_view* view, void* data, float x1, float y1, float x2, float y2));
void progressbar_destroy(ui_view* view);
void* progressbar_get_data(ui_view* view);
char* progressbar_get_progress_text(ui_view* view);