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
Chris Young
1ef7336f22
revert begin/endrefresh image avoidance - this isn't the cause of the simplerefresh damage region deadlock
2012-08-05 23:06:01 +01:00
Chris Young
6d602b103e
release the pen if it couldn't be added to a list.
2012-08-05 23:01:03 +01:00
Chris Young
b777549cc2
avoid crash if pen list is not set
2012-08-05 22:59:09 +01:00
John-Mark Bell
e1b37918e8
Reflect change to hubbub parser binding API.
2012-08-05 22:44:28 +01:00
Chris Young
ff8d7d974c
Avoid redrawing palette-mapped images during BeginRefresh/EndRefresh (ie. SimpleRefresh damage redraw) as one of the DataTypes functions are causing an Intuition deadlock.
2012-08-05 22:29:35 +01:00
Chris Young
b2514d5270
Free source BitMap
2012-08-05 21:46:14 +01:00
Chris Young
82c4ea7686
add to list, and release pens
2012-08-05 21:29:57 +01:00
Chris Young
a423eb712d
allow setting dithering quality 0-2
2012-08-05 16:22:41 +01:00