Граф коммитов

434 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com 798ac3c3f0 switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations. 1999-09-13 03:03:42 +00:00
colin%theblakes.com 664183dfa7 Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS 1999-09-12 12:45:00 +00:00
beard%netscape.com 3f05013bc0 bug #11637: using an nsIRegion to track already painted opaque views, to get around funky front to back -> back to front transitions. probably being overaggressive about this, will revisit. switched to NS_GET_IID() where possible. cleaned up some redundant local variables in RenderViews(). 1999-09-12 03:27:14 +00:00
beard%netscape.com 6fb5b09fa1 switched to NS_GET_IID() where possible. fixed clipping bugs by making all widgets clip children and siblings. 1999-09-12 03:24:01 +00:00
beard%netscape.com 6752845fdb switched to NS_GET_IID() where possible. 1999-09-12 03:23:09 +00:00
beard%netscape.com d6fd62541c cleaned up CreateInstance to not use delete on interface pointers. Modernized implementation using NS_IMPL_ISUPPORTS1. 1999-09-12 03:22:29 +00:00
colin%theblakes.com 524f7f0188 Back out last change 1999-09-09 14:30:25 +00:00
colin%theblakes.com d00740719c Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS 1999-09-09 12:58:39 +00:00
beard%netscape.com 2e6af96bc5 bug #10261: fix for dropping calls to UpdateView, also now correctly handles calls to UpdateView(nsIView*, nsIRegion*, ...) with non-null nsIRegion*. 1999-09-03 02:27:40 +00:00
briano%netscape.com 64f859af0e Cleaned it up and eliminated the pointless #!gmake. 1999-09-02 00:30:07 +00:00
beard%netscape.com 4004be4f34 removed min/max 1999-09-01 23:16:28 +00:00
beard%netscape.com f2dcf61606 bug #10715: rewrote nsViewManager::ResizeView() to correctly invalidate newly exposed/resized view. Assumes layout properly invalidates internal area. 1999-09-01 04:53:55 +00:00
cyeh%netscape.com df37c0fb33 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
tague%netscape.com d22744e0e1 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
beard%netscape.com 102254690f Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR. 1999-08-28 03:01:32 +00:00
beard%netscape.com c3cb192148 removed USE_DISPLAY_LIST_ELEMENTS #ifdefs. 1999-08-27 04:02:55 +00:00
rods%netscape.com d222c86771 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
1999-08-26 14:41:18 +00:00
leaf%mozilla.org 2c18bbf874 Backing out change. 1999-08-24 00:23:00 +00:00
ramiro%netscape.com 514a651481 Fix for the rendering problem on unix after the NS_COPYBITS_TO_BACK_BUFFER
cleanup.
1999-08-22 13:54:41 +00:00
beard%netscape.com effcff9469 removed static library targets (view.o, viewDebug.o) 1999-08-21 22:13:21 +00:00
kmcclusk%netscape.com 0d24534039 nsViewManager :: Refresh
Created explicit pointers to offscreen and onscreen rendering contexts.
Stop passing NS_COPYBITS_TO_BACK_BUFFER flag.
1999-08-20 22:48:56 +00:00
evaughan%netscape.com e7ce4e691c xpscrollbars 1999-08-19 22:16:23 +00:00
troy%netscape.com 4be6afc2f7 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()
1999-08-10 23:52:36 +00:00
kmcclusk%netscape.com 0f369ed7d3 Added code to prevent negative values from being passed to nsIWidget::Resize. 1999-08-10 22:20:53 +00:00
sfraser%netscape.com 99bb41007d Zero out the return value from QI in case of failure. 1999-08-10 00:56:40 +00:00
tague%netscape.com 877c563c5d Added support for mapping the reply of a textevent (i18n input support) back into platform coordinate space 1999-08-09 03:56:03 +00:00
beard%netscape.com ac2ef94299 display list elements, ShowDisplayList() method. 1999-08-02 03:16:55 +00:00
beard%netscape.com 8a8ffe2582 bug #10460: now handling negative z-index 1999-08-02 02:43:24 +00:00
hyatt%netscape.com 495ec505eb Backing out beard's changes completely and reverting to version 3.34 of
nsViewManager.cpp, and reverting to version 3.100 of nsViewManager.h.

