Michael Drake
1c7d7f6cbe
Fix scaled text-plain contents.
...
svn path=/trunk/netsurf/; revision=12059
2011-03-15 15:29:28 +00:00
Michael Drake
06ff431df7
Handle scaling of text plots in core.
...
svn path=/trunk/netsurf/; revision=11935
2011-03-08 18:47:15 +00:00
Michael Drake
3707be6292
Move printed to box flags.
...
svn path=/trunk/netsurf/; revision=11888
2011-03-02 18:41:17 +00:00
Michael Drake
f744c9dfa0
Make box flags and move new line indicator to it.
...
svn path=/trunk/netsurf/; revision=11886
2011-03-02 17:50:51 +00:00
Michael Drake
e3f00b8546
Cache space widths.
...
svn path=/trunk/netsurf/; revision=11877
2011-03-01 20:00:41 +00:00
Michael Drake
cbaada8305
Fix silly.
...
svn path=/trunk/netsurf/; revision=11764
2011-02-22 22:14:22 +00:00
Michael Drake
8a223ef1b2
Fix text clipping bug.
...
svn path=/trunk/netsurf/; revision=11763
2011-02-22 22:07:28 +00:00
Michael Drake
cd40c260b9
Remove knockout from html_redraw, and use it in browser_window_redraw and thumbnail_redraw.
...
svn path=/trunk/netsurf/; revision=11746
2011-02-21 14:48:55 +00:00
Michael Drake
e4035987a7
Pass clip rect through html redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11685
2011-02-15 11:42:05 +00:00
Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
c05333fa62
Pass clip rect to scroll_redraw as struct. Simplify test to see if scrollbar is within clip rect.
...
svn path=/trunk/netsurf/; revision=11679
2011-02-14 17:57:08 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
John Mark Bell
5d27aa256f
Port to latest libcss
...
svn path=/trunk/netsurf/; revision=11526
2011-01-29 19:22:12 +00:00
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