Subversion Repositories Kolibri OS

Rev

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

Rev 6642 Rev 7786
Line -... Line 1...
-
 
1
BT_DEL     equ 0x80000000
-
 
2
BT_HIDE    equ 0x40000000
-
 
3
BT_NOFRAME equ 0x20000000
-
 
4
 
-
 
5
macro DefineButton  x, y, w, h, id, background_color
-
 
6
{
-
 
7
	mcall 8, (x) shl 16 + (w), (y) shl 16 + (h), id, background_color
-
 
8
}
-
 
9
 
1
macro DrawBar  x, y, width, height, color 
10
macro DrawBar  x, y, width, height, color 
2
{
11
{
3
	mcall 13, (x) shl 16 + (width), (y) shl 16 + (height), color
12
	mcall 13, (x) shl 16 + (width), (y) shl 16 + (height), color
4
}
13
}
Line 37... Line 46...
37
	mcall 4, (x) shl 16 + (y), (fontType) shl 24 + (color), text
46
	mcall 4, (x) shl 16 + (y), (fontType) shl 24 + (color), text
38
	add ebx,1 shl 16
47
	add ebx,1 shl 16
39
	mcall
48
	mcall
40
}
49
}
Line 41... Line -...
41
 
-
 
42
BT_DEL     equ 0x80000000
-
 
43
BT_HIDE    equ 0x40000000
-
 
44
BT_NOFRAME equ 0x20000000
-
 
45
 
-
 
46
macro DefineButton  x, y, w, h, id, background_color
-
 
47
{
-
 
48
	mcall 8, (x) shl 16 + (w), (y) shl 16 + (h), id, background_color
-