Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
michaelp%netscape.com 6f7deed7e4 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 a5066c14af 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
cls%seawood.org 609f087498 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp%netscape.com e0c8e417a5 fleshed out view manager view clip setting and view depth arrangement methods. 1998-10-27 20:16:09 +00:00
michaelp%netscape.com 59a621f4b3 removed zindex from nsIView::Init(). 1998-10-27 03:36:49 +00:00
troy%netscape.com 13b406d986 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 0e83a1ba39 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 f5ed70ca69 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 0ede4514df Removed NS_VMREFRESH_SCREEN_RECT update option 1998-10-15 20:57:43 +00:00
troy%netscape.com f4f34febf4 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 cb1f553721 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 0a0da13d2b two pass compositing now works. 1998-10-11 01:00:59 +00:00
troy%netscape.com 715766b02f Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com a72700df68 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
michaelp%netscape.com f1fba56cbb changes to support viewobserver and troy's spankage of the device context. 1998-08-28 03:05:23 +00:00
michaelp%netscape.com eab3862f9e 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
joki%netscape.com a3d9156246 Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents 1998-08-19 05:35:20 +00:00
troy%netscape.com 4b212c0467 Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
michaelp%netscape.com 44636707c4 documented GetClipView() API. 1998-07-27 21:30:14 +00:00
michaelp%netscape.com c35d9371ee form elements, etc. (i.e. sub widgets) now scroll smoothly. 1998-07-26 04:24:42 +00:00
michaelp%netscape.com 1e09120c96 re-added optimization with the ability to use it anywhere by setting the
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().
1998-07-24 21:49:02 +00:00
michaelp%netscape.com 8fd323a89b added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
kipp%netscape.com c549a5d441 Added ScrollTo method 1998-07-22 23:39:23 +00:00
michaelp f660a2b2b2 when a view is the root, it's position will now always be 0, 0. 1998-07-07 21:51:57 +00:00
michaelp e183f05efb added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
michaelp 7dda210d32 added ability to set behavior of scrollbars in scrollable views. 1998-06-23 00:53:56 +00:00
michaelp 2a932c4016 added content quality indicator. 1998-06-21 01:23:44 +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
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 d039ec90ae added support of irregular damage regions to viewmanager. 1998-06-03 03:12:52 +00:00
troy c6bc27af0c Made damage rect passed to UpdateView() be a const 1998-06-02 05:26:42 +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
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 61b60abf2b scrolling views are now self-contained. preparations have been made for horizontal scrolling. 1998-05-07 23:07:10 +00:00
michaelp b9e66e9abf killed erroneous comments. 1998-05-01 03:11:47 +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 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 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 910ec9d38b changed SetContainerSize() to ComputeContainerSize(). 1998-04-23 23:21:37 +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