Subversion Repositories Kolibri OS

Rev

Rev 7503 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
990 barsuk 1
 
2
3
 
4
#include "kosFile.h"
5
#include "MCSMEMM.H"
6
7
 
8
9
 
10
 
11
#define max(a,b) (((a)>(b))?(a):(b))
12
13
 
14
 
15
#define ERROR_END -2
16
17
 
18
19
 
20
21
 
22
typedef int DWORD;
23
24
 
25
extern char debuf[50];
26
27
 
28
29
 
30
{
31
  double x, y;
32
} TCoord;
33
34
 
35
{
36
	Dword attrib;
37
	Dword name_type;
38
	Dword create_time;
39
	Dword create_date;
40
	Dword access_time;
41
	Dword access_date;
42
	Dword modify_time;
43
	Dword modify_date;
44
	Dword size_low;
45
	Dword size_high;
46
};
47
48
 
49
Dword kos_GetActiveSlot();
50
Dword kos_GetSkinHeight();
51
Dword kos_GetSpecialKeyState();
52
void kos_GetMouseStateWnd( Dword & buttons, int & cursorX, int & cursorY );
53
void kos_DrawLine( Word x1, Word y1, Word x2, Word y2, Dword colour, Dword invert);
54
void DrawRegion(Dword x,Dword y,Dword width,Dword height,Dword color1);
55
int atoi(const char* string);
56
void kos_GetScrollInfo(int &vert, int &hor);
57
58
 
59
 
60
Dword kos_GetActiveSlot();
61
Dword kos_GetSkinHeight();
62
Dword kos_GetSpecialKeyState();
63
64
 
65
 
66
double cos(double x);
67
double sin(double x);
68
bool isalpha(char c);
69
double convert(char *s, int *len=NULL);
70
void format( char *Str, int len, char* Format, ... );
71
72
 
73
74
 
75
void settextstyle( int a1, int a2, int a3);
76
77
 
78
 
79
double textheight( char *s, int len);
80
void setcolor( DWORD color);
81
void unsetcolor(HDC hdc);
82
void rectangle( int x1, int y1, int x2, int y2);
83
84
 
85
{
86
unsigned	p00 ;
87
unsigned	p04 ;
88
unsigned	p08 ;
89
unsigned	p12 ;
90
unsigned	p16 ;
91
char		p20 ;
92
char		*p21 ;
93
} kol_struct70 ;
94
95
 
96
 
97
{
98
unsigned	p00 ;
99
char		p04 ;
100
char		p05[3] ;
101
unsigned	p08 ;
102
unsigned	p12 ;
103
unsigned	p16 ;
104
unsigned	p20 ;
105
unsigned	p24 ;
106
unsigned	p28 ;
107
unsigned	p32[2] ;
108
unsigned	p40 ;
109
} kol_struct_BDVK ;
110
111
 
112
{
113
char	*name ;
114
void	*data ;
115
} kol_struct_import ;
116
117
 
118
 
119
 
120
void* kol_cofflib_procload (kol_struct_import *imp, char *name);
121
unsigned kol_cofflib_procnum (kol_struct_import *imp);
122
void kol_cofflib_procname (kol_struct_import *imp, char *name, unsigned n);
123
int strcmp(const char* string1, const char* string2);
124
125
 
126
double atof(char *s);
127
128
 
129
 
130
double id(int x);
131
#define>