Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6697 → Rev 6698

/programs/cmm/lib/debug.h
58,10 → 58,4
debugi(number);
}
 
:void die(dword _last_msg)
{
debugln(_last_msg);
ExitProcess();
}
 
#endif
/programs/cmm/lib/draw_buf.h
13,7 → 13,7
unsigned bufx, bufy, bufw, bufh;
byte zoom;
 
void Init();
bool Init();
void Show();
void Fill();
void Skew();
23,7 → 23,7
void AlignRight();
};
 
void DrawBufer::Init(int i_bufx, i_bufy, i_bufw, i_bufh)
bool DrawBufer::Init(int i_bufx, i_bufy, i_bufw, i_bufh)
{
if (!zoom) zoom = 1;
bufx = i_bufx;
32,8 → 32,11
bufh = i_bufh * zoom;
free(buf_data);
buf_data = malloc(bufw * bufh * 4 + 8);
//debugval("buf_data",buf_data);
if (!buf_data) return false;
ESDWORD[buf_data] = bufw;
ESDWORD[buf_data+4] = bufh;
return true;
}
 
void DrawBufer::Fill(unsigned fill_color)
/programs/cmm/lib/file_system.h
301,6 → 301,11
{
return RunProgram("/sys/@notify", notify_param);
}
:void die(dword _last_msg)
{
notify(_last_msg);
ExitProcess();
}
:dword ConvertSizeToKb(unsigned int bytes)
{
unsigned char size[25]=0;