Note that beard's backing out of the negative z-index code did NOT fix
the problem.  This means the bug lurks somewhere else in the file.
1999-08-01 18:44:24 +00:00
beard%netscape.com 6b9a746b68 turned off negative zindex check to see if it fixes XP menus. 1999-08-01 18:18:42 +00:00
beard%netscape.com 2222402457 Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList(). 1999-07-31 03:05:37 +00:00
beard%netscape.com 93673ee850 bug #10460: now placing views with negative z-index after their parent in display list. Lots of clean up, added DisplayListElement struct instead of storing views in every 3rd slot of the display list, #ifdef USE_DISPLAY_LIST_ELEMENTS. Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList(). More to come. 1999-07-31 03:05:32 +00:00
pavlov%netscape.com c4c8efa098 don't do anything if SetDimentions is called with the same width and height.
approved by hyatt
1999-07-27 04:37:35 +00:00
rickg%netscape.com afd32f8e15 removed two warnings from GFX library that sparky isn't likely to fix 1999-07-26 02:22:09 +00:00
briano%netscape.com f9a8f2906a Fixed the logic and cleaned it up. 1999-07-19 23:15:25 +00:00
sspitzer%netscape.com b9424eb9cd hail mary bulletproofing fix for #10035 1999-07-19 19:57:30 +00:00
ramiro%netscape.com fecd737d22 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
sspitzer%netscape.com 5a068b9fc6 fix warnings. 1999-07-03 00:25:42 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
rods%netscape.com 3a974c03d6 Removed drawing optimization because it causes flicker. 1999-07-01 20:44:05 +00:00
warren%netscape.com 6fc20cbcd6 More necko changes. 1999-06-25 01:53:22 +00:00
buster%netscape.com f77050318c added GetIID static methods to public interfaces. Code-reviewed by Kevin M. 1999-06-24 22:40:53 +00:00
dp%netscape.com 870873d855 Adding access paths to system header files due to new header dependency nsIComponentManager.h -> nsIFileSpec.h -[YUCK]-> nsFileSpec.h -> Files.h 1999-06-22 14:27:38 +00:00
pierre%netscape.com 032fed06b2 In GetDrawingSurface(), erase the drawing surface when it is re-used. 3455: [PP] mac/linux, dual toolbars appear after surfing. 6989: Multiple window drawing gets messed up. 6678: [PP]clipping/port problems in child dialogs. 5560: [PP] CornerView displays garbage. 1999-06-17 04:01:50 +00:00
joki%netscape.com b63a729e33 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
bruce%cybersight.com 5e11e92ea9 Explicitly include prinrval.h here. (This will make be needed for some changes coming shortly after M7.) 1999-06-05 11:29:03 +00:00
mcmullen%netscape.com f4bd7dc337 Removed obsolete base.shlb/baseDebug.shlb 1999-05-27 21:40:58 +00:00
kin%netscape.com 5548735176 Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.
1999-05-26 21:13:06 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
beard%netscape.com 7dc9041166 bugs #5062, #4703: have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough. a=chofmann 1999-05-19 23:23:47 +00:00
evaughan%netscape.com 2b76d2dc93 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
beard%netscape.com 1f6a97cdcb bug #5093: removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead. 1999-05-18 21:45:46 +00:00
pierre%netscape.com e773b9ea97 Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com. 1999-05-18 14:37:57 +00:00
pierre%netscape.com e404475eb5 #5949 "Frequent resizing of window causes apprunner to stop drawing" 1999-05-18 13:14:46 +00:00
beard%netscape.com f7b9483a32 bug #5093: added widget->Invalidate() calls after changing the position of scrollbar thumb. It may be more appropriate to fix this in nsScrollbar.cpp 1999-05-17 19:40:40 +00:00
bruce%cybersight.com 5d5155d733 Fix ANSI C++ violation. (a=beard) 1999-05-15 22:53:57 +00:00
pollmann%netscape.com c3b9de36a8 Bug 5746: Check for null. 1999-05-15 01:36:39 +00:00
danm%netscape.com d24a43a3f4 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. 1999-05-04 23:23:35 +00:00
joki%netscape.com 91c2b2ba1f Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
kipp%netscape.com ccb405d714 Do not update views when refresh is disable 1999-04-30 00:09:04 +00:00
pierre%netscape.com 13b9034d6f fixed the display of some missing views on Mac (like the CornerView) 1999-04-27 05:34:05 +00:00
troy%netscape.com 6de54225e5 Removed #define ALL_VIEW_FLAGS which is no longer used 1999-04-24 22:58:14 +00:00
troy%netscape.com 2473482f28 Changed Scroll() to check if the scrolled view has the
NS_VIEW_PUBLIC_FLAG_DONT_BITBLT flag set
1999-04-24 22:49:28 +00:00
troy%netscape.com c1987aeb49 Added function GetClipView() 1999-04-24 02:52:58 +00:00
kipp%netscape.com 9254569a95 Removed obsolete include file 1999-04-23 19:52:36 +00:00
troy%netscape.com d279c12ec4 Made a bunch of nsIView member functions "const" 1999-04-23 17:44:48 +00:00
troy%netscape.com 2acb6b4e38 Changed a comment a little 1999-04-21 21:22:22 +00:00
troy%netscape.com be7c4f5b18 Added NS_VIEW_FLAG_DONT_BITBLT flag 1999-04-21 21:08:27 +00:00
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