Commit Graph
142 Commits
Author SHA1 Message Date
rods@netscape.com 127bd53cef Made changes for GetBounds to GetClientBounds conversion 1998-11-04 21:46:00 +00:00
dcone@netscape.com 146daca2cd have a new interface for the blends init 1998-11-04 17:34:19 +00:00
michaelp@netscape.com dd334d990c removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
michaelp@netscape.com 2865b9571e changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
michaelp@netscape.com 07385277ba fixed bug where changing view opacity or transparency would not trigger
a refresh.
1998-11-03 01:49:30 +00:00
michaelp@netscape.com 598f277e57 fixed leak of shared offscreen drawing surface. 1998-11-02 22:35:55 +00:00
michaelp@netscape.com 70e988371d changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
troy@netscape.com ef56b7adf2 Changed Refresh() to use the dimensions of the widget associated with
theview being repainted, rather than the dimensions of the root widget
1998-10-29 19:47:19 +00:00
troy@netscape.com 4f1043d4f9 Fixed positioning of horizontal scrollbar to be inside of the control
rect, and added missing curly braces around if stmt and else clause
1998-10-28 06:12:36 +00:00
cls@seawood.org c85d027d77 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp@netscape.com b8b53c68df fleshed out view manager view clip setting and view depth arrangement methods. 1998-10-27 20:16:09 +00:00
troy@netscape.com f7f6946ede Commented out some code in Init() that was causing problems for the scrolling
view code
1998-10-27 05:57:18 +00:00
michaelp@netscape.com 338e506d2b removed zindex from nsIView::Init(). 1998-10-27 03:36:49 +00:00
troy@netscape.com 1fd54b86c4 Changed UpdateView() to call Update() to synchronoulsy repaint the
dirty area if NS_VMREFRESH_IMMEDIATE is specified
1998-10-27 00:17:54 +00:00
troy@netscape.com bf6c93438a 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 3e0d26987b 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 56da0f635d 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 765967bb27 added suport for alpha blending of views. 1998-10-23 17:58:44 +00:00
troy@netscape.com 15d5be4505 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 6688f63532 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 0067037cb8 Added null pointer check in case the root view pointer is null 1998-10-19 22:12:29 +00:00
troy@netscape.com 3b0b3e24f6 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 1fb9204cd1 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 c3a031b091 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 a34b25ba02 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 63e1766e4e 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 89bd2b0869 Removed NS_VMREFRESH_SCREEN_RECT update option 1998-10-15 20:57:43 +00:00
troy@netscape.com a5bfabab1b 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 d66e7dd71a 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 140e601e88 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 5ec85eaecf two pass compositing now works. 1998-10-11 01:00:59 +00:00
dcone@netscape.com f2e9ba18ed Fixed an offset problem 1998-10-07 17:55:57 +00:00
dcone@netscape.com 628433e105 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 6af212139b Dump client-data too 1998-09-26 17:39:54 +00:00
pierre@netscape.com d499797c3f re-enable the scrollbars on Mac, the widgets are now implemented 1998-09-23 09:19:55 +00:00
pierre@netscape.com 9dc9a9e35b use PR_IntervalNow() for mLastRefresh 1998-09-19 01:39:47 +00:00
kostello@netscape.com 577fdb0945 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 60a926d9bf temporarily disable the scrollbars on Mac, waiting for the widgets to be implemented 1998-09-03 06:20:12 +00:00
warren@netscape.com 10ebd4b998 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
kostello@netscape.com 987b5b8a65 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 47a1f4ce39 Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy@netscape.com d98fa37818 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
michaelp@netscape.com be90ea6c2b changes to support viewobserver and troy's spankage of the device context. 1998-08-28 03:05:23 +00:00
troy@netscape.com bf703c454f Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
troy@netscape.com b8b4950beb Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
michaelp@netscape.com 827926fe55 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 9815de8807 added assert to warn you of recursive painting. 1998-08-19 20:56:52 +00:00
joki@netscape.com b9f58a29d0 Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents 1998-08-19 05:35:20 +00:00
rods@netscape.com 3c30d616cd Added Page Up, Page Down, Arrow up and Arrow Down key processing. 1998-08-14 21:13:40 +00:00
michaelp@netscape.com 303a6c29db 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