Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
7618 leency 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_DrawRegion(Word x, Word y,Word width, Word height, Dword color1, Word invert);
54
void kos_DrawCutTextSmall(Word x, Word y, int areaWidth, Dword textColour, char *textPtr);
55
int atoi(const char* string);
56
int toupper(int c);
57
int strnicmp(const char* string1, const char* string2, unsigned count);
58
void kos_GetScrollInfo(int &vert, int &hor);
59
60
 
61
 
62
Dword kos_GetActiveSlot();
63
Dword kos_GetSkinHeight();
64
Dword kos_GetSpecialKeyState();
65
66
 
67
 
68
double cos(double x);
69
double sin(double x);
70
bool isalpha(char c);
71
double convert(char *s, int *len=NULL);
72
void format( char *Str, int len, char* Format, ... );
73
74
 
75
76
 
77
void settextstyle( int a1, int a2, int a3);
78
79
 
80
 
81
double textheight( char *s, int len);
82
void setcolor( DWORD color);
83
void unsetcolor(HDC hdc);
84
void rectangle( int x1, int y1, int x2, int y2);
85
86
 
87
{
88
unsigned	p00 ;
89
unsigned	p04 ;
90
unsigned	p08 ;
91
unsigned	p12 ;
92
unsigned	p16 ;
93
char		p20 ;
94
char		*p21 ;
95
} kol_struct70 ;
96
97
 
98
 
99
{
100
unsigned	p00 ;
101
char		p04 ;
102
char		p05[3] ;
103
unsigned	p08 ;
104
unsigned	p12 ;
105
unsigned	p16 ;
106
unsigned	p20 ;
107
unsigned	p24 ;
108
unsigned	p28 ;
109
unsigned	p32[2] ;
110
unsigned	p40 ;
111
} kol_struct_BDVK ;
112
113
 
114
{
115
char	*name ;
116
void	*data ;
117
} kol_struct_import ;
118
119
 
120
 
121
 
122
void* kol_cofflib_procload (kol_struct_import *imp, char *name);
123
unsigned kol_cofflib_procnum (kol_struct_import *imp);
124
void kol_cofflib_procname (kol_struct_import *imp, char *name, unsigned n);
125
int strcmp(const char* string1, const char* string2);
126
127
 
128
double atof(char *s);
129
130
 
131
 
132
double id(int x);
133
#define>