Subversion Repositories Kolibri OS

Rev

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

Rev 8452 Rev 8505
Line 95... Line 95...
95
 
95
 
96
void kol_exit();
96
void kol_exit();
97
void kol_sleep(unsigned d);
97
void kol_sleep(unsigned d);
98
void kol_wnd_define(unsigned x, unsigned y, unsigned w, unsigned h, unsigned cs, unsigned b, char *t);
-
 
99
 
-
 
100
#define OLD -1
-
 
101
void kol_wnd_move(unsigned x, unsigned y);
-
 
102
void kol_wnd_size(unsigned x, unsigned y);
-
 
103
 
98
void kol_wnd_define(unsigned x, unsigned y, unsigned w, unsigned h, unsigned cs, unsigned b, char *t);
104
void kol_wnd_caption(char *s);
99
void kol_wnd_caption(char *s);
105
void kol_event_mask(unsigned e);
100
void kol_event_mask(unsigned e);
106
unsigned kol_event_wait();
101
unsigned kol_event_wait();
107
unsigned kol_event_wait_time(unsigned time);
102
unsigned kol_event_wait_time(unsigned time);
Line 165... Line 160...
165
int kos_get_mouse_wheels(void);
160
int kos_get_mouse_wheels(void);
166
void kos_screen_max(int* x, int* y);
161
void kos_screen_max(int* x, int* y);
167
int kos_get_key();
162
int kos_get_key();
168
void kos_text(int x, int y, int color, const char* text, int len);
163
void kos_text(int x, int y, int color, const char* text, int len);
169
 
164
170
 
-
 
171
//// Struct from menuet/os.h
-
 
172
//// Need rewrite!
-
 
173
 
-
 
174
typedef unsigned char       __u8;
-
 
175
typedef unsigned short      __u16;
-
 
176
typedef unsigned long       __u32;
-
 
177
 
-
 
178
#pragma pack(push,1)
-
 
179
 
-
 
180
struct process_table_entry
-
 
181
{
-
 
182
 __u32 cpu_usage;
-
 
183
 __u16 pos_in_windowing_stack;
-
 
184
 __u16 win_stack_val_at_ecx;
-
 
185
 __u16 reserved1;
-
 
186
 char name[12];
-
 
187
 __u32 memstart;
-
 
188
 __u32 memused;
-
 
189
 __u32 pid;
-
 
190
 __u32 winx_start,winy_start;
-
 
191
 __u32 winx_size,winy_size;
-
 
192
 __u16 thread_state;
-
 
193
 __u16 reserved2;
-
 
194
 __u32 client_left,client_top,client_width,client_height;
-
 
195
 __u8 window_state;
-
 
196
 __u8 reserved3[1024-71];
-
 
197
};
-
 
198
 
-
 
199
#pragma pack(pop)
-
 
200
-