Commit Graph

128 Commits

Author SHA1 Message Date
troy%netscape.com
c59c1ebb94 Changed clip view to have an opacity of 0.0f and no transparent content 1998-10-26 20:53:36 +00:00
troy%netscape.com
1d54745569 Added a XXX comment about what's the correct value for the clip
view's opacity
1998-10-25 04:24:26 +00:00
troy%netscape.com
e065f28fe7 Changed SetScrolledView() to mark the clip view as having transparent content
if the scrolled view has transparent content
1998-10-25 04:15:59 +00:00
michaelp%netscape.com
e415ee4d2c added suport for alpha blending of views. 1998-10-23 17:58:44 +00:00
troy%netscape.com
10ad80b7d3 Made sure Refresh() sets NS_VIEW_FLAG_CLIP_SET so we don't try and set the
clip rect again. If Paint() sets it it will be incorrect...
1998-10-22 18:27:44 +00:00
troy%netscape.com
64234b8160 Added ability to control the insets used when positioning the scrollbars and
clip view
1998-10-21 16:07:55 +00:00
troy%netscape.com
1f1da864fd Added null pointer check in case the root view pointer is null 1998-10-19 22:12:29 +00:00
troy%netscape.com
ccb611db9b Removed some code that's no longer needed now that the frames correctly
compute their size based on any absolutely positioned children they
have
1998-10-19 21:24:53 +00:00
troy%netscape.com
c1ce2eb264 Added GetScrollPosition, removed some XXX comments that I should have
removed before checking in, and added some more documentation
1998-10-19 16:57:27 +00:00
troy%netscape.com
e2b6409d3e Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
troy%netscape.com
72631a7382 Changed UpdateDirtyViews() to clear the dirty region when invalidating
the window. This fixes a problem where some views with widgets, like
scrollbars, that we never receive a NS_PAINT for never cleared the dirty
region
1998-10-16 05:24:35 +00:00
troy%netscape.com
86e66bdd76 Corrected problem that was causing dirty rect to be incorrectly computed
when scrolling is involved
1998-10-16 05:05:09 +00:00
troy%netscape.com
bcb0d2dd19 Removed NS_VMREFRESH_SCREEN_RECT update option 1998-10-15 20:57:43 +00:00
troy%netscape.com
6ad120c16d Changed GetWindowOffsets() to specify the view to check rather than assuming
the root view. This fixes scrolling problems when scrolling views are used
as a sub-view
1998-10-15 05:27:00 +00:00
troy%netscape.com
68659f29d8 Changed it so that we have a dirty region per view with a widget rather
than having just one dirty region. Also changed it so that we stop painting
when we get to a view that has a widget
1998-10-15 04:55:21 +00:00
michaelp%netscape.com
8c37405791 fixed troys' bug with scrolling frames. was actually not related to that, just
tickled a bug in the new compositor code.
1998-10-13 21:27:11 +00:00
michaelp%netscape.com
85cad5bf10 two pass compositing now works. 1998-10-11 01:00:59 +00:00
dcone%netscape.com
70467e4967 Fixed an offset problem 1998-10-07 17:55:57 +00:00
dcone%netscape.com
8199823d72 Fixed a mac problem, a variable scoping problem was fixed in the handle method. 1998-10-07 15:17:27 +00:00
kipp%netscape.com
9d21e25933 Dump client-data too 1998-09-26 17:39:54 +00:00
pierre%netscape.com
6b39e621ef re-enable the scrollbars on Mac, the widgets are now implemented 1998-09-23 09:19:55 +00:00
pierre%netscape.com
aebdc87136 use PR_IntervalNow() for mLastRefresh 1998-09-19 01:39:47 +00:00
kostello%netscape.com
5f33e2d40d Changes implementation to match the new Widget interfaces i.e. t
he signature of many of the "getters" changed.
1998-09-14 20:54:38 +00:00
pierre%netscape.com
590bf92d17 temporarily disable the scrollbars on Mac, waiting for the widgets to be implemented 1998-09-03 06:20:12 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
kostello%netscape.com
f86a9e9223 These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value. 1998-08-31 19:09:55 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com
6cb09b5132 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
michaelp%netscape.com
7686c7ec65 changes to support viewobserver and troy's spankage of the device context. 1998-08-28 03:05:23 +00:00
troy%netscape.com
6d2245e203 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
troy%netscape.com
0d39ae026f Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
michaelp%netscape.com
89a5d9929f killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
the root view. added ability to select painting in view resizing.
1998-08-26 21:24:58 +00:00
michaelp%netscape.com
f2dcddb933 added assert to warn you of recursive painting. 1998-08-19 20:56:52 +00:00
joki%netscape.com
557c476a3e Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents 1998-08-19 05:35:20 +00:00
rods%netscape.com
292e621cb9 Added Page Up, Page Down, Arrow up and Arrow Down key processing. 1998-08-14 21:13:40 +00:00
michaelp%netscape.com
b59035b2ae fixed crash where widgets would return null clientdata because they were going
away, but the view was assuming the clientdata was non-null.
1998-08-13 00:03:41 +00:00
michaelp%netscape.com
aa7f5d1453 we now allocate a single offscreen buffer. 1998-08-12 21:17:52 +00:00
michaelp%netscape.com
02355fbfa6 merged changes from branch. 1998-08-08 19:21:40 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
pierre%netscape.com
8324d3af87 fix build on Windows and Unix 1998-08-05 09:02:52 +00:00
pierre%netscape.com
3ec5da4957 fix build on Mac 1998-08-05 08:23:13 +00:00
pierre%netscape.com
eb16b86a54 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
peterl%netscape.com
f65d571f7b sync to new unit conversion functions 1998-08-01 01:08:36 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
scullin%netscape.com
d850348fc1 Make widget tests work again, normalize widget api on UNIX and Win, and
add start of platform LAF interface.
1998-07-29 18:47:50 +00:00
rods%netscape.com
b449e32a60 Removed a debug printf 1998-07-27 23:30:49 +00:00
rods%netscape.com
c356e95b80 Added drag scrolling, and event processing for mouse events
outside the scrolling view.
1998-07-27 23:14:31 +00:00
michaelp%netscape.com
2c8cb99518 documented GetClipView() API. 1998-07-27 21:30:14 +00:00
troy%netscape.com
7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
michaelp%netscape.com
a017cd9e13 a tiny fix for scrollbars in scrolling views made without a widget association. 1998-07-26 23:32:33 +00:00