Commit Graph

100 Commits

Author SHA1 Message Date
rods%netscape.com
1e60f385e8 Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR
message in switch statement. (fix thanks to Michael Lowe)
1999-01-20 15:42:51 +00:00
joki%netscape.com
827e8163ca Temporary fix to windows key events to give them a coord not associated with the mouse. 1999-01-15 22:24:23 +00:00
michaelp%netscape.com
a9638b06e1 we now pass the damage region given to us in BeginPaint() into the
rendering context for better damage management.
1998-12-15 05:44:21 +00:00
rods%netscape.com
b05e123c34 Added paint method for printing (and possible future owner draw) 1998-11-24 14:57:09 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
rods%netscape.com
3ab253fc87 Added checks for null objects so printing would work. 1998-11-16 22:18:30 +00:00
spider%netscape.com
f615b3d60d Fix duplicate Adding of children into hierarchy during Window Creation.
This is done the first time in BaseCreate.
1998-11-05 03:26:41 +00:00
rods%netscape.com
2bd5f4f19f Made GetBounds and GetClientBounds changes
Added window width and height fields nsSizeEvent
1998-11-04 21:43:47 +00:00
rods%netscape.com
26f1ea5267 Added eBorderStyle_none to zero out the extended border style 1998-11-02 21:55:21 +00:00
rods%netscape.com
5fbe813718 Added 3D child window configurablility 1998-11-02 19:13:05 +00:00
rods%netscape.com
75f9dcdeb7 Added additional border style for dialogs 1998-11-02 16:58:55 +00:00
troy%netscape.com
90dc99441d Changed SetCursor() to use the HINSTANCE in the nsToolkit object rather
than assume a hardcoded DLL name
1998-10-27 18:57:18 +00:00
troy%netscape.com
d03010f3a8 Added Update() member function which forces a synchronous repaint of any
dirty regions of the window
1998-10-27 00:16:59 +00:00
rods%netscape.com
64c6bab0fd Added an Invalidate method for a rect in a window 1998-10-09 15:18:54 +00:00
rods%netscape.com
6b9a9a934c Added an NS_ADDREF to InitEvent and then put in NS_RELEASE in all the proper places.
This was necessary because an Exit menu event was deleting the Windows object
before event processing could complete.
1998-10-08 00:04:21 +00:00
rods%netscape.com
14703299e4 Fixed menus and add DispatchEvent to nsIWidget Interface. 1998-10-07 22:11:37 +00:00
michaelp%netscape.com
e09efbe55a font cache is no longer public. 1998-09-30 18:59:31 +00:00
rods%netscape.com
05439c943f Added HWND cast for STRICT compiler problem. 1998-09-29 22:22:30 +00:00
kmcclusk%netscape.com
d2d9ccc02b Moved common Create(nsIWidget... and Create(nsNativeWidget to a StandardWindowCreate
utility method then call it from each of the Creates.
1998-09-29 21:34:58 +00:00
rods%netscape.com
a42dea7cc8 Changed casting of HMENU native data 1998-09-29 18:32:37 +00:00
rods%netscape.com
42fd6b4e14 Fixed the menubars are added to an nsWindow
Fixed last item layout for toolbars
1998-09-29 15:01:07 +00:00
rods%netscape.com
b3e3812400 XPCOM'ed most methods and added a couple of methods to BaseWidget
and added a lot of files
1998-09-28 22:32:48 +00:00
rpotts%netscape.com
93e66f2ea2 Initialized the returned rect in GetBounds() even if the HWND is null. This fixed a reference to uninitialized memory... 1998-09-25 22:26:28 +00:00
kmcclusk%netscape.com
e6e3087aae Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.
1998-09-23 19:19:23 +00:00
troy%netscape.com
94de21e214 Replaced some AddRef() and Release() calls with the XP-COM macros 1998-09-17 20:02:04 +00:00
michaelp%netscape.com
ffa719807f fix so that if our windows get subclassed and we never hear any
WM_DESTROY messages, we still cleanup properly.
1998-09-15 03:45:06 +00:00
kipp%netscape.com
a1b73c9089 Cleaned up ConvertStatus code 1998-09-15 00:14:11 +00:00
kostello%netscape.com
56e43e352f Removed Aggregation and removed multiple inheritance.
Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface.
1998-09-14 20:40:49 +00:00
karnaze%netscape.com
90951aa3b9 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
spider%netscape.com
dd54dd6174 Fix for modifier key state on keyboard messages 1998-09-02 21:14:45 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
rpotts%netscape.com
23f7dd1f8d Changes to allow building when STRICT is defined. 1998-08-29 06:21:50 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
spider%netscape.com
83b7f46dde Initialize the device context to null. This was causing a crash if the
device context for a widget were queried prior the window getting
created.
1998-08-28 20:29:04 +00:00
troy%netscape.com
b242b51732 Changed nsIFontCache to conform to XPCOM standards 1998-08-28 05:16:41 +00:00
troy%netscape.com
4fa7078af4 fixed my bustage. 1998-08-27 23:02:03 +00:00
joki%netscape.com
823109ddef Fix nsIWidget's GetParent call to return parent, not self. 1998-08-21 21:41:36 +00:00
troy%netscape.com
37e4abec31 Added clipChildren option to nsWidgetInitData 1998-08-19 23:11:41 +00:00
michaelp%netscape.com
72d75a478f fixed bug in loading one of the icons where the handle to load from was never
specified.
1998-08-19 21:05:50 +00:00
troy%netscape.com
1594dd0208 Added some comments 1998-08-19 05:06:59 +00:00
troy%netscape.com
5010d6fb70 Changed WM_QUERYNEWPALETTE code to return TRUE to indicate that
a palette was realized
1998-08-19 02:31:08 +00:00
troy%netscape.com
228d2f5af6 Changed palette code to get the palette from the device context 1998-08-19 00:57:02 +00:00
michaelp%netscape.com
ff460ed76a when killing a window, we now set the GWL_USERDATA to NULL. this will basically
kill the "parent" pointer.
1998-08-18 22:03:34 +00:00
troy%netscape.com
3bbed54ed2 Changed enumerator class to use a nsVoidArray object to manage the
list of child widgets
1998-08-13 23:01:01 +00:00
michaelp%netscape.com
6b6ac440ac changes to support use of DirectDraw. 1998-08-12 00:59:00 +00:00
troy%netscape.com
88de215dbd Cleaned up widget reference counting. In particular parent widgets
release their references to child widgets
1998-08-09 01:37:30 +00:00
troy%netscape.com
acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
spider%netscape.com
31d7a10536 Adding several new cursor types 1998-08-07 14:45:46 +00:00
troy%netscape.com
f0d1ff684a Added GetClientData() and SetClientData() member functions 1998-08-07 05:19:40 +00:00
joki%netscape.com
9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00