forked from KolibriOS/kolibrios
compress animage graphics, webview fix
git-svn-id: svn://kolibrios.org@7754 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6c0a6a55c1
commit
6a00fc624a
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
struct _anchors {
|
struct _anchors {
|
||||||
char current_anchor_name[100];
|
|
||||||
collection anchor_name;
|
collection anchor_name;
|
||||||
collection anchor_position;
|
collection anchor_position;
|
||||||
void add();
|
void add();
|
||||||
|
@ -489,7 +489,7 @@ void ProcessAnchor()
|
|||||||
dword anchor_pos;
|
dword anchor_pos;
|
||||||
|
|
||||||
anchor_pos = strrchr(#URL, '#')-1;
|
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;
|
URL[anchor_pos] = 0x00;
|
||||||
|
|
||||||
if (URL[0] == NULL) {
|
if (URL[0] == NULL) {
|
||||||
|
@ -50,8 +50,9 @@ void DrawBufer::Fill(dword start_pointer, i_fill_color)
|
|||||||
{
|
{
|
||||||
dword i;
|
dword i;
|
||||||
dword max_i = bufw * bufh * 4 + buf_data + 8;
|
dword max_i = bufw * bufh * 4 + buf_data + 8;
|
||||||
fill_color = i_fill_color;
|
EDI = fill_color = i_fill_color;
|
||||||
for (i=buf_data+start_pointer+8; i<max_i; i+=4) ESDWORD[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)
|
void DrawBufer::DrawBar(dword x, y, w, h, color)
|
||||||
|
@ -433,7 +433,7 @@ rand:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
; DATA AREA
|
; DATA AREA
|
||||||
window_title db 'Firework demo',0
|
window_title db 'Firework',0
|
||||||
align SIMD_BYTES
|
align SIMD_BYTES
|
||||||
sub_mask db SIMD_BYTES dup 0x01
|
sub_mask db SIMD_BYTES dup 0x01
|
||||||
; x, y, x_speed, y_speed, color
|
; x, y, x_speed, y_speed, color
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 196 B |
Loading…
Reference in New Issue
Block a user