Commit Graph
70 Commits
Author SHA1 Message Date
michaelp 88c5fbc36b killed much hated borders on views... 1998-07-11 06:17:09 +00:00
rpotts e4231e34cc Fixed circular reference problem between the nsScrollingView and its scrollbars... 1998-07-10 23:10:26 +00:00
rpotts 87c58a7c6f Fixed reference counting leak when processing mouse button down events... 1998-07-10 21:44:15 +00:00
michaelp 97c5bf82b0 when a view is the root, it's position will now always be 0, 0. 1998-07-07 21:51:57 +00:00
joki fb5a1b4335 Move scrolling event code into new event handler to keep it out of DOM loop 1998-07-02 01:13:09 +00:00
kipp a6f3e1d5d9 Removed spurious includes of nsIPresShell 1998-06-26 16:23:48 +00:00
michaelp 44f57e12bd 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
joki f923a474f9 Change order of event handling to go children then view, not view then children. 1998-06-23 21:50:30 +00:00
rpotts eb492d06c3 Made the destructors on some XPCOM objects virtual (and protected) to make sure everything gets cleaned up... 1998-06-23 18:44:06 +00:00
michaelp f4ec887d4a killed debug code. 1998-06-23 17:50:19 +00:00
michaelp 20bbd03831 made led prettier. 1998-06-23 17:47:06 +00:00
michaelp 7e87fea97d added ability to set behavior of scrollbars in scrollable views. 1998-06-23 00:53:56 +00:00
spider 115e2046c9 Support for Optimized GC and Regions in Rendering 1998-06-21 07:02:44 +00:00
michaelp 7b590d1aaa added content quality indicator. 1998-06-21 01:23:44 +00:00
michaelp ca6a3ba458 fixed for real. yikes. 1998-06-19 17:44:03 +00:00
spider 1f0b85d7cc Fix previous runtime bustage by placing XP_UNIX ifdef correctly 1998-06-19 05:03:26 +00:00
spider 37245fce73 Unix fix as per mmp 1998-06-19 04:11:01 +00:00
michaelp b91eb5823b painting fixes... 1998-06-19 02:46:25 +00:00
atotic 2fd5bd7001 First Checked In. 1998-06-16 21:39:13 +00:00
michaelp 84dcb11932 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 b696a4e10e Fixes to get viewer to render on Unix 1998-06-16 00:57:33 +00:00
kipp 69d7581289 Made View list a little more helpful about widget size and location 1998-06-04 20:02:30 +00:00
michaelp c29ac63140 made scrolling views more self sufficient. 1998-06-04 02:02:08 +00:00
michaelp a773985a4d added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
michaelp af1a6011b3 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 660f1e80fe fixed bug bug in new region code where region was not Init()ed. 1998-06-03 18:13:12 +00:00
michaelp 814dda4646 added support of irregular damage regions to viewmanager. 1998-06-03 03:12:52 +00:00
michaelp 0027121a99 added additional protection against NULL parent views. 1998-06-02 22:06:29 +00:00
troy 43b97f9324 Added null pointer check for mRootView in Composite() 1998-06-02 21:05:00 +00:00
troy 9e5fc72079 Made damage rect passed to UpdateView() be a const 1998-06-02 05:26:42 +00:00
michaelp 6f3f74085b 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 d971df0090 Added additional parameter to nsIWidget Resize() member functions 1998-06-01 20:26:50 +00:00
karnaze aca36bd07a event improvements 1998-05-29 22:44:13 +00:00
michaelp fc884237bf added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
kipp 220362c658 Including missing nsCoord 1998-05-22 20:11:42 +00:00
michaelp 0f41395819 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 e85b647b27 Added widget specific init structs 1998-05-14 21:34:08 +00:00
michaelp 1c76a8a1c4 made form elements scroll smoothly. added apis to widgets to support this. 1998-05-13 03:39:08 +00:00
kipp 8eb9e7b092 Declare nsIView just in case somebody else doesn't 1998-05-11 22:58:44 +00:00
michaelp ea9b43b8b9 when switching documents, the scrollbars are reset. 1998-05-08 17:50:43 +00:00
michaelp 3a598763c9 we now have horizontal scrolling. 1998-05-08 01:11:57 +00:00
michaelp fb661a6e49 scrolling views are now self-contained. preparations have been made for horizontal scrolling. 1998-05-07 23:07:10 +00:00
michaelp 3c918519d4 API cleanup for images and drawing surfaces. 1998-05-05 22:11:50 +00:00
michaelp 849b2ec908 ResizeView() now does the right thing. 1998-05-05 18:04:56 +00:00
michaelp 3d9cd489ba before releasing the timer in the destructor, we Cancel() the timer per vidur's
suggestion.
1998-05-05 17:29:08 +00:00
michaelp ba145de224 made Composite() API in ViewManager work. 1998-05-04 17:41:57 +00:00
michaelp 95a73ff607 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 4356bda26c added NS_RELEASE() cleanup. 1998-05-01 03:14:03 +00:00
michaelp 13f6451709 fixed various shutdown and linked list management bugs. 1998-05-01 03:13:34 +00:00
michaelp 3abfcf50ff killed erroneous comments. 1998-05-01 03:11:47 +00:00