spider
26ae0e4bcd
Unix fix as per mmp
1998-06-19 04:11:01 +00:00
michaelp
eb2e391102
painting fixes...
1998-06-19 02:46:25 +00:00
atotic
fcb81f3583
First Checked In.
1998-06-16 21:39:13 +00:00
michaelp
fe978c2d9d
added method to nsIView to get offset from nearest window.
...
added method to nsIView to get nearest scroll offset.
killed AdjustChildWidgets in nsIView.
lots of painting fixes.
added support for scrolling subviews.
added beginning of back-to-front compositing pass.
views, views with widgets and views with specific clips will now have their
outlines rendered in different colors. to turn this off see the top of nsView.cpp.
1998-06-16 17:05:42 +00:00
spider
9635153ef3
Fixes to get viewer to render on Unix
1998-06-16 00:57:33 +00:00
kipp
c1844f6386
Made View list a little more helpful about widget size and location
1998-06-04 20:02:30 +00:00
michaelp
3169c696c0
made scrolling views more self sufficient.
1998-06-04 02:02:08 +00:00
michaelp
ab13cdae91
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
michaelp
62938843da
added optimization so that as we render top->bottom, if the clip region ever
...
becomes empty, we stop rendering.
1998-06-03 21:30:51 +00:00
michaelp
59af80be4b
fixed bug bug in new region code where region was not Init()ed.
1998-06-03 18:13:12 +00:00
michaelp
d039ec90ae
added support of irregular damage regions to viewmanager.
1998-06-03 03:12:52 +00:00
michaelp
c289215715
added additional protection against NULL parent views.
1998-06-02 22:06:29 +00:00
troy
771f2ef31a
Added null pointer check for mRootView in Composite()
1998-06-02 21:05:00 +00:00
troy
c6bc27af0c
Made damage rect passed to UpdateView() be a const
1998-06-02 05:26:42 +00:00
michaelp
55a62eef61
webwidget now specifies a framerate of 25 fps rather than relying on a good
...
default value in the viewmanager. added synchronous updates if we timeout
before timer fires.
1998-06-01 22:02:02 +00:00
troy
96dd72a330
Added additional parameter to nsIWidget Resize() member functions
1998-06-01 20:26:50 +00:00
karnaze
f65a3e4e87
event improvements
1998-05-29 22:44:13 +00:00
michaelp
d380754776
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
kipp
73176fdcbe
Including missing nsCoord
1998-05-22 20:11:42 +00:00
michaelp
5a1d871fac
killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
...
modified APIs that had been referring to nsRegion to use nsIRegion.
1998-05-18 21:46:20 +00:00
kmcclusk
ad5302a8b5
Added widget specific init structs
1998-05-14 21:34:08 +00:00
michaelp
6bc6fe12e2
made form elements scroll smoothly. added apis to widgets to support this.
1998-05-13 03:39:08 +00:00
kipp
2076f06201
Declare nsIView just in case somebody else doesn't
1998-05-11 22:58:44 +00:00
michaelp
e44f04e74c
when switching documents, the scrollbars are reset.
1998-05-08 17:50:43 +00:00
michaelp
be06609ec3
we now have horizontal scrolling.
1998-05-08 01:11:57 +00:00
michaelp
61b60abf2b
scrolling views are now self-contained. preparations have been made for horizontal scrolling.
1998-05-07 23:07:10 +00:00
michaelp
fa29f980b5
API cleanup for images and drawing surfaces.
1998-05-05 22:11:50 +00:00
michaelp
a7642577cb
ResizeView() now does the right thing.
1998-05-05 18:04:56 +00:00
michaelp
e3ea777ec6
before releasing the timer in the destructor, we Cancel() the timer per vidur's
...
suggestion.
1998-05-05 17:29:08 +00:00
michaelp
0634c654fa
made Composite() API in ViewManager work.
1998-05-04 17:41:57 +00:00
michaelp
99f116eaeb
InsertChild() with a zindex now does the right thing.
...
RemoveChild() now invalidates the area where the view was.
added NS_RELEASE() cleanup.
1998-05-01 03:15:31 +00:00
michaelp
e75e090138
added NS_RELEASE() cleanup.
1998-05-01 03:14:03 +00:00
michaelp
d754292574
fixed various shutdown and linked list management bugs.
1998-05-01 03:13:34 +00:00
michaelp
b9e66e9abf
killed erroneous comments.
1998-05-01 03:11:47 +00:00
spider
2855917fe4
Fix crash if root view is not setup properly during window creation
1998-05-01 02:18:39 +00:00
michaelp
c44715a002
minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
...
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
michaelp
c1742af35d
more cliprect api changes...
1998-04-29 02:24:07 +00:00
michaelp
dcd4451871
changed clipping apis so that they take parameters in the same form that
...
clipping is expressed in layer tags and css-p.
added support for setting transforms in layers (untested and very likely
problematic if scales are applied).
changed event handling and painting apis in views to support inherited
visibility.
all parameters passed into view.Init() are now properly stored in the view.
view opacity apis are now real.
1998-04-28 19:16:24 +00:00
michaelp
cc74961db2
added back code that i killed in the previous checkin, but now it works.
1998-04-28 02:05:46 +00:00
michaelp
4c62e32817
fixed bug i just introduced (by removing code i just added)!
1998-04-28 01:00:00 +00:00
michaelp
8e227d582a
if a view does not have a clip, then we set the clip in the rc to
...
the bounds for the view.
1998-04-28 00:42:58 +00:00
michaelp
67b7f42950
added support for setting clip rects in views.
...
removed paint_all_kids().
damage rect passed to frames is now properly translated into
coord space of containing view.
1998-04-27 23:51:57 +00:00
kipp
4857393413
Fixed compiler bugs/warnings
1998-04-26 03:13:20 +00:00
kipp
6fc844d726
Added trailing newline
1998-04-26 02:57:05 +00:00
karnaze
4364c856d4
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
michaelp
19938fa089
more scrolling bugs.
1998-04-24 00:30:21 +00:00
michaelp
6d375e9ffe
fixed bug where scollbar itself was scrolled.
1998-04-23 23:32:59 +00:00
michaelp
910ec9d38b
changed SetContainerSize() to ComputeContainerSize().
1998-04-23 23:21:37 +00:00
michaelp
2c509608d8
added AddRef() to GetScrolledView().
1998-04-23 21:54:47 +00:00
michaelp
f50c2fc53b
view no longer shows a scrollbar when we can't scroll.
...
added GetScrolledView().
1998-04-23 21:51:43 +00:00
kipp
01ab9174da
define win32_lean_and_mean
1998-04-23 16:47:26 +00:00
troy
d504fcfb0c
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
michaelp
e30ecad826
added docs.
1998-04-15 20:25:02 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00