Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5572 → Rev 5573

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