179 Commits

Author SHA1 Message Date
troy%netscape.com
3ced68e7e0 Re-ordered the call to SetPosition(0) for the horizontal scrollbar,
because the way it was caused the scrollbar to be enabled when it should
be disabled...


git-svn-id: svn://10.0.0.236/trunk@19417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 05:03:04 +00:00
troy%netscape.com
832f79717f Added GetScrollbarVisibility()
git-svn-id: svn://10.0.0.236/trunk@19409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:31 +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
troy%netscape.com
a02386ecfe Fix for bug #2748. Reset the scroll-position to 0 when the scrollbar
is no longer needed


git-svn-id: svn://10.0.0.236/trunk@19122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 18:42:13 +00:00
michaelp%netscape.com
36e4ee9653 corner view now paints correctly again.
git-svn-id: svn://10.0.0.236/trunk@18956 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:37:16 +00:00
troy%netscape.com
05ab551aaa Changed clip-view to clip sibling windows
git-svn-id: svn://10.0.0.236/trunk@18923 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:07:21 +00:00
michaelp%netscape.com
8b6acf11bf fixed bug where CreateWidget() was called twice for the ClipView and zero
times for the CornerView.


git-svn-id: svn://10.0.0.236/trunk@18903 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:04:43 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
michaelp%netscape.com
a1dbc02252 when a clip is specified for a view, the clip now only affects the
view for which it is specified, not any of it's children or other
views stacked "behind" it.


git-svn-id: svn://10.0.0.236/trunk@17871 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:11:46 +00:00
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