dcone%netscape.com
f39b32d4ab
Support for Blending added. r=beard
...
git-svn-id: svn://10.0.0.236/trunk@63140 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:05:12 +00:00
beard%netscape.com
2e716f8b23
changed test of mClip from (left == right) && (top == bottom) to (left == 0) && (right == 0) && (top == 0) && (bottom == 0). Added test for empty clip rect, to avoid painting. Added an assert to make sure mClip is set to reasonable values. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@59848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 04:11:55 +00:00
beard%netscape.com
5c1741c2f8
added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint().
...
git-svn-id: svn://10.0.0.236/trunk@59453 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:58:22 +00:00
kmcclusk%netscape.com
5f7ac3effb
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
beard%netscape.com
c956c22a62
floating views. bug=21966, r=troy, rods, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58504 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 01:53:34 +00:00
joki%netscape.com
88ea82eb9b
Fix bug 24310 by backing out fix for 21304. a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@58262 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:34:47 +00:00
joki%netscape.com
a8a20be440
fix bug 21304, hidden views stealing events. r:rods
...
git-svn-id: svn://10.0.0.236/trunk@58096 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:15:23 +00:00
rods%netscape.com
99432f125e
temprary fix for combobox dropdowns that jump all around.
...
r=beard a=chofmann bug 19416
git-svn-id: svn://10.0.0.236/trunk@55990 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:21:58 +00:00
tbogard%aol.net
081927560a
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*.
...
git-svn-id: svn://10.0.0.236/trunk@54391 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:10 +00:00
beard%netscape.com
9a5f66247d
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@53444 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 02:51:25 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
54966bf91e
r=beard; Added in ctor/dtor counting
...
git-svn-id: svn://10.0.0.236/trunk@49837 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:52:53 +00:00
beard%netscape.com
0193ba8474
bug #7774 : added new bit NS_VIEW_PUBLIC_FLAG_AUTO_ZINDEX, SetAutoZIndex/GetAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy
...
git-svn-id: svn://10.0.0.236/trunk@48937 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:54 +00:00
beard%netscape.com
da4324b6a9
switched to NS_GET_IID() where possible.
...
git-svn-id: svn://10.0.0.236/trunk@47008 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 03:23:09 +00:00
rods%netscape.com
08086bda14
The method nsIView::CreateView has parameter that indicates whether D&D for the widget
...
should be turned on or not. This make it configurable from the outside,
it is needed for the editor
git-svn-id: svn://10.0.0.236/trunk@44673 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:18 +00:00
kmcclusk%netscape.com
e1083a6ab6
nsViewManager :: Refresh
...
Created explicit pointers to offscreen and onscreen rendering contexts.
Stop passing NS_COPYBITS_TO_BACK_BUFFER flag.
git-svn-id: svn://10.0.0.236/trunk@43874 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:48:56 +00:00
troy%netscape.com
b9fb698148
Changed Paint() to leave the clip rect relative to the view's origin (and
...
not translate by the view's x and y-offset), because the view manager has already
translated into the view's local coodinate space before calling Paint()
git-svn-id: svn://10.0.0.236/trunk@43094 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:52:36 +00:00
sfraser%netscape.com
5275ec0bd4
Zero out the return value from QI in case of failure.
...
git-svn-id: svn://10.0.0.236/trunk@42875 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:56:40 +00:00
pavlov%netscape.com
86397afa89
don't do anything if SetDimentions is called with the same width and height.
...
approved by hyatt
git-svn-id: svn://10.0.0.236/trunk@41243 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:37:35 +00:00
rickg%netscape.com
31a098e241
removed two warnings from GFX library that sparky isn't likely to fix
...
git-svn-id: svn://10.0.0.236/trunk@41100 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 02:22:09 +00:00
sspitzer%netscape.com
c7d66ec838
hail mary bulletproofing fix for #10035
...
git-svn-id: svn://10.0.0.236/trunk@40135 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:57:30 +00:00
evaughan%netscape.com
e737c85970
Fixed some visibility bugs in order to make the tab widget work correctly.
...
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
pollmann%netscape.com
c51e86bc1c
Bug 5746: Check for null.
...
git-svn-id: svn://10.0.0.236/trunk@31720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:36:39 +00:00
danm%netscape.com
23b438d255
HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844.
...
git-svn-id: svn://10.0.0.236/trunk@30274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:23:35 +00:00
troy%netscape.com
670ba61106
Made a bunch of nsIView member functions "const"
...
git-svn-id: svn://10.0.0.236/trunk@28890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:44:48 +00:00
kipp%netscape.com
84ae76b1ff
Dump refcnts when listing views
...
git-svn-id: svn://10.0.0.236/trunk@28152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:53 +00:00
michaelp%netscape.com
bb57830da1
we no longer recurse into clip views. shoot me troy. so long folks.
...
git-svn-id: svn://10.0.0.236/trunk@27884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:53:53 +00:00
michaelp%netscape.com
729aeca8be
oops. union works better than intersect...
...
git-svn-id: svn://10.0.0.236/trunk@27825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:19:45 +00:00
michaelp%netscape.com
5669c172c3
added GetExtents().
...
git-svn-id: svn://10.0.0.236/trunk@27822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
d8c7e182c0
cleaned up view flags stuff.
...
git-svn-id: svn://10.0.0.236/trunk@27817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:23:43 +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
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
joki%netscape.com
c41dbba1c6
Fix for frames not resizing.
...
git-svn-id: svn://10.0.0.236/trunk@22676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:59:50 +00:00
kmcclusk%netscape.com
4bd141876c
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
git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +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
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
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
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
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
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
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