169 Commits

Author SHA1 Message Date
sfraser%netscape.com
c1c7c84e7d Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view.
git-svn-id: svn://10.0.0.236/trunk@17388 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:31:56 +00:00
joki%netscape.com
b39d75f877 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp
git-svn-id: svn://10.0.0.236/trunk@17387 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:13: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
michaelp%netscape.com
9708832dd7 the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
in the correct system specified "background" color.


git-svn-id: svn://10.0.0.236/trunk@16704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 06:20:36 +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
sfraser%netscape.com
e324dbae1d Assert on a null widget Ptr
git-svn-id: svn://10.0.0.236/trunk@16488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:56 +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
beard%netscape.com
a4edceb665 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16326 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:01:04 +00:00
sfraser%netscape.com
e86e6a6910 Convert AppleSingle->binary format.
git-svn-id: svn://10.0.0.236/trunk@16118 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:22:27 +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
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
beard%netscape.com
57c4d48cc4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15473 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:14:25 +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
104d6e8c39 missed a source file. added nsView.cpp to project
git-svn-id: svn://10.0.0.236/trunk@15001 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:28:50 +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
jfrancis%netscape.com
91f873177c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14991 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:20 +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