239 Commits

Author SHA1 Message Date
joki%netscape.com
7cb2ba1a65 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
git-svn-id: svn://10.0.0.236/trunk@34378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:38:26 +00:00
bruce%cybersight.com
a534dc1ca7 Explicitly include prinrval.h here. (This will make be needed for some changes coming shortly after M7.)
git-svn-id: svn://10.0.0.236/trunk@33915 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:29:03 +00:00
mcmullen%netscape.com
b31ee1a094 Removed obsolete base.shlb/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@32994 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:40:58 +00:00
kin%netscape.com
18516ebae7 Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.


git-svn-id: svn://10.0.0.236/trunk@32710 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:13:06 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
beard%netscape.com
c7a927daba bugs #5062, #4703: have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@32346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:23:47 +00:00
evaughan%netscape.com
e737c85970 Fixed some visibility bugs in order to make the tab widget work correctly.
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
beard%netscape.com
5ea7452f80 bug #5093: removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead.
git-svn-id: svn://10.0.0.236/trunk@32096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:45:46 +00:00
pierre%netscape.com
0619f79267 Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@32072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 14:37:57 +00:00
pierre%netscape.com
f46fadfca9 #5949 "Frequent resizing of window causes apprunner to stop drawing"
git-svn-id: svn://10.0.0.236/trunk@32070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 13:14:46 +00:00
beard%netscape.com
56efb845cf bug #5093: added widget->Invalidate() calls after changing the position of scrollbar thumb. It may be more appropriate to fix this in nsScrollbar.cpp
git-svn-id: svn://10.0.0.236/trunk@31911 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:40:40 +00:00
bruce%cybersight.com
95689446cf Fix ANSI C++ violation. (a=beard)
git-svn-id: svn://10.0.0.236/trunk@31790 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:53:57 +00:00
pollmann%netscape.com
c51e86bc1c Bug 5746: Check for null.
git-svn-id: svn://10.0.0.236/trunk@31720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:36:39 +00:00
danm%netscape.com
23b438d255 HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844.
git-svn-id: svn://10.0.0.236/trunk@30274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:23:35 +00:00
joki%netscape.com
a158b164ef Adding scrolling fixes to fix bug #3999, A: chofmann
git-svn-id: svn://10.0.0.236/trunk@29867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:38:39 +00:00
kipp%netscape.com
047d0484b8 Do not update views when refresh is disable
git-svn-id: svn://10.0.0.236/trunk@29816 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:09:04 +00:00
pierre%netscape.com
9110b95452 fixed the display of some missing views on Mac (like the CornerView)
git-svn-id: svn://10.0.0.236/trunk@29399 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:34:05 +00:00
troy%netscape.com
9a1dc08b89 Removed #define ALL_VIEW_FLAGS which is no longer used
git-svn-id: svn://10.0.0.236/trunk@29087 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 22:58:14 +00:00
troy%netscape.com
be9de6ec14 Changed Scroll() to check if the scrolled view has the
NS_VIEW_PUBLIC_FLAG_DONT_BITBLT flag set


git-svn-id: svn://10.0.0.236/trunk@29086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 22:49:28 +00:00
troy%netscape.com
d40fa73ba2 Added function GetClipView()
git-svn-id: svn://10.0.0.236/trunk@29020 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:52:58 +00:00
kipp%netscape.com
aa32bf3a94 Removed obsolete include file
git-svn-id: svn://10.0.0.236/trunk@28919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:52:36 +00:00
troy%netscape.com
670ba61106 Made a bunch of nsIView member functions "const"
git-svn-id: svn://10.0.0.236/trunk@28890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:44:48 +00:00
troy%netscape.com
a61ea51499 Changed a comment a little
git-svn-id: svn://10.0.0.236/trunk@28528 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:22:22 +00:00
troy%netscape.com
85cdb24b54 Added NS_VIEW_FLAG_DONT_BITBLT flag
git-svn-id: svn://10.0.0.236/trunk@28527 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:08:27 +00:00
pierre%netscape.com
38e23d0391 expands the width and height independently from each other in GetDrawingSurface
git-svn-id: svn://10.0.0.236/trunk@28225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:03:25 +00:00
kipp%netscape.com
84ae76b1ff Dump refcnts when listing views
git-svn-id: svn://10.0.0.236/trunk@28152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:53 +00:00
kipp%netscape.com
b979076229 Added a missing NS_RELEASE
git-svn-id: svn://10.0.0.236/trunk@28151 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:32 +00:00
michaelp%netscape.com
303a27ec58 a parting shot.
git-svn-id: svn://10.0.0.236/trunk@27912 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:22:45 +00:00
michaelp%netscape.com
bb57830da1 we no longer recurse into clip views. shoot me troy. so long folks.
git-svn-id: svn://10.0.0.236/trunk@27884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:53:53 +00:00
kmcclusk%netscape.com
7102d1ac96 fix for bug#4325. ScrollingView's now manage their component's (mClipView, mHScrollBarView,
mVScrollBarView, mCornerView) visibility when the ScrollingView's visibility changes.


