format
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-05-06 04:28:23 +09:00
commit bcc4766e5f
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 22 additions and 18 deletions

View file

@ -803,9 +803,9 @@ void MwLLSetSizeHintsImpl(MwLL handle, int minx, int miny, int maxx, int maxy) {
} }
void MwLLMakeBorderlessImpl(MwLL handle, int toggle) { void MwLLMakeBorderlessImpl(MwLL handle, int toggle) {
if(toggle){ if(toggle) {
handle->haiku.type = B_TITLED_WINDOW; handle->haiku.type = B_TITLED_WINDOW;
}else{ } else {
handle->haiku.type = B_UNTYPED_WINDOW; handle->haiku.type = B_UNTYPED_WINDOW;
} }
} }

View file

@ -58,7 +58,7 @@ static void draw(MwWidget handle) {
MwLLColor base = MwParseColor(handle, MwGetText(handle, MwNbackground)); MwLLColor base = MwParseColor(handle, MwGetText(handle, MwNbackground));
MwLLColor dark = MwLightenColor(handle, base, -64, -64, -64); MwLLColor dark = MwLightenColor(handle, base, -64, -64, -64);
MwScrollBar scr = handle->internal; MwScrollBar scr = handle->internal;
int or; int or ;
int uy, dy, ux, dx; int uy, dy, ux, dx;
MwLLPixmap bgpx = MwGetVoid(handle, MwNbackgroundPixmap); MwLLPixmap bgpx = MwGetVoid(handle, MwNbackgroundPixmap);

View file

@ -122,6 +122,7 @@ sub generate {
print(OUT "EXE_CFLAGS = ${inc}include\n"); print(OUT "EXE_CFLAGS = ${inc}include\n");
print(OUT "EXE_LDFLAGS = $exe"); print(OUT "EXE_LDFLAGS = $exe");
print(OUT "\n"); print(OUT "\n");
if ($suffix) { if ($suffix) {
print(OUT ".SUFFIXES: .obj .c\n"); print(OUT ".SUFFIXES: .obj .c\n");
} }
@ -172,8 +173,11 @@ sub generate {
$o =~ s/\.c$/.obj/; $o =~ s/\.c$/.obj/;
$o =~ s/\//$dir/g; $o =~ s/\//$dir/g;
print(OUT "$b: $o src${dir}Mw.dll\n"); print(OUT "$b: $o src${dir}Mw.dll\n");
print(OUT " \$(LD) \$(EXE_LDFLAGS) $exeout\$@ $prefobj$o $needlibs ${lib}src${dir}Mw.lib"); print(OUT
if($f =~ /\Q${dir}gldemos${dir}\E/){ " \$(LD) \$(EXE_LDFLAGS) $exeout\$@ $prefobj$o $needlibs ${lib}src${dir}Mw.lib"
);
if ($f =~ /\Q${dir}gldemos${dir}\E/) {
print(OUT " ${lib}opengl32.lib ${lib}glu32.lib"); print(OUT " ${lib}opengl32.lib ${lib}glu32.lib");
} }
print(OUT "\n"); print(OUT "\n");