troy%netscape.com
736eb04028
Added null pointer check in case the root view pointer is null
...
git-svn-id: svn://10.0.0.236/trunk@13132 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 22:12:29 +00:00
troy%netscape.com
e2209a9a18
Changed scrolling view to use a clip view and to slide the scrolled
...
view up and down rather than maintain a logical scrolled offset
git-svn-id: svn://10.0.0.236/trunk@13080 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 00:44:28 +00:00
troy%netscape.com
51e192b3b4
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
git-svn-id: svn://10.0.0.236/trunk@12978 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:24:35 +00:00
troy%netscape.com
2434bb767c
Corrected problem that was causing dirty rect to be incorrectly computed
...
when scrolling is involved
git-svn-id: svn://10.0.0.236/trunk@12975 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:05:09 +00:00
troy%netscape.com
3ab42497ba
Removed NS_VMREFRESH_SCREEN_RECT update option
...
git-svn-id: svn://10.0.0.236/trunk@12919 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:57:43 +00:00
troy%netscape.com
5d7a8e9edc
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
git-svn-id: svn://10.0.0.236/trunk@12869 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:27:00 +00:00
troy%netscape.com
35c48dd63c
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
git-svn-id: svn://10.0.0.236/trunk@12865 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 04:55:21 +00:00
michaelp%netscape.com
75b9d4a08c
fixed troys' bug with scrolling frames. was actually not related to that, just
...
tickled a bug in the new compositor code.
git-svn-id: svn://10.0.0.236/trunk@12734 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:27:11 +00:00
michaelp%netscape.com
a532925345
two pass compositing now works.
...
git-svn-id: svn://10.0.0.236/trunk@12536 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 01:00:59 +00:00
pierre%netscape.com
55be47f4b9
use PR_IntervalNow() for mLastRefresh
...
git-svn-id: svn://10.0.0.236/trunk@10469 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:39:47 +00:00
warren%netscape.com
d623edaca1
Renamed NSRepository to nsRepository.
...
git-svn-id: svn://10.0.0.236/trunk@8922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:26:28 +00:00
troy%netscape.com
fd0d7ccb59
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
git-svn-id: svn://10.0.0.236/trunk@8848 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 19:16:11 +00:00
troy%netscape.com
e9e900374e
Changed nsIViewManager interface to conform to XPCOM conventions
...
git-svn-id: svn://10.0.0.236/trunk@8681 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 04:56:56 +00:00
michaelp%netscape.com
6702cf7961
changes to support viewobserver and troy's spankage of the device context.
...
git-svn-id: svn://10.0.0.236/trunk@8676 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 03:05:23 +00:00
troy%netscape.com
9b42ea4cb1
Changed nsIDeviceContext interface to conform [more] with COM conventions
...
git-svn-id: svn://10.0.0.236/trunk@8597 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:05:03 +00:00
michaelp%netscape.com
c6b1a0acee
killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
...
the root view. added ability to select painting in view resizing.
git-svn-id: svn://10.0.0.236/trunk@8553 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:24:58 +00:00
michaelp%netscape.com
0f6556178c
added assert to warn you of recursive painting.
...
git-svn-id: svn://10.0.0.236/trunk@8201 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:56:52 +00:00
joki%netscape.com
f300c374d7
Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
...
git-svn-id: svn://10.0.0.236/trunk@8181 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 05:35:20 +00:00
michaelp%netscape.com
245e23bf94
we now allocate a single offscreen buffer.
...
git-svn-id: svn://10.0.0.236/trunk@7872 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:17:52 +00:00
troy%netscape.com
06a522099a
Change to object lifetime management. Views are no longer ref counted
...
git-svn-id: svn://10.0.0.236/trunk@7605 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:23:33 +00:00
peterl%netscape.com
ac2ec1a340
rounding support
...
git-svn-id: svn://10.0.0.236/trunk@6999 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:34:45 +00:00
michaelp%netscape.com
fa4330329c
form elements, etc. (i.e. sub widgets) now scroll smoothly.
...
git-svn-id: svn://10.0.0.236/trunk@6494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:24:42 +00:00
michaelp%netscape.com
d6b827040d
re-added optimization with the ability to use it anywhere by setting the
...
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().
git-svn-id: svn://10.0.0.236/trunk@6421 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
b8cc27a234
added APIs to viewmanager to enable and disable all rendering.
...
made Refresh() APIs of viewmanager implementation private.
git-svn-id: svn://10.0.0.236/trunk@6417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:50 +00:00
troy%netscape.com
4a9451f206
Changed MoveViewTo() so it doesn't do any painting unless the
...
origin actually changes
git-svn-id: svn://10.0.0.236/trunk@6226 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:21:05 +00:00
kipp
49464f4fc7
Removed spurious includes of nsIPresShell
...
git-svn-id: svn://10.0.0.236/trunk@4581 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:23:48 +00:00
michaelp
0c5cf13fbb
added content quality indicator.
...
git-svn-id: svn://10.0.0.236/trunk@4203 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 01:23:44 +00:00
michaelp
103248f21c
painting fixes...
...
git-svn-id: svn://10.0.0.236/trunk@4129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 02:46:25 +00:00
michaelp
3e60e0bb89
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.
git-svn-id: svn://10.0.0.236/trunk@3893 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:05:42 +00:00
spider
b6b71a9c97
Fixes to get viewer to render on Unix
...
git-svn-id: svn://10.0.0.236/trunk@3847 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:33 +00:00
michaelp
225ca0d6a6
made scrolling views more self sufficient.
...
git-svn-id: svn://10.0.0.236/trunk@3156 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 02:02:08 +00:00
michaelp
ee11b8ede1
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
git-svn-id: svn://10.0.0.236/trunk@3126 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:49:45 +00:00
michaelp
3118124379
fixed bug bug in new region code where region was not Init()ed.
...
git-svn-id: svn://10.0.0.236/trunk@3078 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:13:12 +00:00
michaelp
6dabba1783
added support of irregular damage regions to viewmanager.
...
git-svn-id: svn://10.0.0.236/trunk@2999 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:12:52 +00:00
michaelp
8415266052
added additional protection against NULL parent views.
...
git-svn-id: svn://10.0.0.236/trunk@2960 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:06:29 +00:00
troy
b706f86e4e
Added null pointer check for mRootView in Composite()
...
git-svn-id: svn://10.0.0.236/trunk@2949 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:05:00 +00:00
troy
0c4dc6781c
Made damage rect passed to UpdateView() be a const
...
git-svn-id: svn://10.0.0.236/trunk@2916 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:26:42 +00:00
michaelp
a0d49e1458
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.
git-svn-id: svn://10.0.0.236/trunk@2852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:02:02 +00:00
michaelp
d4e2a5a20c
added support for front-to-back view rendering.
...
git-svn-id: svn://10.0.0.236/trunk@2325 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:13:28 +00:00
michaelp
1fd6c53148
killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
...
modified APIs that had been referring to nsRegion to use nsIRegion.
git-svn-id: svn://10.0.0.236/trunk@1852 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:46:20 +00:00
michaelp
5f4ea5859a
when switching documents, the scrollbars are reset.
...
git-svn-id: svn://10.0.0.236/trunk@1312 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:50:43 +00:00
michaelp
5dd9734a48
scrolling views are now self-contained. preparations have been made for horizontal scrolling.
...
git-svn-id: svn://10.0.0.236/trunk@1261 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:07:10 +00:00
michaelp
96769227de
API cleanup for images and drawing surfaces.
...
git-svn-id: svn://10.0.0.236/trunk@1161 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:11:50 +00:00
michaelp
5c52551637
ResizeView() now does the right thing.
...
git-svn-id: svn://10.0.0.236/trunk@1137 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:04:56 +00:00
michaelp
8796e9dab3
before releasing the timer in the destructor, we Cancel() the timer per vidur's
...
suggestion.
git-svn-id: svn://10.0.0.236/trunk@1134 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 17:29:08 +00:00
michaelp
f9b8d8ed34
made Composite() API in ViewManager work.
...
git-svn-id: svn://10.0.0.236/trunk@1095 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:41:57 +00:00
michaelp
4d46f24a23
InsertChild() with a zindex now does the right thing.
...
RemoveChild() now invalidates the area where the view was.
added NS_RELEASE() cleanup.
git-svn-id: svn://10.0.0.236/trunk@975 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:15:31 +00:00
michaelp
228526d605
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.
git-svn-id: svn://10.0.0.236/trunk@893 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 02:41:14 +00:00
michaelp
c7d6535311
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.
git-svn-id: svn://10.0.0.236/trunk@784 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 19:16:24 +00:00
michaelp
e0f3643ffe
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.
git-svn-id: svn://10.0.0.236/trunk@721 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 23:51:57 +00:00