Subversion Repositories Kolibri OS

Rev

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

Rev 8165 Rev 8236
Line 6... Line 6...
6
// Kolibri interface.
6
// Kolibri interface.
Line 7... Line 7...
7
 
7
 
8
namespace Kolibri   // All kolibri functions, types and data are nested in the (Kolibri) namespace.
8
namespace Kolibri   // All kolibri functions, types and data are nested in the (Kolibri) namespace.
9
{
9
{
10
	const char *DebugPrefix = "User program: ";
10
	const char *DebugPrefix = "User program: ";
Line 11... Line 11...
11
	char CommandLine[257];
11
	char CommandLine[4096];
12
 
12
 
13
	struct TWindowData   // Data for drawing a window.
13
	struct TWindowData   // Data for drawing a window.
14
	{
14
	{
Line 133... Line 133...
133
			//_ If (stack_end) is zero, create stack in dynamic memory of size (stack_size) or
133
			//_ If (stack_end) is zero, create stack in dynamic memory of size (stack_size) or
134
			//_ the same size as the main thread if (stack_size) less that 4096. Set the beginning
134
			//_ the same size as the main thread if (stack_size) less that 4096. Set the beginning
135
			//_ of the stack if (stack_end) is zero or (stack_size) is not zero, in this case stack
135
			//_ of the stack if (stack_end) is zero or (stack_size) is not zero, in this case stack
136
			//_ will be deleted automaticaly from dynamic memory at the finish of the thread.
136
			//_ will be deleted automaticaly from dynamic memory at the finish of the thread.
137
	void DrawText(short x, short y, int color, const char* string);
137
	void DrawText(short x, short y, int color, const char* string);
-
 
138
	void PutImage(unsigned char* img_data, long img_l, long img_t, long img_w, long img_h);
138
	void SetWindowCaption(const char* caption);
139
	void SetWindowCaption(const char* caption);
139
}
140
}
Line 140... Line 141...
140
 
141