Subversion Repositories Kolibri OS

Rev

Rev 3440 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3440 Rev 3991
Line 46... Line 46...
46
	DrawBar(0, BLACK_H, Form.cwidth, Form.cheight-BLACK_H, 0xFFFfff);
46
	DrawBar(0, BLACK_H, Form.cwidth, Form.cheight-BLACK_H, 0xFFFfff);
47
	DrawCaptButton(Form.cwidth-107, Form.cheight-40, 90, 24, 10, sc.work_button, sc.work_button_text,wbutton);
47
	DrawCaptButton(Form.cwidth-107, Form.cheight-40, 90, 24, 10, sc.work_button, sc.work_button_text,wbutton);
48
	return 1;
48
	return 1;
49
}
49
}
Line -... Line 50...
-
 
50
 
-
 
51
 
-
 
52
struct sysdir
-
 
53
{
-
 
54
   char name[64];
-
 
55
   char path[64];
-
 
56
} sysdir;
-
 
57
 
-
 
58
 
-
 
59
int SetAddApplDir(dword tName, tPath)
-
 
60
{
-
 
61
	int i;
-
 
62
	strcpy(#sysdir.name, tName);
-
 
63
	strcpy(#sysdir.path, tPath);
-
 
64
	if (sysdir.name[0]=='/') strcpy(#sysdir.name, #sysdir.name+1);
-
 
65
	if (sysdir.path[0]=='/') strcpy(#sysdir.path, #sysdir.path+1);
-
 
66
	i = strlen(#sysdir.name);
-
 
67
	if (sysdir.name[i]=='/') sysdir.name[i]='\0';
-
 
68
	i = strlen(#sysdir.path);
-
 
69
	if (sysdir.path[i]=='/') sysdir.path[i]='\0';
-
 
70
	debug(#sysdir.name);
-
 
71
	debug(#sysdir.path);
-
 
72
	$mov eax, 30
-
 
73
	$mov ebx, 3
-
 
74
	ECX = #sysdir;
-
 
75
	$int 0x40
-
 
76
}
-
 
77
 
50
 
78
 
51
#include "tmp_add.c"
79
#include "tmp_add.c"
52
#include "hallo.c";
80
#include "hallo.c";
Line 53... Line 81...
53
#include "installation.c";
81
#include "installation.c";