Commit Graph

1161 Commits

Author SHA1 Message Date
Michael Drake d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Chris Young 786a5186aa Updated documentation with some post-2.9 changes 2012-08-12 12:00:45 +01:00
Chris Young ee4346c26e correct logic 2012-08-12 11:36:48 +01:00
Chris Young 5ac9c7128a allow font anti-aliasing to be switched off in true-colour modes 2012-08-12 11:30:44 +01:00
Chris Young c7766fddff Change default mask threshold to something more sensible 2012-08-12 11:03:05 +01:00
Chris Young 8b31fc0e78 Fix mask calculation (thanks to Fredrik Wikstrom) 2012-08-12 11:02:12 +01:00
Chris Young 59784ba852 fix mask 2012-08-11 17:19:54 +01:00
Chris Young 69ad5db2d1 convert throbber to use standard bitmap functions; remove p96 dependency 2012-08-10 22:59:38 +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
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
Chris Young 56967bbf06 create a pen list for treeviews 2012-08-08 21:07:29 +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
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
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
Chris Young 8c6dab520d misc 2012-08-05 23:51:59 +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
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
Chris Young 25f1acb504 Don't re-layout if this has already been performed 2012-08-05 16:16:18 +01:00
Chris Young 59af85e0b5 disable mask for now, causing colourisation problems 2012-08-05 16:02:25 +01:00
Chris Young 803970589b attempt blit through mask 2012-08-05 15:55:02 +01:00
Chris Young 74e794d7a2 implement scaling 2012-08-05 15:29:20 +01:00
Chris Young c359b9400b Palette-mapped bitmap support 2012-08-05 15:16:02 +01:00
Chris Young a46c5ae09f Merge branch 'master' into chris/palette-mapped-plotters 2012-08-05 14:29:12 +01:00
Chris Young 7716143240 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-08-05 14:28:10 +01:00