KolibriN9 Installer: fixes

git-svn-id: svn://kolibrios.org@4114 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-10-27 12:05:04 +00:00
parent 86577b5602
commit 352f79b991
3 changed files with 7 additions and 11 deletions

View File

@ -1,9 +1,9 @@
@del lang.h-- @del lang.h--
@echo #define LANG_ENG 1 >lang.h-- @echo #define LANG_ENG 1 >lang.h--
..\C--\C-- main.c ..\C--\C-- installer.c
@del installer.kex @del installer.kex
@rename main.com installer.kex @rename installer.com installer.kex
@pause @pause
@del lang.h-- @del lang.h--
@del warning.txt @del warning.txt

View File

@ -1,9 +1,9 @@
@del lang.h-- @del lang.h--
@echo #define LANG_RUS 1 >lang.h-- @echo #define LANG_RUS 1 >lang.h--
..\C--\C-- main.c ..\C--\C-- installer.c
@del installer.kex @del installer.kex
@rename main.com installer.kex @rename installer.com installer.kex
@pause @pause
@del lang.h-- @del lang.h--
@del warning.txt @del warning.txt

View File

@ -7,9 +7,8 @@
#include "..\lib\mem.h" #include "..\lib\mem.h"
#include "..\lib\dll.h" #include "..\lib\dll.h"
#include "..\lib\copyf.h" #include "..\lib\copyf.h"
//*.obj libraries
#include "..\lib\lib.obj\box_lib.h"
#include "add_appl_dir.c";
#define LOGOW 16 #define LOGOW 16
#define LOGOH 16 #define LOGOH 16
@ -52,9 +51,6 @@ int DefineWindow(dword wtitle, wbutton)
return 1; return 1;
} }
#include "add_appl_dir.c";
#include "dialogs.c";
void main() void main()
{ {
mem_Init(); mem_Init();
@ -91,7 +87,7 @@ void InstallationLoop(int dialog_t)
{ {
if !(DefineWindow("Installation Started", "Stop")) break; if !(DefineWindow("Installation Started", "Stop")) break;
//iclock[0]><iclock[1]; //iclock[0]><iclock[1];
_PutImage(Form.cwidth-LOGOW/2, Fprm.height-LOGOH/2+BLACK_H, LOGOW,LOGOH, LOGOW*LOGOH*3*iclock[0]+ #logo); _PutImage(Form.cwidth-LOGOW/2, Form.height-LOGOH/2, LOGOW,LOGOH, LOGOW*LOGOH*3*iclock[0]+ #logo);
if (!started) if (!started)
{ {
@ -104,7 +100,7 @@ void InstallationLoop(int dialog_t)
{ {
if !(DefineWindow("Installation complete", "Exit")) break; if !(DefineWindow("Installation complete", "Exit")) break;
WriteText(TEXTX, BLACK_H*2, 0x80, 0, T_END); WriteText(TEXTX, BLACK_H*2, 0x80, 0, T_END);
DrawLink(TEXTX, BLACK_H*2+55, 0x80, 11, "http://kolibri-n.org"); DrawLink(TEXTX, BLACK_H*2+15, 0x80, 11, "http://kolibri-n.org");
} }
} }
} }