diff options
author | Adrian Lees <adrian@aemulor.com> | 2007-07-20 23:51:55 +0000 |
---|---|---|
committer | Adrian Lees <adrian@aemulor.com> | 2007-07-20 23:51:55 +0000 |
commit | 84035a2a1d4faa12da8d79c8efa75975798ec99c (patch) | |
tree | baaf877e6e3975b6e59943a804caedf8af87850b /riscos/awrender.s | |
parent | 1522bfeed68110620e6e477205058ca2d5abcb3a (diff) | |
download | netsurf-84035a2a1d4faa12da8d79c8efa75975798ec99c.tar.gz netsurf-84035a2a1d4faa12da8d79c8efa75975798ec99c.tar.bz2 |
Use proper background colour for AW files using transparency
svn path=/trunk/netsurf/; revision=3447
Diffstat (limited to 'riscos/awrender.s')
-rw-r--r-- | riscos/awrender.s | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/riscos/awrender.s b/riscos/awrender.s index f42916a8b..10127aba5 100644 --- a/riscos/awrender.s +++ b/riscos/awrender.s @@ -120,13 +120,18 @@ awrender_render MOV ip,sp ; ; entry R11 = reason code ; 0 = CallBackReason_Memory +; 3 = CallBackReason_Interface +; (0 => return capabilities) ; exit R0 => base of resizable block ; R1 = size of resizable block ; R2 => base of fixed block (or -1 if no fixed block) - ; R3 = size of fixed block (or document in resizable block) +; R3 = size of fixed block (or document in resizable block) ; VC if resize successful, VS and R0 => error otherwise -aw_callback TEQ R11,#0 +aw_callback TEQ R11,#3 + TEQEQ R0,#0 + MOVEQ R0,#1<<10 ;background colour supplied + TEQ R11,#0 LDREQ R11,=aw_temp MOVNE PC,R14 |