Subversion Repositories Kolibri OS

Rev

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

Rev 8140 Rev 8153
Line 35... Line 35...
35
 
35
 
36
	// Some functions have two forms: the fast form with (thread_data) parameter and the form without it.
36
	// Some functions have two forms: the fast form with (thread_data) parameter and the form without it.
Line 37... Line 37...
37
	// Note: pass only thread data of current thread as (thread_data) parameter to these functions.
37
	// Note: pass only thread data of current thread as (thread_data) parameter to these functions.
-
 
38
 
38
 
39
	void Main();   // Main function is called at program startup.
39
	void Main();   // Main function is called at program startup.
40
	void DrawButton(long id, long color, long x, long y, long c_x, long c_y);   // Draw Standard button
40
	void* ThreadMain(void *user = 0, void *stack_begin = 0);
41
	void* ThreadMain(void *user = 0, void *stack_begin = 0);
41
			// Called at thread startup, (user) is placed in thread data as a user dword,
42
			// Called at thread startup, (user) is placed in thread data as a user dword,
42
			//_ (stack_begin) is placed in thread data as a stack beginning.
43
			//_ (stack_begin) is placed in thread data as a stack beginning.