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 25... Line 25...
25
void kol_wnd_define(unsigned x, unsigned y, unsigned w, unsigned h, unsigned cs, unsigned b, char *t)
25
void kol_wnd_define(unsigned x, unsigned y, unsigned w, unsigned h, unsigned cs, unsigned b, char *t)
26
{
26
{
27
asm volatile ("int $0x40"::"a"(0), "b"(x*65536+w), "c"(y*65536+h), "d"(cs), "D"(t), "S"(b) );
27
asm volatile ("int $0x40"::"a"(0), "b"(x*65536+w), "c"(y*65536+h), "d"(cs), "D"(t), "S"(b) );
28
}
28
}
Line 29... Line -...
29
 
-
 
30
 
-
 
31
void kol_wnd_move(unsigned x, unsigned y)
-
 
32
{
-
 
33
asm volatile ("int $0x40"::"a"(67), "b"(x), "c"(y), "d"(-1), "S"(-1));
-
 
34
}
-
 
35
 
-
 
36
void kol_wnd_size(unsigned x, unsigned y)
-
 
37
{
-
 
38
asm volatile ("int $0x40"::"a"(67), "b"(-1), "c"(-1), "d"(x), "S"(y));
-
 
39
};
-
 
40
 
29
 
41
void kol_event_mask(unsigned e)
30
void kol_event_mask(unsigned e)
42
{
31
{
43
asm volatile ("int $0x40"::"a"(40), "b"(e));
32
asm volatile ("int $0x40"::"a"(40), "b"(e));