非矩形窗口

This commit is contained in:
Yourtion
2016-05-19 14:08:59 +08:00
parent 203dd63152
commit 73b7421cf2
6 changed files with 29 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ haribote.img : haribote/ipl20.bin haribote/haribote.sys Makefile \
copy from:type/type.hrb to:@: \
copy from:iroha/iroha.hrb to:@: \
copy from:chklang/chklang.hrb to:@: \
copy from:notrec/notrec.hrb to:@: \
copy from:euc.txt to:@: \
copy from:nihongo/nihongo.fnt to:@: \
imgout:haribote.img
@@ -90,6 +91,7 @@ full :
$(MAKE) -C type
$(MAKE) -C iroha
$(MAKE) -C chklang
$(MAKE) -C notrec
$(MAKE) haribote.img
run_full :
@@ -138,6 +140,7 @@ clean_full :
$(MAKE) -C type clean
$(MAKE) -C iroha clean
$(MAKE) -C chklang clean
$(MAKE) -C notrec clean
src_only_full :
$(MAKE) -C haribote src_only
@@ -165,6 +168,7 @@ src_only_full :
$(MAKE) -C type src_only
$(MAKE) -C iroha src_only
$(MAKE) -C chklang src_only
$(MAKE) -C notrec src_only
-$(DEL) haribote.img
refresh :

View File

@@ -0,0 +1 @@
command

View File

@@ -0,0 +1 @@
cmd.exe

5
29_day/notrec/Makefile Normal file
View File

@@ -0,0 +1,5 @@
APP = notrec
STACK = 11k
MALLOC = 0k
include ../app_make.txt

1
29_day/notrec/make.bat Normal file
View File

@@ -0,0 +1 @@
..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

17
29_day/notrec/notrec.c Normal file
View File

@@ -0,0 +1,17 @@
#include "apilib.h"
void HariMain(void)
{
int win;
char buf[150 * 70];
win = api_openwin(buf, 150, 70, 255, "notrec");
api_boxfilwin(win, 0, 50, 34, 69, 255);
api_boxfilwin(win, 115, 50, 149, 69, 255);
api_boxfilwin(win, 50, 30, 99, 49, 255);
for (;;) {
if (api_getkey(1) == 0x0a) {
break; /*按下回车键则break; */
}
}
api_end();
}