33 Commits

Author SHA1 Message Date
rods%netscape.com
e9d2e2d814 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone


git-svn-id: svn://10.0.0.236/trunk@63397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:41:00 +00:00
dcone%netscape.com
0c5aa54a72 fixed backgrounds. r=rods
git-svn-id: svn://10.0.0.236/trunk@59399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 16:03:13 +00:00
dcone%netscape.com
fa48e1dbb5 Added support for selected rounded corners...can now round individual corners. r=rods
git-svn-id: svn://10.0.0.236/trunk@56503 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:48:07 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
dcone%netscape.com
73c37400ce Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566


git-svn-id: svn://10.0.0.236/trunk@51847 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:34:17 +00:00
dcone%netscape.com
9abd146c48 Fixed the rounded border rendering code to obey solid, and none style types.
Also bumped all the rounded rects onto pixel boundaries before rendering.


git-svn-id: svn://10.0.0.236/trunk@51258 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:46:27 +00:00
rods%netscape.com
b3d49bd415 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.


git-svn-id: svn://10.0.0.236/trunk@45887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:12:09 +00:00
dcone%netscape.com
af7642739a Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
git-svn-id: svn://10.0.0.236/trunk@44839 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:37:47 +00:00
rods%netscape.com
0c6a0ed6dc Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info
git-svn-id: svn://10.0.0.236/trunk@43606 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:22:47 +00:00
kmcclusk%netscape.com
4da058a9e8 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
dcone%netscape.com
ecfee6c40b Updated with the background painting and anti-aliasing
git-svn-id: svn://10.0.0.236/trunk@28458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:23:49 +00:00
dcone%netscape.com
114c1eb1fa Fixed declaration to fix Mac build
git-svn-id: svn://10.0.0.236/trunk@28045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 13:37:16 +00:00
dcone%netscape.com
f60c977706 added the rounded rectangle code for style
git-svn-id: svn://10.0.0.236/trunk@28031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:27:55 +00:00
kipp%netscape.com
1bd6230ab0 Remove dead global-variable nonsense
git-svn-id: svn://10.0.0.236/trunk@22902 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:52 +00:00
harishd%netscape.com
7d19d006e0 Changing the variable aElementColor to aBorderColor in Painborder(),
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.


git-svn-id: svn://10.0.0.236/trunk@18849 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:31:47 +00:00
harishd%netscape.com
023152a6fa Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.


git-svn-id: svn://10.0.0.236/trunk@18349 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:22:26 +00:00
troy%netscape.com
8a00831853 Fix for bug #1998. Now we render the background image over the padding area and not over the border area
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
buster%netscape.com
cca2fe54e4 CSS2 table collapsing border rendering
git-svn-id: svn://10.0.0.236/trunk@16988 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:47:26 +00:00
buster%netscape.com
32c13321e7 added PainBorderSegments
git-svn-id: svn://10.0.0.236/trunk@16618 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:58:51 +00:00
harishd%netscape.com
1f271c4b88 Included a new DrawDashedSide() function prototype and modified DrawSide() function.
git-svn-id: svn://10.0.0.236/trunk@15927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:04:39 +00:00
karnaze%netscape.com
9de8b01a90 html 4 <BUTTON> basic functionality
git-svn-id: svn://10.0.0.236/trunk@13048 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 00:35:32 +00:00
karnaze%netscape.com
fbe88e6504 fieldset, legend support. fixed bug #987
git-svn-id: svn://10.0.0.236/trunk@12266 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 04:38:41 +00:00
kipp%netscape.com
557c249643 Support a dx,dy value to adjust origin of image rendering; add in partial support for background-position property
git-svn-id: svn://10.0.0.236/trunk@11157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:16:56 +00:00
michaelp%netscape.com
a9864345c6 made color handling code in css part of the gfx color utilities.
git-svn-id: svn://10.0.0.236/trunk@6557 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:07:47 +00:00
troy%netscape.com
878c1d1350 Changed PaintBorder() to use the (x,y) that's passed in
git-svn-id: svn://10.0.0.236/trunk@6152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:02:07 +00:00
troy%netscape.com
e727c63ed5 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height


git-svn-id: svn://10.0.0.236/trunk@6136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:46:00 +00:00
troy
e4e28bc903 Fixed a problem with thick left border edges being the wrong thickness
git-svn-id: svn://10.0.0.236/trunk@4057 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 05:43:32 +00:00
troy
9a5c27ee64 Reduced the number of polygon calls
git-svn-id: svn://10.0.0.236/trunk@4019 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:14:20 +00:00
kostello
557fb3323f Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.


git-svn-id: svn://10.0.0.236/trunk@2287 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:52:59 +00:00
peterl
1fe962d622 sync to nsStyleSpacing api changes
git-svn-id: svn://10.0.0.236/trunk@1477 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:58:14 +00:00
peterl
877a811055 WIP moving margin, border & padding out of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@500 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:39:35 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00