1.2a
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-05-08 00:35:34 +09:00 committed by NishiOwO
commit d0a4d1f1af
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 20 additions and 7 deletions

View file

@ -95,6 +95,21 @@ static void draw(MwWidget handle) {
r3.height *= 2;
MwDrawFrame(handle, &r3, c, 1);
MwLLClip(handle->lowlevel, NULL);
}else if(n == 1 && i == 0){
MwRect r3 = r2;
r3.y = tab_height(handle);
r3.width = r3.height = MwDefaultBorderWidth(handle);
MwLLClip(handle->lowlevel, &r3);
r3.x -= r3.width;
r3.y -= r3.height;
r3.width *= 2;
r3.height *= 3;
MwDrawFrame(handle, &r3, c, 1);
MwLLClip(handle->lowlevel, NULL);
}
@ -149,8 +164,6 @@ static void draw(MwWidget handle) {
static void show_frame(MwWidget handle) {
MwTab t = handle->internal;
int n = MwGetInteger(handle, MwNvalue);
int i;
resize(handle);
@ -226,7 +239,7 @@ static void resize(MwWidget handle) {
for(i = 0; i < arrlen(t->frames); i++) {
int y = MwGetInteger(handle, MwNheight);
if(i == v) tab_height(handle) + MwDefaultBorderWidth(handle);
if(i == v) y = tab_height(handle) + MwDefaultBorderWidth(handle);
MwVaApply(t->frames[i],
MwNx, MwDefaultBorderWidth(handle),