Subversion Repositories Kolibri OS

Rev

Rev 8283 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8283 Rev 8824
Line 119... Line 119...
119
	void UnLock(TRecMutex *mutex, unsigned int pid);
119
	void UnLock(TRecMutex *mutex, unsigned int pid);
Line 120... Line 120...
120
 
120
 
121
	void DebugPutChar(char c);   // Put the character to the debug board.
121
	void DebugPutChar(char c);   // Put the character to the debug board.
122
	void DebugPutString(const char *s);   // Put the string to the debug board.
122
	void DebugPutString(const char *s);   // Put the string to the debug board.
123
	int GetKey();   // Return key pressed by user or -1 if no key was pressed.
-
 
124
	int GetMouseButton();   // Return buttons pressed: 0 - no buttons, 1 - left button, 2 - right button, 3 - both buttons.
123
	int GetKey();   // Return key pressed by user or -1 if no key was pressed.
125
	void GetMousePosition(short &x, short &y, bool absolute = false);
124
	void GetMousePosition(short &x, short &y, bool absolute = false);
126
			// Write mouse position to (x) and (y): absolute if (absolute) is true and relative the window otherwise.
125
			// Write mouse position to (x) and (y): absolute if (absolute) is true and relative the window otherwise.
-
 
126
	void GetMousePosPicture(short &x, short &y);
-
 
127
	int GetMouseButton();   // Return buttons pressed: bit 0 - left button, bit 1 - right button...
Line 127... Line 128...
127
	void GetMousePosPicture(short &x, short &y);
128
	void GetMouseScrollData(short &x, short &y);
128
 
129
 
129
	int GetThreadNumber();   // Return the number of threads currently executing.
130
	int GetThreadNumber();   // Return the number of threads currently executing.
130
	bool WasThreadCreated();   // Return true if there was created at least one thread except the main thred.
131
	bool WasThreadCreated();   // Return true if there was created at least one thread except the main thred.