Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5573 → Rev 5572

/programs/cmm/lib/kolibri.h
65,7 → 65,7
/**
* The structure of the mouse
* x - coordinate X
* y - coordinate Y
* ó - coordinate Ó
* xx and yy - time coordinates
* lkm - left mouse button
* pkm - right mouse button
82,7 → 82,6
void get();
};
 
//get new attributes mouse
:void mouse::get()
{
EAX = 37;
127,8 → 126,7
//when you press the mouse button
else {
up = false;
if(key) down = true;
else down = false;
down = key;
if(down) tmp = key;
if((xx!=x)||(yy!=y)){
move = true;
138,8 → 136,7
else move = false;
}
//scroll
EAX = 37;
EAX = 37; //áªà®««
EBX = 7;
$int 0x40
$mov ebx, eax