git-svn-id: svn://10.0.0.236/trunk@27877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:18:30 +00:00
michaelp%netscape.com
729aeca8be oops. union works better than intersect...
git-svn-id: svn://10.0.0.236/trunk@27825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:19:45 +00:00
michaelp%netscape.com
5669c172c3 added GetExtents().
git-svn-id: svn://10.0.0.236/trunk@27822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
d8c7e182c0 cleaned up view flags stuff.
git-svn-id: svn://10.0.0.236/trunk@27817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:23:43 +00:00
kipp%netscape.com
e5e9cb1246 Backed out yesterdays change as it broke framesets
git-svn-id: svn://10.0.0.236/trunk@26838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:18:02 +00:00
kipp%netscape.com
7795752bda Fixed not bother repositioning when coordinates don't change
git-svn-id: svn://10.0.0.236/trunk@26761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:00:13 +00:00
joki%netscape.com
9a0d9abb24 Adding spacebar to list of keys that will scroll page.
git-svn-id: svn://10.0.0.236/trunk@26545 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:37:34 +00:00
michaelp%netscape.com
92f6764bcf enabling new compositor.
git-svn-id: svn://10.0.0.236/trunk@26344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:45:32 +00:00
kipp%netscape.com
639a6cdf02 Make SetWidget assertion more particular about when to bomb
git-svn-id: svn://10.0.0.236/trunk@26161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:01:15 +00:00
kipp%netscape.com
ebbae2a494 Removed some compiler warnings...
git-svn-id: svn://10.0.0.236/trunk@26160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:00:56 +00:00
troy%netscape.com
62df50c49d Fix for bug #4317. Changed SetPosition() to call AdjustChildWidgets() with
"this" as the second parameter instead of the scrolled view


git-svn-id: svn://10.0.0.236/trunk@25352 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 05:25:07 +00:00
michaelp%netscape.com
ed7c96c44c added Set/GetLineHeight().
git-svn-id: svn://10.0.0.236/trunk@24524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:25:37 +00:00
michaelp%netscape.com
ab643ac84a ScrollTo() now blits wherever possible.
git-svn-id: svn://10.0.0.236/trunk@24518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:47:08 +00:00
michaelp%netscape.com
bc79a637e9 added APIs for scrolling by page or line.
git-svn-id: svn://10.0.0.236/trunk@24504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:11:35 +00:00
michaelp%netscape.com
53ce63ea80 fixed bug where out of order computation of child view positions and scroll
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.


git-svn-id: svn://10.0.0.236/trunk@24322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
92d0f77a8c made compositor state an enum and macro to trace state transitions
for easier debugging. made offscreen to onscreen blit restricted to the
damage rect. added temporary hack so that new compositor works on linux.


git-svn-id: svn://10.0.0.236/trunk@23765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
0dfa53b698 fixed bug in underflow of state push count in new compositor.
git-svn-id: svn://10.0.0.236/trunk@23493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:31:27 +00:00
michaelp%netscape.com
81f9258975 added nsIClipView.h
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.


git-svn-id: svn://10.0.0.236/trunk@23381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:10:31 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
rods%netscape.com
e0396140b8 Aded check for null parent to fix printing
git-svn-id: svn://10.0.0.236/trunk@22909 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:14:05 +00:00
rods%netscape.com
704f4fa587 Added where a scrolled view sets the widget for the vertical scrollbar
into the window so the window can send the vertical scrollbar the appropriate
message.


git-svn-id: svn://10.0.0.236/trunk@22894 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:41:50 +00:00