Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7050 → Rev 7051

/programs/cmm/lib/kolibri.h
161,7 → 161,7
$mov eax,9;
$int 0x40
DSDWORD[EBX+71] = DSDWORD[EBX+42] - 9; //set cwidth
DSDWORD[EBX+75] = DSDWORD[EBX+46] - GetSkinHeight() - 4; //set cheight
DSDWORD[EBX+75] = DSDWORD[EBX+46] - skin_height - 4; //set cheight
}
 
inline fastcall int GetPointOwner( EBX, ECX) //ebx=m.x, ecx=m.y
/programs/cmm/lib/obj/libini.h
35,4 → 35,43
char aini_get_color[] = "ini_get_color";
//char aini_set_color[] = "ini_set_color";
 
//===================================================//
// //
// FUCTIONS //
// //
//===================================================//
 
struct _ini
{
dword path;
dword section;
void SetPath();
void SetSection();
int GetInt();
void SetInt();
void GetString();
void SetString();
};
 
int _ini::GetInt(dword key, default_value)
{
ini_get_int stdcall (path, section, key, default_value);
return EAX;
}
 
void _ini::SetInt(dword key, value)
{
ini_set_int stdcall (path, section, key, value);
}
 
void _ini::GetString(dword key, dst, len, default_value)
{
ini_get_str stdcall (path, section, key, dst, len, default_value);
}
 
void _ini::SetString(dword key, value, len)
{
ini_set_str stdcall (key, value, len);
}
 
#endif