mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-02 17:49:01 +08:00
非矩形窗口
This commit is contained in:
@@ -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 :
|
||||
|
||||
1
29_day/notrec/!cons_9x.bat
Normal file
1
29_day/notrec/!cons_9x.bat
Normal file
@@ -0,0 +1 @@
|
||||
command
|
||||
1
29_day/notrec/!cons_nt.bat
Normal file
1
29_day/notrec/!cons_nt.bat
Normal file
@@ -0,0 +1 @@
|
||||
cmd.exe
|
||||
5
29_day/notrec/Makefile
Normal file
5
29_day/notrec/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
APP = notrec
|
||||
STACK = 11k
|
||||
MALLOC = 0k
|
||||
|
||||
include ../app_make.txt
|
||||
1
29_day/notrec/make.bat
Normal file
1
29_day/notrec/make.bat
Normal 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
17
29_day/notrec/notrec.c
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user