compress animage graphics, webview fix

git-svn-id: svn://kolibrios.org@7754 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-03-26 02:22:41 +00:00
parent 6c0a6a55c1
commit 6a00fc624a
5 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,5 @@
struct _anchors {
char current_anchor_name[100];
collection anchor_name;
collection anchor_position;
void add();

View File

@ -489,7 +489,7 @@ void ProcessAnchor()
dword anchor_pos;
anchor_pos = strrchr(#URL, '#')-1;
strlcpy(#anchors.current_anchor_name, #URL+anchor_pos, sizeof(anchor)-1);
strlcpy(#anchor, #URL+anchor_pos, sizeof(anchor)-1);
URL[anchor_pos] = 0x00;
if (URL[0] == NULL) {

View File

@ -50,8 +50,9 @@ void DrawBufer::Fill(dword start_pointer, i_fill_color)
{
dword i;
dword max_i = bufw * bufh * 4 + buf_data + 8;
fill_color = i_fill_color;
for (i=buf_data+start_pointer+8; i<max_i; i+=4) ESDWORD[i] = fill_color;
EDI = fill_color = i_fill_color;
for (ESI=buf_data+start_pointer+8; ESI<max_i; ESI+=4) ESDWORD[ESI] = EDI;
//for (i=buf_data+start_pointer+8; i<max_i; i+=4) ESDWORD[i] = fill_color;
}
void DrawBufer::DrawBar(dword x, y, w, h, color)

View File

@ -433,7 +433,7 @@ rand:
ret
; DATA AREA
window_title db 'Firework demo',0
window_title db 'Firework',0
align SIMD_BYTES
sub_mask db SIMD_BYTES dup 0x01
; x, y, x_speed, y_speed, color

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 196 B