Chris Young
59784ba852
fix mask
2012-08-11 17:19:54 +01:00
Chris Young
0210ef066b
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/palette-mapped-plotters
2012-08-10 23:00:32 +01:00
Chris Young
69ad5db2d1
convert throbber to use standard bitmap functions; remove p96 dependency
2012-08-10 22:59:38 +01:00
Vincent Sanders
d6b293001d
fix build warnings
2012-08-10 22:23:22 +01:00
Michael Drake
642470fb74
Avoid two duplicate lines.
2012-08-10 20:28:23 +01:00
Chris Young
6aaf106575
remove AMI_CUSTOM_MASK define
2012-08-10 19:31:16 +01:00
Chris Young
bc4401414b
remove attempt at mask alignment
2012-08-10 19:30:18 +01:00
Chris Young
ad1336ac45
alignment attempt 2. this seems right, but doesn't work even for previously-working images
2012-08-10 19:03:56 +01:00
Chris Young
3ed1339b3f
try to align mask correctly
2012-08-10 18:54:00 +01:00
Chris Young
7c9ac8980f
use minterm (ABC|ABNC|ANBC) only when necessary
2012-08-10 18:35:01 +01:00
Chris Young
2364d68367
avoid scaled images getting incorrect mask
2012-08-10 18:30:01 +01:00
Chris Young
eaa6183567
allow tweaking threshold where alpha turns to mask
2012-08-10 18:21:57 +01:00
Chris Young
a0b344afe6
Fix mask
2012-08-10 18:11:42 +01:00
Chris Young
c456153e90
Correct byte order - is RGBA not ARGB
...
Fix mask offset calculation
2012-08-10 18:05:22 +01:00
Michael Drake
53a379ea45
Squash warning.
2012-08-10 12:17:34 +01:00
Michael Drake
eee26ed867
Squash set but unused variable warning.
2012-08-10 12:09:53 +01:00
Chris Young
bc5918ebbc
allocate our bitmaps as BMF_DISPLAYABLE as this can improve performance when blitting to the screen
2012-08-09 22:31:10 +01:00
Chris Young
e4d2677c80
first attempt to create our own mask of only wholly transparent pixels.
2012-08-09 21:59:47 +01:00
Vincent Sanders
d3b4a286f9
check return from lwc operation
2012-08-09 18:00:55 +01:00
Vincent Sanders
411fdc6186
fix return check on lwc operation
2012-08-09 17:48:05 +01:00
Michael Drake
b0ca8175bb
Dodge a clang warning.
2012-08-09 17:44:59 +01:00
Vincent Sanders
78620910e8
check all return values of string comparisons
2012-08-09 17:30:02 +01:00
Vincent Sanders
137bba2978
fix missing check of lwc_string_caseless_isequal() return value
2012-08-09 16:33:06 +01:00
Vincent Sanders
ad5db89b49
Fix include and structure definition to stop compiler redefinition errors
2012-08-09 16:28:07 +01:00
Michael Drake
2eef2a2264
Add missing #include.
2012-08-08 21:49:31 +01:00
Chris Young
56967bbf06
create a pen list for treeviews
2012-08-08 21:07:29 +01:00
Vincent Sanders
0ace9f5e0b
extend javascript object hierarchy
2012-08-08 20:08:41 +01:00
Chris Young
8304a01b6f
remove debug; it isn't helping determine the cause of the crash on exit
2012-08-08 19:02:46 +01:00
Chris Young
34c79b454a
debug
2012-08-08 18:41:16 +01:00
Michael Drake
126141a52c
Ensure text is at the right height for Freetype and Internal fonts.
2012-08-08 14:04:57 +01:00
Ole Loots
0b37b1a7e7
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2012-08-08 00:41:44 +02:00
Ole Loots
b8f437c6b6
Fix settings dialog positioning
...
On successive settings dialog calls, the automatic
positioning wasn't working correctly.
This can be prevented by duplicating the Form tree. However,
it requires to have the duplicated tree freed manually (Bug in windom?).
I should have an eye on it...
2012-08-08 00:34:59 +02:00
Chris Young
1547aebdbb
remove depth gadget, as doesn't let us select <256 colours anyway
2012-08-07 23:13:42 +01:00
Chris Young
61c268269a
display depth gadget on screenmode requester
2012-08-07 23:09:40 +01:00
Chris Young
6748845042
fix display of favicon in palette-mapped modes
2012-08-07 23:07:16 +01:00
Chris Young
b9446a3abb
rename old truecolour function
2012-08-07 21:34:52 +01:00
Chris Young
3ba621759c
hide internal palette-mapped and true-colour bitmap conversion functions
2012-08-07 21:28:55 +01:00
Chris Young
2eeb2c07bf
more use of abstracted function
2012-08-07 21:25:47 +01:00
Chris Young
0d8aca4f12
use abstracted function
2012-08-07 21:22:51 +01:00
Chris Young
dd7935bb1f
abstract the native bitmap fetcher functions, and make the favicon collection use the new one.
2012-08-07 21:09:49 +01:00
Chris Young
391d483c9d
expose function to get current screen palette-mapped status
2012-08-07 21:03:42 +01:00
Michael Drake
fb853c9354
Fix attribute includes selector callback.
2012-08-07 15:16:50 +01:00
Michael Drake
6d585308f8
Fix handling of form elements without a <form>.
2012-08-07 10:53:40 +01:00
Chris Young
9fac1daff4
...or it might just crash. Will consider a hybrid mode, as palette-mapped images do not display correctly when blitted to a 16- or 32-bit screen.
2012-08-07 00:07:37 +01:00
Chris Young
a262507b3a
If using the gfx.lib true-colour plotters on a 16-bit screenmode, allocate a 16-bit off-screen bitmap instead of a 32-bit one. This _should_ make things a little quicker in that scenario.
2012-08-07 00:00:04 +01:00
Chris Young
0ce133099b
fix true colour mode
2012-08-06 19:41:34 +01:00
Chris Young
6ceb8ca9eb
fix depth detection
2012-08-06 19:40:51 +01:00
Vincent Sanders
6205c62ba3
add non rfc 4329 javascript mimetypes to content handler
2012-08-06 17:33:03 +01:00
Chris Young
8c6dab520d
misc
2012-08-05 23:51:59 +01:00
Vincent Sanders
135aae3921
add element object
2012-08-05 23:42:45 +01:00