michaelp%netscape.com
92f6764bcf
enabling new compositor.
...
git-svn-id: svn://10.0.0.236/trunk@26344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:45:32 +00:00
kipp%netscape.com
ebbae2a494
Removed some compiler warnings...
...
git-svn-id: svn://10.0.0.236/trunk@26160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:00:56 +00:00
michaelp%netscape.com
53ce63ea80
fixed bug where out of order computation of child view positions and scroll
...
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.
git-svn-id: svn://10.0.0.236/trunk@24322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
92d0f77a8c
made compositor state an enum and macro to trace state transitions
...
for easier debugging. made offscreen to onscreen blit restricted to the
damage rect. added temporary hack so that new compositor works on linux.
git-svn-id: svn://10.0.0.236/trunk@23765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
0dfa53b698
fixed bug in underflow of state push count in new compositor.
...
git-svn-id: svn://10.0.0.236/trunk@23493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:31:27 +00:00
michaelp%netscape.com
81f9258975
added nsIClipView.h
...
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.
git-svn-id: svn://10.0.0.236/trunk@23381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:10:31 +00:00
warren%netscape.com
0b33372d99
nsRepository -> nsIComponentManager changes.
...
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
michaelp%netscape.com
3b152094ca
added return code check WRT off screen surface allocation.
...
part of mac fixes.
git-svn-id: svn://10.0.0.236/trunk@22820 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:43:06 +00:00
michaelp%netscape.com
fe37951134
work in progress for new compositor.
...
git-svn-id: svn://10.0.0.236/trunk@21936 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:44:45 +00:00
michaelp%netscape.com
d1f2203c7c
added unknown content quality. fixed potential crash because of bug in timer
...
code. now uses rootscrollable for all scrollable view notifications.
git-svn-id: svn://10.0.0.236/trunk@20823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
2c3dc317a4
turned off timers when our damage count goes to zero.
...
git-svn-id: svn://10.0.0.236/trunk@20757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 02:25:20 +00:00
michaelp%netscape.com
1b2aa59d45
added Get/SetScrollableRoot() to nsIViewManager. fixed bug where maximizing
...
window would cause junk to be shown below/to the right of the real content
if the document was scrolled towards bottom/right. fixed flashing scrollbar
problem. made quality control work again.
git-svn-id: svn://10.0.0.236/trunk@20751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:57:06 +00:00
michaelp%netscape.com
9548d7fa85
work in progress for new compositor. not currently enabled, so it won't
...
affect anyone else. killed Paint() method of scrolling view since it
no longer does anything useful. made view manager destructor protected to
eliminate gcc warnings.
git-svn-id: svn://10.0.0.236/trunk@19406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:12:21 +00:00
joki%netscape.com
f85ee98763
Modifying view event flow to always start processing from top view, not enter at children
...
git-svn-id: svn://10.0.0.236/trunk@19215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:45:59 +00:00
pierre%netscape.com
1a1dd95f2b
Improve performance on Mac: disable the Composite timer (temporary code - see comments)
...
git-svn-id: svn://10.0.0.236/trunk@16729 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:15:41 +00:00
pierre%netscape.com
d644ebc792
Enable double buffering on Mac
...
git-svn-id: svn://10.0.0.236/trunk@16662 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:33:55 +00:00
michaelp%netscape.com
72b9fbb09b
we not put the responsibility for managing damage regions into the widget
...
code instead of doing it in the viewmanager. this allows us to paint much
more optimally.
git-svn-id: svn://10.0.0.236/trunk@16417 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:47:25 +00:00
troy%netscape.com
dcfe7f9e75
Added additional parameter to Display() for specifying which view
...
should be displayed
git-svn-id: svn://10.0.0.236/trunk@15902 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:44:57 +00:00
pierre%netscape.com
11b0da96a2
temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
...
git-svn-id: svn://10.0.0.236/trunk@15871 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:25 +00:00
troy%netscape.com
9fad935195
Changed InsertChild() to use <= (instead of <) for zindex check, and changed
...
iteration to use sibling pointers
git-svn-id: svn://10.0.0.236/trunk@15800 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:28:52 +00:00
michaelp%netscape.com
e0cadc24c9
fixed bug where a view with opacity set to 0.0f would cause the area where it
...
is to never be drawn.
git-svn-id: svn://10.0.0.236/trunk@14910 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:50:28 +00:00
michaelp%netscape.com
1f112558cd
changes to support printing.
...
git-svn-id: svn://10.0.0.236/trunk@14649 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:58:34 +00:00
rods%netscape.com
f3596d389e
Made changes for GetBounds to GetClientBounds conversion
...
git-svn-id: svn://10.0.0.236/trunk@14104 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:46:00 +00:00
michaelp%netscape.com
d8f18ce4e4
fixed bug where changing view opacity or transparency would not trigger
...
a refresh.
git-svn-id: svn://10.0.0.236/trunk@13948 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:49:30 +00:00
michaelp%netscape.com
d3752ac63b
fixed leak of shared offscreen drawing surface.
...
git-svn-id: svn://10.0.0.236/trunk@13924 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:35:55 +00:00
michaelp%netscape.com
29bd495725
changes to support nsIRenderingContext that conforms to COM conventions.
...
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
troy%netscape.com
699f7b273a
Changed Refresh() to use the dimensions of the widget associated with
...
theview being repainted, rather than the dimensions of the root widget
git-svn-id: svn://10.0.0.236/trunk@13662 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:47:19 +00:00
michaelp%netscape.com
2e593ad30b
fleshed out view manager view clip setting and view depth arrangement methods.
...
git-svn-id: svn://10.0.0.236/trunk@13569 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 20:16:09 +00:00
troy%netscape.com
1e340bcd24
Changed UpdateView() to call Update() to synchronoulsy repaint the
...
dirty area if NS_VMREFRESH_IMMEDIATE is specified
git-svn-id: svn://10.0.0.236/trunk@13525 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:17:54 +00:00
michaelp%netscape.com
27d276091a
added suport for alpha blending of views.
...
git-svn-id: svn://10.0.0.236/trunk@13384 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:58:44 +00:00
troy%netscape.com
30d672124d
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...
git-svn-id: svn://10.0.0.236/trunk@13310 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 18:27:44 +00:00
troy%netscape.com
e8c1c880f1
Added ability to control the insets used when positioning the scrollbars and
...
clip view
git-svn-id: svn://10.0.0.236/trunk@13258 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:07:55 +00:00
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