pierre%netscape.com
d19eff3089
expands the width and height independently from each other in GetDrawingSurface
1999-04-20 04:03:25 +00:00
kipp%netscape.com
38cee10456
Dump refcnts when listing views
1999-04-19 23:22:53 +00:00
kipp%netscape.com
3addd96216
Added a missing NS_RELEASE
1999-04-19 23:22:32 +00:00
michaelp%netscape.com
710117681b
a parting shot.
1999-04-16 21:22:45 +00:00
michaelp%netscape.com
75ba17665d
we no longer recurse into clip views. shoot me troy. so long folks.
1999-04-16 19:53:53 +00:00
kmcclusk%netscape.com
db9cff3749
fix for bug#4325. ScrollingView's now manage their component's (mClipView, mHScrollBarView,
...
mVScrollBarView, mCornerView) visibility when the ScrollingView's visibility changes.
1999-04-16 19:18:30 +00:00
michaelp%netscape.com
bb5128d844
oops. union works better than intersect...
1999-04-16 05:19:45 +00:00
michaelp%netscape.com
8a29649a56
added GetExtents().
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
bda045ca40
cleaned up view flags stuff.
1999-04-16 04:23:43 +00:00
kipp%netscape.com
385b1f4293
Backed out yesterdays change as it broke framesets
1999-04-08 23:18:02 +00:00
kipp%netscape.com
ee52f8eb41
Fixed not bother repositioning when coordinates don't change
1999-04-08 00:00:13 +00:00
joki%netscape.com
10e31a105f
Adding spacebar to list of keys that will scroll page.
1999-04-06 21:37:34 +00:00
michaelp%netscape.com
f73e02a9d0
enabling new compositor.
1999-04-05 22:45:32 +00:00
kipp%netscape.com
e8646e33a2
Make SetWidget assertion more particular about when to bomb
1999-04-03 19:01:15 +00:00
kipp%netscape.com
b87b244e39
Removed some compiler warnings...
1999-04-03 19:00:56 +00:00
troy%netscape.com
86e1f2ed4f
Fix for bug #4317 . Changed SetPosition() to call AdjustChildWidgets() with
...
"this" as the second parameter instead of the scrolled view
1999-03-28 05:25:07 +00:00
michaelp%netscape.com
3999fe2688
added Set/GetLineHeight().
1999-03-20 01:25:37 +00:00
michaelp%netscape.com
0876709514
ScrollTo() now blits wherever possible.
1999-03-20 00:47:08 +00:00
michaelp%netscape.com
59c8f9b691
added APIs for scrolling by page or line.
1999-03-20 00:11:35 +00:00
michaelp%netscape.com
a536bf85ef
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.
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
1980bf33d4
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.
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
0e12b10231
fixed bug in underflow of state push count in new compositor.
1999-03-10 05:31:27 +00:00
michaelp%netscape.com
d59a66c386
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.
1999-03-09 22:10:31 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
rods%netscape.com
2d8d9dd7ba
Aded check for null parent to fix printing
1999-03-05 20:14:05 +00:00
rods%netscape.com
3fe47219f1
Added where a scrolled view sets the widget for the vertical scrollbar
...
into the window so the window can send the vertical scrollbar the appropriate
message.
1999-03-05 15:41:50 +00:00
michaelp%netscape.com
bad7100d33
added return code check WRT off screen surface allocation.
...
part of mac fixes.
1999-03-05 01:43:06 +00:00
joki%netscape.com
efafc46414
Fix for frames not resizing.
1999-03-03 01:59:50 +00:00
kmcclusk%netscape.com
52afc44421
gfx vs native widget rendering can now be specified in the viewer at run-time.
...
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
kipp%netscape.com
fa71722cc2
use macro to get operator new correct
1999-02-26 19:57:18 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
sfraser%netscape.com
d847eb7428
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
michaelp%netscape.com
404485956b
work in progress for new compositor.
1999-02-25 18:44:45 +00:00
michaelp%netscape.com
abc0a250c7
added unknown content quality. fixed potential crash because of bug in timer
...
code. now uses rootscrollable for all scrollable view notifications.
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
b7b48568ee
turned off timers when our damage count goes to zero.
1999-02-16 02:25:20 +00:00
michaelp%netscape.com
fd60616dc3
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.
1999-02-16 00:57:06 +00:00
troy%netscape.com
c5c7f2f3a2
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...
1999-02-03 05:03:04 +00:00
troy%netscape.com
0068780d65
Added GetScrollbarVisibility()
1999-02-03 04:25:31 +00:00
michaelp%netscape.com
e9df6a8f2c
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.
1999-02-03 04:12:21 +00:00
joki%netscape.com
66e96113d0
Modifying view event flow to always start processing from top view, not enter at children
1999-02-01 22:45:59 +00:00
troy%netscape.com
13b540579b
Fix for bug #2748 . Reset the scroll-position to 0 when the scrollbar
...
is no longer needed
1999-01-31 18:42:13 +00:00
michaelp%netscape.com
5fa3b5fa18
corner view now paints correctly again.
1999-01-28 22:37:16 +00:00
troy%netscape.com
45449ef5a0
Changed clip-view to clip sibling windows
1999-01-28 17:07:21 +00:00
michaelp%netscape.com
c60567f267
fixed bug where CreateWidget() was called twice for the ClipView and zero
...
times for the CornerView.
1999-01-28 05:04:43 +00:00
sudu%netscape.com
6624efe2b9
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
michaelp%netscape.com
531901380e
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.
1999-01-15 22:11:46 +00:00
sfraser%netscape.com
eb4fe9d22a
Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view.
1999-01-08 21:31:56 +00:00
joki%netscape.com
f449cdd75c
Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp
1999-01-08 21:13:59 +00:00
pierre%netscape.com
2ecbb0d6c5
Improve performance on Mac: disable the Composite timer (temporary code - see comments)
1998-12-20 13:15:41 +00:00
michaelp%netscape.com
de47a746ca
the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
...
in the correct system specified "background" color.
1998-12-19 06:20:36 +00:00
pierre%netscape.com
b663c8851a
Enable double buffering on Mac
1998-12-18 13:33:55 +00:00
sfraser%netscape.com
1d96f8cb32
Assert on a null widget Ptr
1998-12-16 03:37:56 +00:00
michaelp%netscape.com
906468f97f
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.
1998-12-15 05:47:25 +00:00
beard%netscape.com
48c16d8ad3
First Checked In.
1998-12-13 05:01:04 +00:00
sfraser%netscape.com
3a4008a62e
Convert AppleSingle->binary format.
1998-12-10 03:22:27 +00:00
troy%netscape.com
e3646613dc
Added additional parameter to Display() for specifying which view
...
should be displayed
1998-12-07 03:44:57 +00:00
pierre%netscape.com
34127314ce
temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
1998-12-06 00:37:25 +00:00
ramiro%netscape.com
2009b728de
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
troy%netscape.com
0949b46113
Changed InsertChild() to use <= (instead of <) for zindex check, and changed
...
iteration to use sibling pointers
1998-12-04 21:28:52 +00:00
michaelp%netscape.com
9f53d52bab
updated for new blending API.
1998-12-01 02:16:14 +00:00
beard%netscape.com
c62b49cafc
Mac shared library migration.
1998-11-30 22:15:00 +00:00
beard%netscape.com
2faa7db95c
First Checked In.
1998-11-30 22:14:25 +00:00
michaelp%netscape.com
f7e81dd421
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.
1998-11-25 03:32:00 +00:00
michaelp%netscape.com
bd4729c507
reduced scollbar flashing.
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
01479089ad
backout changes i didn't want to commit.
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
9563673e24
fixed display of black or garbage when resizing scrolled scrollingviews.
1998-11-23 23:43:08 +00:00
cyeh%netscape.com
e9d3c67427
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 .
1998-11-21 00:34:32 +00:00
jfrancis%netscape.com
908a54558d
missed a source file. added nsView.cpp to project
1998-11-20 06:28:50 +00:00
jfrancis%netscape.com
0130b28843
mac shared lib conversion, phase 1
1998-11-20 05:02:56 +00:00
jfrancis%netscape.com
ee48b33e38
First Checked In.
1998-11-20 05:02:20 +00:00
michaelp%netscape.com
bcf31ddf48
fixed bug where a view with opacity set to 0.0f would cause the area where it
...
is to never be drawn.
1998-11-18 23:50:28 +00:00
michaelp%netscape.com
664a1d2168
fixed problem with vertical scrollbar not always appearing.
1998-11-16 19:42:53 +00:00
michaelp%netscape.com
d7d8293d07
changes to support printing.
1998-11-14 01:58:34 +00:00
vidur%netscape.com
ae7eceb3a7
Temporary fix when scroll frame is created unsized. The real fix will come from michaelp.
1998-11-13 02:50:24 +00:00
rods%netscape.com
afacf49404
Made changes for GetBounds to GetClientBounds conversion
1998-11-04 21:46:00 +00:00
dcone%netscape.com
710c68374e
have a new interface for the blends init
1998-11-04 17:34:19 +00:00
michaelp%netscape.com
6f7deed7e4
removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
...
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
a5066c14af
changed nsIView::Init() so that it no longer takes an opacity value. this
...
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
michaelp%netscape.com
a0d0cd2356
fixed bug where changing view opacity or transparency would not trigger
...
a refresh.
1998-11-03 01:49:30 +00:00
michaelp%netscape.com
4c9ea4d214
fixed leak of shared offscreen drawing surface.
1998-11-02 22:35:55 +00:00
michaelp%netscape.com
10921d7b0b
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
troy%netscape.com
ce0bf2910d
Changed Refresh() to use the dimensions of the widget associated with
...
theview being repainted, rather than the dimensions of the root widget
1998-10-29 19:47:19 +00:00
troy%netscape.com
fd7b072c02
Fixed positioning of horizontal scrollbar to be inside of the control
...
rect, and added missing curly braces around if stmt and else clause
1998-10-28 06:12:36 +00:00
cls%seawood.org
609f087498
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
michaelp%netscape.com
e0c8e417a5
fleshed out view manager view clip setting and view depth arrangement methods.
1998-10-27 20:16:09 +00:00
troy%netscape.com
ca66751e5c
Commented out some code in Init() that was causing problems for the scrolling
...
view code
1998-10-27 05:57:18 +00:00
michaelp%netscape.com
59a621f4b3
removed zindex from nsIView::Init().
1998-10-27 03:36:49 +00:00
troy%netscape.com
4bcc057747
Changed UpdateView() to call Update() to synchronoulsy repaint the
...
dirty area if NS_VMREFRESH_IMMEDIATE is specified
1998-10-27 00:17:54 +00:00
troy%netscape.com
b56e92ddd3
Changed clip view to have an opacity of 0.0f and no transparent content
1998-10-26 20:53:36 +00:00
troy%netscape.com
b69f65d86f
Added a XXX comment about what's the correct value for the clip
...
view's opacity
1998-10-25 04:24:26 +00:00
troy%netscape.com
bb56c9e394
Changed SetScrolledView() to mark the clip view as having transparent content
...
if the scrolled view has transparent content
1998-10-25 04:15:59 +00:00
michaelp%netscape.com
6680a58837
added suport for alpha blending of views.
1998-10-23 17:58:44 +00:00
troy%netscape.com
4202cd291f
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...
1998-10-22 18:27:44 +00:00
troy%netscape.com
13b406d986
Added ability to control the insets used when positioning the scrollbars and
...
clip view
1998-10-21 16:07:55 +00:00
troy%netscape.com
cb06cb59b4
Added null pointer check in case the root view pointer is null
1998-10-19 22:12:29 +00:00
troy%netscape.com
1df46fc4fb
Removed some code that's no longer needed now that the frames correctly
...
compute their size based on any absolutely positioned children they
have
1998-10-19 21:24:53 +00:00
troy%netscape.com
0e83a1ba39
Added GetScrollPosition, removed some XXX comments that I should have
...
removed before checking in, and added some more documentation
1998-10-19 16:57:27 +00:00
troy%netscape.com
f5ed70ca69
Changed scrolling view to use a clip view and to slide the scrolled
...
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
troy%netscape.com
bf8a146224
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
1998-10-16 05:24:35 +00:00
troy%netscape.com
b20f78a312
Corrected problem that was causing dirty rect to be incorrectly computed
...
when scrolling is involved
1998-10-16 05:05:09 +00:00
troy%netscape.com
0ede4514df
Removed NS_VMREFRESH_SCREEN_RECT update option
1998-10-15 20:57:43 +00:00
troy%netscape.com
f4f34febf4
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
1998-10-15 05:27:00 +00:00
troy%netscape.com
cb1f553721
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
1998-10-15 04:55:21 +00:00
michaelp%netscape.com
9fd43c32c1
fixed troys' bug with scrolling frames. was actually not related to that, just
...
tickled a bug in the new compositor code.
1998-10-13 21:27:11 +00:00
michaelp%netscape.com
0a0da13d2b
two pass compositing now works.
1998-10-11 01:00:59 +00:00
dcone%netscape.com
6d0cc55fb3
Fixed an offset problem
1998-10-07 17:55:57 +00:00
dcone%netscape.com
f4e4de9088
Fixed a mac problem, a variable scoping problem was fixed in the handle method.
1998-10-07 15:17:27 +00:00
kipp%netscape.com
1653f4f2a1
Dump client-data too
1998-09-26 17:39:54 +00:00
pierre%netscape.com
10ca96d0b2
re-enable the scrollbars on Mac, the widgets are now implemented
1998-09-23 09:19:55 +00:00
pierre%netscape.com
df0e0f4fd8
use PR_IntervalNow() for mLastRefresh
1998-09-19 01:39:47 +00:00
kostello%netscape.com
f734fdb646
Changes implementation to match the new Widget interfaces i.e. t
...
he signature of many of the "getters" changed.
1998-09-14 20:54:38 +00:00
pierre%netscape.com
60588f2cc8
temporarily disable the scrollbars on Mac, waiting for the widgets to be implemented
1998-09-03 06:20:12 +00:00
warren%netscape.com
34f3c0ef88
Renamed NSRepository to nsRepository.
1998-09-01 00:26:28 +00:00
kostello%netscape.com
7911194465
These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value.
1998-08-31 19:09:55 +00:00
troy%netscape.com
715766b02f
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com
a72700df68
Changed nsIViewManager interface to conform to XPCOM conventions
1998-08-28 04:56:56 +00:00
michaelp%netscape.com
f1fba56cbb
changes to support viewobserver and troy's spankage of the device context.
1998-08-28 03:05:23 +00:00
troy%netscape.com
361707b894
Combined GetScrollBarWidth/GetScrollBarHeight into one function
...
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
troy%netscape.com
a2942cd289
Changed nsIDeviceContext interface to conform [more] with COM conventions
1998-08-27 05:05:03 +00:00
michaelp%netscape.com
eab3862f9e
killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
...
the root view. added ability to select painting in view resizing.
1998-08-26 21:24:58 +00:00
michaelp%netscape.com
44b4f8f3f7
added assert to warn you of recursive painting.
1998-08-19 20:56:52 +00:00
joki%netscape.com
a3d9156246
Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
1998-08-19 05:35:20 +00:00
rods%netscape.com
b86e08b279
Added Page Up, Page Down, Arrow up and Arrow Down key processing.
1998-08-14 21:13:40 +00:00
michaelp%netscape.com
dc2243f8bb
fixed crash where widgets would return null clientdata because they were going
...
away, but the view was assuming the clientdata was non-null.
1998-08-13 00:03:41 +00:00
michaelp%netscape.com
0f7b0ea851
we now allocate a single offscreen buffer.
1998-08-12 21:17:52 +00:00
michaelp%netscape.com
7c65a39625
merged changes from branch.
1998-08-08 19:21:40 +00:00
troy%netscape.com
4b212c0467
Change to object lifetime management. Views are no longer ref counted
1998-08-08 04:23:33 +00:00
pierre%netscape.com
49c937b17b
fix build on Windows and Unix
1998-08-05 09:02:52 +00:00
pierre%netscape.com
9fc96345cc
fix build on Mac
1998-08-05 08:23:13 +00:00
pierre%netscape.com
4036ac81f1
renamed NSGetFactory to build on Mac
1998-08-05 08:17:06 +00:00
peterl%netscape.com
8d2ea1817c
sync to new unit conversion functions
1998-08-01 01:08:36 +00:00
peterl%netscape.com
4d01ae8f02
rounding support
1998-07-31 23:34:45 +00:00
scullin%netscape.com
caa643b2fb
Make widget tests work again, normalize widget api on UNIX and Win, and
...
add start of platform LAF interface.
1998-07-29 18:47:50 +00:00
rods%netscape.com
ce62d136af
Removed a debug printf
1998-07-27 23:30:49 +00:00
rods%netscape.com
c606ce7284
Added drag scrolling, and event processing for mouse events
...
outside the scrolling view.
1998-07-27 23:14:31 +00:00
michaelp%netscape.com
44636707c4
documented GetClipView() API.
1998-07-27 21:30:14 +00:00
troy%netscape.com
ef1dfe9b6c
Combined raptorgfx.dll and raptorgfxwin.dll into one DLL
1998-07-26 23:52:36 +00:00
michaelp%netscape.com
e775361037
a tiny fix for scrollbars in scrolling views made without a widget association.
1998-07-26 23:32:33 +00:00
michaelp%netscape.com
c35d9371ee
form elements, etc. (i.e. sub widgets) now scroll smoothly.
1998-07-26 04:24:42 +00:00
michaelp%netscape.com
1e09120c96
re-added optimization with the ability to use it anywhere by setting the
...
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
bd312cf0e5
backed out change for a moment.
1998-07-24 21:32:02 +00:00
michaelp%netscape.com
73db4fa432
re-added conditional double buffering based on screen area thresholding.
1998-07-24 21:29:47 +00:00
michaelp%netscape.com
8fd323a89b
added APIs to viewmanager to enable and disable all rendering.
...
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
troy%netscape.com
22c96c168a
Changed MoveViewTo() so it doesn't do any painting unless the
...
origin actually changes
1998-07-23 04:21:05 +00:00
kipp%netscape.com
15830114f2
Implement ScrollTo method
1998-07-22 23:39:56 +00:00
kipp%netscape.com
c549a5d441
Added ScrollTo method
1998-07-22 23:39:23 +00:00
michaelp
899d802021
killed much hated borders on views...
1998-07-11 06:17:09 +00:00
rpotts
ed77051a67
Fixed circular reference problem between the nsScrollingView and its scrollbars...
1998-07-10 23:10:26 +00:00
rpotts
7b1ddbcbf0
Fixed reference counting leak when processing mouse button down events...
1998-07-10 21:44:15 +00:00
michaelp
f660a2b2b2
when a view is the root, it's position will now always be 0, 0.
1998-07-07 21:51:57 +00:00
joki
bf6124d8c8
Move scrolling event code into new event handler to keep it out of DOM loop
1998-07-02 01:13:09 +00:00
kipp
b9f60d4d2e
Removed spurious includes of nsIPresShell
1998-06-26 16:23:48 +00:00
michaelp
e183f05efb
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
joki
280ccd82b0
Change order of event handling to go children then view, not view then children.
1998-06-23 21:50:30 +00:00
rpotts
106f7e3330
Made the destructors on some XPCOM objects virtual (and protected) to make sure everything gets cleaned up...
1998-06-23 18:44:06 +00:00
michaelp
b060b228dc
killed debug code.
1998-06-23 17:50:19 +00:00
michaelp
e0368aca6a
made led prettier.
1998-06-23 17:47:06 +00:00
michaelp
7dda210d32
added ability to set behavior of scrollbars in scrollable views.
1998-06-23 00:53:56 +00:00
spider
0afc3d6d11
Support for Optimized GC and Regions in Rendering
1998-06-21 07:02:44 +00:00
michaelp
2a932c4016
added content quality indicator.
1998-06-21 01:23:44 +00:00
michaelp
7b6ba4d32b
fixed for real. yikes.
1998-06-19 17:44:03 +00:00
spider
161dad9896
Fix previous runtime bustage by placing XP_UNIX ifdef correctly
1998-06-19 05:03:26 +00:00
spider
26ae0e4bcd
Unix fix as per mmp
1998-06-19 04:11:01 +00:00
michaelp
eb2e391102
painting fixes...
1998-06-19 02:46:25 +00:00
atotic
fcb81f3583
First Checked In.
1998-06-16 21:39:13 +00:00
michaelp
fe978c2d9d
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.
1998-06-16 17:05:42 +00:00
spider
9635153ef3
Fixes to get viewer to render on Unix
1998-06-16 00:57:33 +00:00
kipp
c1844f6386
Made View list a little more helpful about widget size and location
1998-06-04 20:02:30 +00:00
michaelp
3169c696c0
made scrolling views more self sufficient.
1998-06-04 02:02:08 +00:00
michaelp
ab13cdae91
added support for handling transparent views to viewmanager. added
...
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
michaelp
62938843da
added optimization so that as we render top->bottom, if the clip region ever
...
becomes empty, we stop rendering.
1998-06-03 21:30:51 +00:00
michaelp
59af80be4b
fixed bug bug in new region code where region was not Init()ed.
1998-06-03 18:13:12 +00:00
michaelp
d039ec90ae
added support of irregular damage regions to viewmanager.
1998-06-03 03:12:52 +00:00
michaelp
c289215715
added additional protection against NULL parent views.
1998-06-02 22:06:29 +00:00
troy
771f2ef31a
Added null pointer check for mRootView in Composite()
1998-06-02 21:05:00 +00:00
troy
c6bc27af0c
Made damage rect passed to UpdateView() be a const
1998-06-02 05:26:42 +00:00
michaelp
55a62eef61
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.
1998-06-01 22:02:02 +00:00
troy
96dd72a330
Added additional parameter to nsIWidget Resize() member functions
1998-06-01 20:26:50 +00:00
karnaze
f65a3e4e87
event improvements
1998-05-29 22:44:13 +00:00
michaelp
d380754776
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
kipp
73176fdcbe
Including missing nsCoord
1998-05-22 20:11:42 +00:00
michaelp
5a1d871fac
killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
...
modified APIs that had been referring to nsRegion to use nsIRegion.
1998-05-18 21:46:20 +00:00
kmcclusk
ad5302a8b5
Added widget specific init structs
1998-05-14 21:34:08 +00:00
michaelp
6bc6fe12e2
made form elements scroll smoothly. added apis to widgets to support this.
1998-05-13 03:39:08 +00:00
kipp
2076f06201
Declare nsIView just in case somebody else doesn't
1998-05-11 22:58:44 +00:00
michaelp
e44f04e74c
when switching documents, the scrollbars are reset.
1998-05-08 17:50:43 +00:00
michaelp
be06609ec3
we now have horizontal scrolling.
1998-05-08 01:11:57 +00:00
michaelp
61b60abf2b
scrolling views are now self-contained. preparations have been made for horizontal scrolling.
1998-05-07 23:07:10 +00:00
michaelp
fa29f980b5
API cleanup for images and drawing surfaces.
1998-05-05 22:11:50 +00:00
michaelp
a7642577cb
ResizeView() now does the right thing.
1998-05-05 18:04:56 +00:00
michaelp
e3ea777ec6
before releasing the timer in the destructor, we Cancel() the timer per vidur's
...
suggestion.
1998-05-05 17:29:08 +00:00
michaelp
0634c654fa
made Composite() API in ViewManager work.
1998-05-04 17:41:57 +00:00
michaelp
99f116eaeb
InsertChild() with a zindex now does the right thing.
...
RemoveChild() now invalidates the area where the view was.
added NS_RELEASE() cleanup.
1998-05-01 03:15:31 +00:00
michaelp
e75e090138
added NS_RELEASE() cleanup.
1998-05-01 03:14:03 +00:00
michaelp
d754292574
fixed various shutdown and linked list management bugs.
1998-05-01 03:13:34 +00:00
michaelp
b9e66e9abf
killed erroneous comments.
1998-05-01 03:11:47 +00:00
spider
2855917fe4
Fix crash if root view is not setup properly during window creation
1998-05-01 02:18:39 +00:00
michaelp
c44715a002
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.
1998-04-30 02:41:14 +00:00
michaelp
c1742af35d
more cliprect api changes...
1998-04-29 02:24:07 +00:00
michaelp
dcd4451871
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.
1998-04-28 19:16:24 +00:00
michaelp
cc74961db2
added back code that i killed in the previous checkin, but now it works.
1998-04-28 02:05:46 +00:00
michaelp
4c62e32817
fixed bug i just introduced (by removing code i just added)!
1998-04-28 01:00:00 +00:00
michaelp
8e227d582a
if a view does not have a clip, then we set the clip in the rc to
...
the bounds for the view.
1998-04-28 00:42:58 +00:00
michaelp
67b7f42950
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.
1998-04-27 23:51:57 +00:00
kipp
4857393413
Fixed compiler bugs/warnings
1998-04-26 03:13:20 +00:00
kipp
6fc844d726
Added trailing newline
1998-04-26 02:57:05 +00:00
karnaze
4364c856d4
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
michaelp
19938fa089
more scrolling bugs.
1998-04-24 00:30:21 +00:00
michaelp
6d375e9ffe
fixed bug where scollbar itself was scrolled.
1998-04-23 23:32:59 +00:00
michaelp
910ec9d38b
changed SetContainerSize() to ComputeContainerSize().
1998-04-23 23:21:37 +00:00
michaelp
2c509608d8
added AddRef() to GetScrolledView().
1998-04-23 21:54:47 +00:00
michaelp
f50c2fc53b
view no longer shows a scrollbar when we can't scroll.
...
added GetScrolledView().
1998-04-23 21:51:43 +00:00
kipp
01ab9174da
define win32_lean_and_mean
1998-04-23 16:47:26 +00:00
troy
d504fcfb0c
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
michaelp
e30ecad826
added docs.
1998-04-15 20:25:02 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00