Michael Drake
e0477fa668
Redraw object scrollbars if required.
...
svn path=/trunk/netsurf/; revision=10731
2010-08-30 22:43:01 +00:00
Michael Drake
93873344dd
Fix clipping to exclude border for objects.
...
svn path=/trunk/netsurf/; revision=10728
2010-08-30 21:47:54 +00:00
Michael Drake
bbbbdd4d80
+ Don't even consider top and bottom borders when they
...
fall outside the clip rect. Should make scrolling up
and down slightly faster.
+ Clip borders plotted as rectangles to the current clip
rectangle. Fixes redraw issue with very tall borders.
svn path=/trunk/netsurf/; revision=10713
2010-08-26 12:30:22 +00:00
Michael Drake
8c767656e2
+ Pass clip rectangle around html_redraw_* as a struct rect.
...
+ Reduce fp maths at 1:1 scale for boxes with overflow:visisble.
+ Simplfy border plots.
svn path=/trunk/netsurf/; revision=10712
2010-08-26 10:01:26 +00:00
Michael Drake
607dca3e63
Simplication due to known border geometry characteristics. Fix double border style.
...
svn path=/trunk/netsurf/; revision=10709
2010-08-14 21:35:16 +00:00
Michael Drake
561cb543ca
Fix colour comparison to compare the right things. Plot left and right borders before top and bottom.
...
svn path=/trunk/netsurf/; revision=10703
2010-08-14 15:27:45 +00:00
Michael Drake
db0640e32c
Slightly quicker border part length finding.
...
svn path=/trunk/netsurf/; revision=10702
2010-08-14 13:38:53 +00:00
Michael Drake
dbe7069171
Render 1px wide border parts with rectangle plotter, rather than polygon.
...
svn path=/trunk/netsurf/; revision=10701
2010-08-14 13:03:57 +00:00
Michael Drake
b65fa05375
+ Optimise border handling at 1:1 scale.
...
+ Reduce computation for elements with no borders.
+ Simplfy border vertex calculation.
+ Add comments.
svn path=/trunk/netsurf/; revision=10700
2010-08-14 10:52:25 +00:00
Michael Drake
a2276dc6ba
Fix BeOS build.
...
svn path=/trunk/netsurf/; revision=10698
2010-08-13 22:51:29 +00:00
Michael Drake
410a50496c
Plot rectangular border parts with the rectangle plotter, rather than the polygon plotter.
...
svn path=/trunk/netsurf/; revision=10697
2010-08-13 22:29:49 +00:00
Michael Drake
1a08c89788
Make top and bottom borders flush with left and right of border box, when possible. Make left and right borders only render above/below padding box when they need to.
...
svn path=/trunk/netsurf/; revision=10696
2010-08-13 21:07:46 +00:00
Michael Drake
3d8a39e225
Skip transparent borders early and change border side plot order.
...
svn path=/trunk/netsurf/; revision=10695
2010-08-13 19:02:39 +00:00
Michael Drake
ab24d46f76
Fix inline border ends where inline text wraps.
...
svn path=/trunk/netsurf/; revision=10694
2010-08-13 16:53:30 +00:00
Michael Drake
c4da991b8d
Simplify border vertex arrangement code slightly.
...
svn path=/trunk/netsurf/; revision=10693
2010-08-13 14:05:07 +00:00
Michael Drake
1fb697782a
Stop redrawing zero size images.
...
svn path=/trunk/netsurf/; revision=10614
2010-07-08 19:53:53 +00:00
Michael Drake
e08255f3ee
Remove dead code.
...
svn path=/trunk/netsurf/; revision=10602
2010-07-06 20:29:16 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Michael Drake
c26611b32b
Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
...
svn path=/trunk/netsurf/; revision=9306
2009-08-14 23:10:53 +00:00
Michael Drake
13afa0ff4c
Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
...
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
John Mark Bell
0665611cc2
Port to modified libcss API.
...
svn path=/trunk/netsurf/; revision=8997
2009-08-02 19:19:43 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Michael Drake
4ff22c67df
Fix render colour of selected text.
...
svn path=/trunk/netsurf/; revision=8642
2009-07-21 11:33:55 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
12cdd0f6dd
Fix comment.
...
svn path=/trunk/netsurf/; revision=8520
2009-07-14 13:13:47 +00:00
Michael Drake
2d95b8aa57
Rename debug outline plot styles and make them const.
...
svn path=/trunk/netsurf/; revision=8518
2009-07-14 12:42:02 +00:00
Michael Drake
336b21198d
Plot debug outlines after borders and backgrounds, so that they can be seen when things are coloured. Plot content edge before padding edge, so that the colour for the outermost edge is always shown when margin, border or padding are 0.
...
svn path=/trunk/netsurf/; revision=8515
2009-07-14 11:45:29 +00:00
Michael Drake
08fc83b189
Simplify debug outline calculations and avoid fp maths when scale is 1.0. Comment some border stuff.
...
svn path=/trunk/netsurf/; revision=8514
2009-07-14 11:26:44 +00:00
Michael Drake
8365d46eb7
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
...
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6
next round of plotter refactor
...
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Michael Drake
ebe0db1864
Delete html_redraw lighter/darker and use the colour tweakers in plot_style.
...
svn path=/trunk/netsurf/; revision=8452
2009-07-10 20:38:57 +00:00
Michael Drake
e0a4b50e87
Move colour blend routine from html_redraw to plot_style and make it a define.
...
svn path=/trunk/netsurf/; revision=8451
2009-07-10 19:53:30 +00:00
Michael Drake
96d8e9335c
Remove html_redraw_aa because it is the same as html_redraw_blend. Fix html_redraw_blend to be 50/50 instead of 75/25.
...
svn path=/trunk/netsurf/; revision=8448
2009-07-10 19:09:33 +00:00
Vincent Sanders
680298e61c
plotters line refactor
...
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
Vincent Sanders
f9ecd56f62
ploter refactor of rectangle handling
...
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
Michael Drake
7372218033
Fix indentation to use tabs instead of spaces.
...
svn path=/trunk/netsurf/; revision=8344
2009-07-06 10:33:19 +00:00
Vincent Sanders
0ade453958
Refactor fill plotter to take a style
...
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Vincent Sanders
1165edf662
remove redundant clg call
...
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Michael Drake
a7c3c7bf15
Remove redundant calculation.
...
svn path=/trunk/netsurf/; revision=7595
2009-05-28 11:46:14 +00:00
Michael Drake
ee4beae9e2
Remove unused code.
...
svn path=/trunk/netsurf/; revision=7591
2009-05-27 20:14:36 +00:00
Michael Drake
dbeeea572c
Draw CSS overflow scrollbars differently. Front ends can override the colours used.
...
svn path=/trunk/netsurf/; revision=6943
2009-03-27 16:45:56 +00:00
John Mark Bell
ee986e1d0a
Divorce PDF export and printing.
...
At some point, the RISC OS printing code should be ported to the core page-based output engine.
svn path=/trunk/netsurf/; revision=6544
2009-02-17 16:37:51 +00:00
Michael Drake
887d7984cb
Fix scale of inline borders.
...
svn path=/trunk/netsurf/; revision=6309
2009-01-31 00:41:03 +00:00
Michael Drake
e5a5bbec3f
Move handling of background related print options to background specific functions.
...
svn path=/trunk/netsurf/; revision=6119
2009-01-17 19:39:38 +00:00
Michael Drake
d27a1c625f
Only increase the root element's redraw box to cover margin, if the redraw box isn't already bigger due to protruding descendants.
...
svn path=/trunk/netsurf/; revision=5934
2008-12-27 17:29:17 +00:00
Michael Drake
5a3b076869
Fix crash bug.
...
svn path=/trunk/netsurf/; revision=5932
2008-12-27 17:09:35 +00:00
Michael Drake
e5e68a3feb
Handle replaced inline borders and backgrounds like blocks.
...
svn path=/trunk/netsurf/; revision=5930
2008-12-27 15:03:54 +00:00
Michael Drake
8ecaccd8a4
Plot backgrounds on the root element over margin box, as per CSS 2.1 spec.
...
svn path=/trunk/netsurf/; revision=5927
2008-12-27 00:08:25 +00:00
Michael Drake
f26342940b
Fix display of inline borders when inline has no background.
...
svn path=/trunk/netsurf/; revision=5924
2008-12-26 15:10:28 +00:00