aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewbase.hh
AgeCommit message (Collapse)Author
2014-11-18Fix a problem with FLTK's fl_oldfocus variable (now private)Jorge Arellano Cid
Starting with fltk-1.3.3, we can't use fl_oldfocus, this patch fixes this problem. IOW. this patch is necessary to link with fltk-1.3.3.
2014-11-16can't use fl_oldfocus anymore -- this will make focus behaviour somewhat screwycorvid
http://lists.dillo.org/pipermail/dillo-dev/2014-November/010273.html A couple of months ago, Lauri Kasanen made some changes to fltk's linker stuff, and I guess we're seeing the effect here. As for focus behaviour being screwy, if you click on a page to give it focus, then move the cursor away and then back onto the page, it won't get focus again -- focus will go to an input or the location bar or something.
2012-12-25move this tabbing focus stuff to a separate functioncorvid
2011-08-26rm unused argcorvid
2011-08-04rm my FLTK2-era points array optimisation for drawPolygon()corvid
(I had made it use that less-clear int[][2] interface because fltk2 let you add all of the vertices in one call.) It feels good to change that nasty-looking pointArray in Polygon::draw().
2011-07-28wrap image alt textcorvid
2011-05-26remove commented codeJohannes Hofmann
2011-05-16rm spacescorvid
2011-05-12Fix for dw_anchors_test.cc and dw_find_test.ccJorge Arellano Cid
2011-02-23view and form widget focusingcorvid
2011-02-17port line clipping on expose rectangle to avoid X11 coordinate overflowsJohannes Hofmann
2011-02-11port buffered drawingJohannes Hofmann
2011-01-22convex polygons for border drawingcorvid
2011-01-15view changesJohannes Hofmann
2011-01-06some fltkviewbasecorvid
2010-11-13Full CSS border-style implementationJorge Arellano Cid
The drawBorder{Top,Bottom,Left,Right} functions are similar. They use a trapezium as draw polygon, or drawTypedLine() for dots and dashes. Although the concept is simple, achieving pixel accuracy is laborious [1]. [1] http://www.dillo.org/css_compat/tests/border-style.html
2010-03-11drawArc() take coordinates of centercorvid
2010-03-11fix clipped drawing of non-filled rectanglesJohannes Hofmann
To avoid artifacts we need clip with a rectangle that is line_width() larger than our expose area. Noticed by: corvid <corvid@lavabit.com>
2009-09-01further reduce size of rectangles before drawingJohannes Hofmann
Make currently exposed area available in FltkViewBase and use it to clip rectangles to the required size before drawing them. We can use the same mechanism to limit drawImage() calls instead of doing it in dw/image.cc as currently done.
2009-09-01improve FltkViewBase::drawRectangleJohannes Hofmann
* allow negative width / height * clip rectangle to size of the view. This avoids issues with 16 bit X11 coordinates overflowing and seems to improve performance.
2009-07-28properly clip draw requestsJohannes Hofmann
We always need to set a clipping rectangle when drawing to avoid that text "leaks" out as in the following test case (by corvid): <input type="image" name="name1" src="whatever" WIDTH="80" HEIGHT="14" alt="name1name1name1name1"> <input type="image" name="name2" src="whatever" width="9" height="14" alt="name2name2name2name2">
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2008-10-16- Unused code cleanup.jcid
2008-10-09- Added the double-buffer as preference patch.jcid
2008-09-24- Moved the dw2 tree into dillo2's tree.jcid