add progressbar

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@525 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-30 23:16:03 +00:00
parent e2b654853c
commit e5e0de7765
25 changed files with 159 additions and 52 deletions

View File

@@ -406,7 +406,7 @@ void MwLLNextEvent(MwLL handle) {
MwLLGetXYWH(handle, &x, &y, &w, &h);
MwLLDispatch(handle, draw, NULL);
if(handle->copy_buffer){
if(handle->copy_buffer) {
XCopyArea(handle->display, handle->pixmap, handle->window, handle->gc, 0, 0, w, h, 0, 0);
XSetWindowBackgroundPixmap(handle->display, handle->window, handle->pixmap);
}