Subversion Repositories Kolibri OS

Rev

Rev 8350 | Rev 8396 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8350 Rev 8381
Line 45... Line 45...
45
void DrawBufer::Fill(dword start_pointer, i_fill_color)
45
void DrawBufer::Fill(dword start_pointer, i_fill_color)
46
{
46
{
47
	dword i;
47
	dword i;
48
	dword max_i = bufw * bufh * 4 + buf_data + 8;
48
	dword max_i = bufw * bufh * 4 + buf_data + 8;
49
	fill_color = i_fill_color;
49
	fill_color = i_fill_color;
50
	MEMSETD(buf_data+start_pointer+8, max_i-buf_data-start_pointer-8/4, fill_color);
50
	@MEMSETD(buf_data+start_pointer+8, max_i-buf_data-start_pointer-8/4, fill_color);
51
}
51
}
Line 52... Line 52...
52
 
52
 
53
void DrawBufer::DrawBar(dword x, y, w, h, color)
53
void DrawBufer::DrawBar(dword x, y, w, h, color)
54
{
54
{
Line 156... Line 156...
156
	}
156
	}
157
}
157
}
158
*/
158
*/
Line 159... Line 159...
159
 
159
 
160
 
160
 
161
void DrawBufer::Show()
161
void DrawBufer::Show(dword _y_offset)
162
{
162
{
Line 163... Line 163...
163
	PutPaletteImage(buf_data+8, bufw, bufh, bufx, bufy, 32, 0);	
163
	PutPaletteImage(_y_offset * bufw * 4 + buf_data+8, bufw, bufh, bufx, bufy, 32, 0);	
164
}
164
}
165
 
165