dcone%netscape.com
360be95564
fixed backgrounds. r=rods
2000-02-01 16:03:13 +00:00
dcone%netscape.com
8fba6004e9
Fixed some problems with rounded borders. r=rods
2000-01-14 14:43:05 +00:00
dcone%netscape.com
e4e814a923
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
2000-01-12 15:36:24 +00:00
sspitzer%netscape.com
fbd97e9856
fix warnings.
1999-12-28 19:37:29 +00:00
dcone%netscape.com
f7bfb1a5f7
Added support for selected rounded corners...can now round individual corners. r=rods
1999-12-23 20:48:07 +00:00
pierre%netscape.com
74c0693bb2
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today.
1999-12-22 11:30:22 +00:00
kmcclusk%netscape.com
4df6cffe8e
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
dcone%netscape.com
e980952da4
Took out the clip for backgrounds.. not needed r=rods. bug=16685
1999-12-01 14:45:59 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dcone%netscape.com
1b778eadc9
Thickness of side is now checked. Fixed bug 14944. r=rods
1999-11-18 16:03:45 +00:00
dcone%netscape.com
3c24d927ea
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
1999-11-18 15:09:02 +00:00
dcone%netscape.com
dee8f4a5a5
DrawDashedSides now used the correct height and width for the right and bottom
1999-11-15 15:33:25 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
sfraser%netscape.com
13525c0af2
Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
1999-11-04 22:26:57 +00:00
dcone%netscape.com
d871f3d1eb
Fixed a divide by zero crasher, and cleaned up borders. r=buster
1999-11-03 05:46:01 +00:00
dcone%netscape.com
eb5d6cfd19
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
dcone%netscape.com
c1a0029188
Fixed warning.
1999-10-22 13:29:06 +00:00
dcone%netscape.com
8c53e876bb
Fixed the rounded border rendering code to obey solid, and none style types.
...
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
dcone%netscape.com
317cd9edf5
Fixed some warnings
1999-10-07 20:40:00 +00:00
dcone%netscape.com
edf1bb0675
Turned on the background tiling optimization.. Reviewed By rods
1999-10-07 14:57:32 +00:00
dcone%netscape.com
de58b40e53
added background fix.. commented out for now until other platforms are tested
1999-10-01 14:35:20 +00:00
rods%netscape.com
a4d98e6a57
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.
1999-09-03 14:12:09 +00:00
troy%netscape.com
c4d6cf70d3
Fix for bug #12751 . Optimized PaintBorder() so if the dirty rect is completely
...
inside of the border rect, then we don't paint anything. This speed up
incremental painting
1999-08-29 03:25:56 +00:00
dcone%netscape.com
918bc1fe7d
removed a debug printf
1999-08-27 20:58:37 +00:00
dcone%netscape.com
4abe0ca7d3
Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
1999-08-27 14:37:47 +00:00
rods%netscape.com
461e2800c5
removed some unused variables to get rid of some warnings
1999-08-25 13:39:41 +00:00
troy%netscape.com
7404d57f49
Changed PaintBackground() so it doesn't always render the background color when
...
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro%netscape.com
ee1c505730
#ifdef out annoying printf.
1999-08-25 04:01:57 +00:00
troy%netscape.com
df668a079e
Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
...
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
dcone%netscape.com
4503dca5fe
Fixed some warnings, and some roundoff for the curves
1999-08-24 14:51:16 +00:00
rods%netscape.com
300c700e00
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
1999-08-19 14:22:47 +00:00
harishd%netscape.com
9db5447de6
Changing the order in which borders are painted for compatibility.
...
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT. Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy%netscape.com
2ba05e9bf2
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com
f9b64e775c
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.
1999-07-27 23:26:36 +00:00
troy%netscape.com
2564e77725
Fix for bug #10563 where we were triggering a post condition assertion. Changed
...
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone%netscape.com
cf87ffff0a
Fixed background rendering
1999-07-27 06:41:34 +00:00
dcone%netscape.com
5e3ed1564c
fixed background tile clipping bug.
1999-07-19 14:37:36 +00:00
dcone%netscape.com
56e7a48d52
Fixed printing to make sure all URL's are loaded before print.
...
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
troy%netscape.com
e13d067261
Fixed some compiler warnings
1999-07-02 22:39:32 +00:00
dcone%netscape.com
cc52bf67e6
background Image speed up
...
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
troy%netscape.com
d2b09d863b
Fix for bug #5680 . Re-arranged some assertion checking code
1999-04-29 18:29:56 +00:00
troy%netscape.com
4d366f928b
Fixed a comment
1999-04-25 04:14:06 +00:00
troy%netscape.com
dc03d4fd22
Added support for fixed background attachment
1999-04-25 02:43:50 +00:00
dcone%netscape.com
3b1a4260b6
Updated with the background painting and anti-aliasing
1999-04-21 14:23:49 +00:00
dcone%netscape.com
c08626bd0e
added the rounded rectangle code for style
1999-04-19 05:27:55 +00:00
kipp%netscape.com
a75693e1fa
Updated to use new image loading apis
1999-04-13 21:52:19 +00:00
peterl%netscape.com
888bd39b4a
added transparent border support
1999-03-28 04:30:28 +00:00
kipp%netscape.com
1dd581bfed
Remove dead global-variable nonsense
1999-03-05 19:23:52 +00:00
kipp%netscape.com
b476316084
Pass in default image size when loading image
1999-02-26 17:12:05 +00:00