fix for previous revision

git-svn-id: svn://kolibrios.org@3655 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-06-13 14:43:55 +00:00
parent 4254255234
commit 7be186595b

View File

@ -43,7 +43,6 @@ proc_info Form;
int mouse_dd; int mouse_dd;
unsigned char dsize[30]; unsigned char dsize[30];
edit_box edit1= {40,20,200,0xffffff,0x94AECE,0x94AECE,0x94AECE,0,4,#dsize,#mouse_dd,100000000000010b};
unsigned char icons[14*56] = FROM "icons.raw"; unsigned char icons[14*56] = FROM "icons.raw";
#define TOPPANELH 30 #define TOPPANELH 30
@ -57,19 +56,10 @@ void Main_Window()
int i, x; int i, x;
mem_Init(); mem_Init();
if (load_dll2(boxlib, #edit_box_draw,0)!=0)
{
notify("error: library doesn't exist /rd/1/lib/box_lib.obj");
ExitProcess();
}
SetEventMask(0x27);
loop() loop()
{ {
switch(WaitEvent()) switch(WaitEvent())
{ {
case evMouse:
//edit_box_mouse stdcall (#edit1);
break;
case evButton: case evButton:
id=GetButtonID(); id=GetButtonID();
if (id==1) ExitProcess(); if (id==1) ExitProcess();
@ -126,8 +116,6 @@ void Main_Window()
selected+=3; selected+=3;
DrawTmpDisks(); DrawTmpDisks();
} }
//EAX=key<<8;
//edit_box_key stdcall(#edit1);
break; break;
case evReDraw: case evReDraw:
sc.get(); sc.get();