Subversion Repositories Kolibri OS

Rev

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

Rev 9053 Rev 9063
Line 10... Line 10...
10
    EVENT_IPC = 7      /* Interprocess communication notify */
10
    EVENT_IPC = 7      /* Interprocess communication notify */
11
    EVENT_NETWORK = 8  /* Network event */
11
    EVENT_NETWORK = 8  /* Network event */
12
    EVENT_DEBUG = 9    /* Debug subsystem event */
12
    EVENT_DEBUG = 9    /* Debug subsystem event */
13
    EVENT_IRQBEGIN = 16
13
    EVENT_IRQBEGIN = 16
14
)
14
)
-
 
15
 
15
func Sleep(uint32)
16
func Sleep(uint32)
16
func GetTime()(time uint32)
17
func GetTime()(time uint32)
17
func Event()(uint32)
18
func Event()(int)
18
func GetButtonID()(id int)
19
func GetButtonID()(id int)
19
func CreateButton(x uint32, y uint32, xsize uint32, ysize uint32, id uint32, color uint32)
20
func CreateButton(x int, y int, xsize int, ysize int, id int, color uint32)
20
func Exit()
21
func Exit()
21
func Redraw(uint32)
22
func Redraw(int)
22
func Window(y uint32, x uint32, w uint32,h uint32, title string)
23
func Window(y int, x int, w int,h int, title string)
23
func WriteText(x uint32 ,y uint32 , color uint32, text string)
24
func WriteText(x int ,y int , color uint32, text string)
24
func WriteText2(uint32 ,string ,uint32, uint32,uint32)
25
func WriteText2(int ,int ,int, uint32,uint32)
25
func DrawLine(x1 uint32, y1 uint32, x2 uint32, y2 uint32, color uint32)(uint32)
26
func DrawLine(x1 int, y1 int, x2 int, y2 int, color uint32)(uint32)
26
func DrawBar(x int, y int, xsize int, ysize int, color uint32)
27
func DrawBar(x int, y int, xsize int, ysize int, color uint32)
27
func DebugOutHex(uint32)
28
func DebugOutHex(uint32)
28
func DebugOutChar(byte)
29
func DebugOutChar(byte)
29
func DebugOutStr(string)
30
func DebugOutStr(string)
-
 
31
 
-
 
32
func Pointer2byteSlice(ptr uint32) *[]byte __asm__("__unsafe_get_addr")
-
 
33
 
-
 
34
//func Pointer2uint32(ptr interface{}) uint32 __asm__("__unsafe_get_addr")
30
35