150 Commits

Author SHA1 Message Date
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
3fbc2c9f07 updated for new blending API.
git-svn-id: svn://10.0.0.236/trunk@15491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:16:14 +00:00
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
michaelp%netscape.com
05a6bdf469 fixed bug where computing *need* for vert/horz scrollbar did not take into
account the fact that there might be a need for the other scrollbar too.
it used to be that if it knew that it *did* need a vert/horz scrollbar it
would take the other one into account properly. it was just in making the
initial decision that there was an error.


git-svn-id: svn://10.0.0.236/trunk@15290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:32:00 +00:00
michaelp%netscape.com
6313915e19 reduced scollbar flashing.
git-svn-id: svn://10.0.0.236/trunk@15196 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
6ca45d2e06 backout changes i didn't want to commit.
git-svn-id: svn://10.0.0.236/trunk@15195 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
ddee55a0ed fixed display of black or garbage when resizing scrolled scrollingviews.
git-svn-id: svn://10.0.0.236/trunk@15194 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:43:08 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
jfrancis%netscape.com
afed7afdb1 mac shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:56 +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
bff62c7d82 fixed problem with vertical scrollbar not always appearing.
git-svn-id: svn://10.0.0.236/trunk@14744 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:42:53 +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
vidur%netscape.com
a9e72c3c46 Temporary fix when scroll frame is created unsized. The real fix will come from michaelp.
git-svn-id: svn://10.0.0.236/trunk@14573 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:50:24 +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
dcone%netscape.com
6b177d62cb have a new interface for the blends init
git-svn-id: svn://10.0.0.236/trunk@14082 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 17:34:19 +00:00
michaelp%netscape.com
43acfe6cc5 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.


git-svn-id: svn://10.0.0.236/trunk@14036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
fd21a37d46 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.


git-svn-id: svn://10.0.0.236/trunk@13955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:36:36 +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
troy%netscape.com
36841b7bfb Fixed positioning of horizontal scrollbar to be inside of the control
rect, and added missing curly braces around if stmt and else clause


git-svn-id: svn://10.0.0.236/trunk@13601 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 06:12:36 +00:00
cls%seawood.org
08a6bbac38 New autoconf files for nglayout
git-svn-id: svn://10.0.0.236/trunk@13594 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:53:57 +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
74701acb12 Commented out some code in Init() that was causing problems for the scrolling
view code


git-svn-id: svn://10.0.0.236/trunk@13550 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 05:57:18 +00:00
michaelp%netscape.com
331c0397cf removed zindex from nsIView::Init().
git-svn-id: svn://10.0.0.236/trunk@13541 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:36:49 +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
troy%netscape.com
5129708072 Changed clip view to have an opacity of 0.0f and no transparent content
git-svn-id: svn://10.0.0.236/trunk@13476 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:53:36 +00:00
troy%netscape.com
a34949bc86 Added a XXX comment about what's the correct value for the clip
view's opacity


git-svn-id: svn://10.0.0.236/trunk@13419 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:24:26 +00:00
troy%netscape.com
af673cd536 Changed SetScrolledView() to mark the clip view as having transparent content
if the scrolled view has transparent content


git-svn-id: svn://10.0.0.236/trunk@13418 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:15:59 +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
97d2ab236b Removed some code that's no longer needed now that the frames correctly
compute their size based on any absolutely positioned children they
have


git-svn-id: svn://10.0.0.236/trunk@13125 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:24:53 +00:00
troy%netscape.com
41e4edcfca Added GetScrollPosition, removed some XXX comments that I should have
removed before checking in, and added some more documentation


git-svn-id: svn://10.0.0.236/trunk@13089 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 16:57:27 +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
dcone%netscape.com
8c80a91e55 Fixed an offset problem
git-svn-id: svn://10.0.0.236/trunk@12201 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 17:55:57 +00:00
dcone%netscape.com
b93d1f46fc Fixed a mac problem, a variable scoping problem was fixed in the handle method.
git-svn-id: svn://10.0.0.236/trunk@12195 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:17:27 +00:00
kipp%netscape.com
98c2ef3acc Dump client-data too
git-svn-id: svn://10.0.0.236/trunk@11160 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:39:54 +00:00
pierre%netscape.com
88c6e0ec95 re-enable the scrollbars on Mac, the widgets are now implemented
git-svn-id: svn://10.0.0.236/trunk@10790 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:19:55 +00:00