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

927 Коммитов

Автор SHA1 Сообщение Дата
pavlov%pavlov.net 7bfe4ef62c initial stab at converting GdkEvents into mozilla events. 1998-11-08 05:53:52 +00:00
pavlov%pavlov.net 8dd636e12f blizzard%appliedtheory.com patch to allow this to compile without motif
installed.  this patch also fixes the arguments to the event callbacks to
those of Gtk
1998-11-08 04:34:08 +00:00
pavlov%pavlov.net 70b4a24b4d fix ::Remove so that it works on both TextWidget and TextAreaWidget 1998-11-08 04:12:42 +00:00
pavlov%pavlov.net b8b2cd4a22 Initial nsText* implimentation. This should be about 90% functional. 1998-11-08 04:05:34 +00:00
pavlov%pavlov.net 461243c902 fix menu code... submenus are not added correctly for some reason, but the
earlier warnings are gone.
1998-11-08 02:05:02 +00:00
pavlov%pavlov.net e9e397da2d Menu's are now displayed correctly (almost). 1998-11-08 01:13:43 +00:00
msw%gimp.org 28070e8862 Oops - not using this. 1998-11-07 18:43:17 +00:00
pavlov%pavlov.net 75ed8bcd3d initialize mWidget to null 1998-11-07 17:30:50 +00:00
pavlov%pavlov.net 9ef6528746 Add the menu bar to the Window correctly. 1998-11-07 17:23:30 +00:00
msw%gimp.org 956dffc81f Move all the widget to inherit from nsWidget, not nsWindow. Add stub
for mouse events in nsWidget
1998-11-07 17:00:11 +00:00
pavlov%pavlov.net 19df6faf56 convert nsLabel's to nsWidget instead of nsWindow. Impliment part of
nsPopUpMenu
1998-11-07 15:18:51 +00:00
msw%gimp.org a885412a05 set the size of buttons on creation. Need to check to make sure this
is the Right Way.
1998-11-07 05:43:47 +00:00
pavlov%pavlov.net a5efa9c2c2 Initial GTK code for menus. 1998-11-07 02:05:59 +00:00
saari%netscape.com e4bd0c3b01 Mac only change. Don't unlock GDeviceHandles. Fixed. Don't dereference unlocked handles. Fixed. 1998-11-07 01:45:03 +00:00
pavlov%pavlov.net 1d6d94539e show the widgets so that they appear on the screen 1998-11-06 23:46:18 +00:00
shaver%netscape.com d6bd18b7dc created new nsWidget common baseclass, and reparented nsButton to use it -- more reparenting to follow 1998-11-06 23:33:15 +00:00
shaver%netscape.com 429d8e6972 improve nsWindow to handle toplevel and embedded windows, and use GtkLayout 1998-11-06 18:26:30 +00:00
shaver%netscape.com dbade5fd73 fix compile bustage 1998-11-06 17:11:58 +00:00
pavlov%pavlov.net 6bf1886c77 add these items to the parent widget (layout) 1998-11-06 16:35:24 +00:00
pavlov%pavlov.net 21019b4d5d fix the million errors that GTK was giving out when the window was popped up.
Fix it to show menus.
1998-11-06 04:45:46 +00:00
spider%netscape.com 31357bacf1 Allow Image URL's to be set independently. Needed for XML parsing. 1998-11-06 02:24:50 +00:00
spider%netscape.com e01ff1caf8 Add GetImageDimensions API 1998-11-06 02:00:25 +00:00
akkana%netscape.com fcb5fef539 Remove dlldeps.c reference which was breaking the build 1998-11-06 01:48:22 +00:00
spider%netscape.com 1016a1fe0e Fix crash when image not loaded yet 1998-11-06 01:24:09 +00:00
shaver%netscape.com fe47b460b4 init the device context -- we display a window now 1998-11-05 22:39:37 +00:00
spider%netscape.com 0152e19aa8 Expose OnPaint and HandleEvent for cases where a native widget is not
created for the toolbars
1998-11-05 21:03:04 +00:00
spider%netscape.com 0a03c7babf Changed toolbar code to support wrapping in View system 1998-11-05 19:52:50 +00:00
pavlov%pavlov.net 245c265505 cleanups for compile 1998-11-05 17:58:08 +00:00
pavlov%pavlov.net 0ac47b72fb fix a symbol problem which was causing the viewer not to be able to find some
symbols
1998-11-05 17:05:34 +00:00
pavlov%pavlov.net 14a8f0ac74 Seperate this dummy file out so that it included things that were not all
motif so people without motif could compile gtk version.
1998-11-05 16:35:25 +00:00
pavlov%pavlov.net 839f153d84 added gtk/nsWidgetFactory.cpp so that we are not dependant on the one in
Build.  Changed build/Makefile.in so that we do not compile
nsMotifWidgetFactory.cpp if we are using GTK as we have one in the GTK dir
now.
Add nsWidgetFactory.cpp to gtk/Makefile.in
Cleanup of nsWindow.cpp: removed lots of unused code and general cleanups and
fixes.
Don't create a toplevel window in nsAppShell.cpp as it isn't really needed.
1998-11-05 04:08:10 +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
cls%seawood.org 5f4568b896 Fixed problems with toolkits cflags not being used 1998-11-04 22:44:50 +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 63bab60263 Added Getbounds and GetBorderSize (these need to be removed when
nsWindow is derived from nsBaseWidget)
1998-11-04 21:02:42 +00:00
pierre%netscape.com 01b405b399 Replaced with the previous contents of nsTextWidget. nsTextWidget is 1-line field and can be done with TextEdit or the Appearance Manager instead of WASTE, while nsTextArea should use WASTE. 1998-11-04 07:32:33 +00:00
pierre%netscape.com f8aa025a8a oops...backed out previous changes and removed GetWindowPtr() because it's not used anywhere and it was a bad idea anyway: an object should either inherit from nsWindow and can access mWindowPtr, or should call GetNativeData(). 1998-11-04 07:08:05 +00:00
pierre%netscape.com b747300232 Added StartDraw() and EndDraw() + other fixes in Destroy() 1998-11-04 07:02:26 +00:00
pierre%netscape.com fdb4f1614d Added StartDraw() and EndDraw() 1998-11-04 07:01:36 +00:00
pierre%netscape.com fdcb0da0eb re-enabled TextArea and FileWidget 1998-11-04 07:01:00 +00:00
pierre%netscape.com 72923370ca fixed the Focus event 1998-11-04 07:00:24 +00:00
pierre%netscape.com 0b2e1a099c use the appearance manager to implement that 1-line pwd-capable edit field 1998-11-04 06:59:20 +00:00
pierre%netscape.com 0bf8e6fc94 added a #error before we obsolete that file 1998-11-04 06:58:22 +00:00
pierre%netscape.com e2df6f8fe5 removed OnResize() commented out the SetOrigin() etc... 1998-11-04 06:57:28 +00:00
pierre%netscape.com 3e48fa7445 removed OnResize() 1998-11-04 06:56:20 +00:00
pierre%netscape.com 674405daae added GetWindowPtr() 1998-11-04 06:54:41 +00:00
pierre%netscape.com b16199e9ba added DoIdle(), fixed some SetPort() problems 1998-11-04 06:54:16 +00:00
pierre%netscape.com 366370d759 added DoIdle() 1998-11-04 06:53:57 +00:00
pierre%netscape.com c43d79c0f6 some cleanup 1998-11-04 06:49:50 +00:00
pierre%netscape.com a6268eee92 Cache data to improve performance in GetMacFontNumber() 1998-11-04 06:49:14 +00:00
pierre%netscape.com b3e933f1e5 Replaced mButtonSet with mValue 1998-11-04 06:43:35 +00:00
pierre%netscape.com c41f1dfb00 Added mValue. Improved redraw by caching data. 1998-11-04 06:42:26 +00:00
pierre%netscape.com 8d718109c8 SetLabel() redraws immediately 1998-11-04 06:38:09 +00:00
pierre%netscape.com dbf953b58a minor changes: defined a constant 1998-11-04 06:36:48 +00:00
pierre%netscape.com d559faaaad added nsTextAreaWidget 1998-11-04 06:35:13 +00:00
shaver%netscape.com 7a88771fa7 use MOZ_TOOLKIT, not hardcoded-motif, for include path stuff 1998-11-04 06:10:20 +00:00
shaver%netscape.com 563571c815 Repair Makefile.in and update to let it link again for testing GTK widgets. 1998-11-03 22:57:36 +00:00
cls%seawood.org f70174e61a Removed classic build Makefiles from configure.in
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
rods%netscape.com b33ee2bfb8 Fixed toolbars so the border can be painted in 3 modes. All, partial or none. 1998-11-03 14:52:27 +00:00
joki%netscape.com 7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
msw%gimp.org 95cc440dca a bit more error checking.. 1998-11-02 22:46:26 +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
pinkerton%netscape.com 30d8faa15d check for null parent. 1998-11-02 19:06:49 +00:00
pinkerton%netscape.com b12a397426 These should never have been checked into the tree. 1998-11-02 17:32:24 +00:00
rods%netscape.com 75f9dcdeb7 Added additional border style for dialogs 1998-11-02 16:58:55 +00:00
msw%gimp.org 60548ec9d2 use $(NSPR_LIBS) for autoconf'ed builds to get the path to nspr libs 1998-11-02 15:54:43 +00:00
ramiro%netscape.com 4f83e7be8b Add support for gtk. 1998-11-02 13:56:59 +00:00
ramiro%netscape.com ef4b78284e Rename 'unix' to 'motif'
Add support for USE_NGLAYOUT_GTK.
1998-11-02 13:39:47 +00:00
ramiro%netscape.com 8c835a3222 Rename from 'unix' to 'motif' 1998-11-02 13:22:17 +00:00
ramiro%netscape.com 9e1cba8b52 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This makes
more unix linkers happy.
1998-11-02 12:00:57 +00:00
pavlov%pavlov.net 48c7484f10 nsWindow::CreateGC
fix so that it realizes the widget if needed so that it is
 able to get the gdkwindow.

nsWindow::CreateMainWindow
 use mainWindow as the AppShell mTopLevel window instead of creating a new one.
 use GtkAdjustments to the gtk_layout_new so that this doesn't crash.  (this
 probibly need to be looked at)
 create a GtkVBox for mWidget instead the layout for mWidget. this probibly
 isn't correct.

nsWindow::Show
 this should show the window correctly, but it doesn't.  probibly due to early
 errors.

nsWindow::GetNativeData
 impliment this function so that it doesn't barf at an early point due to lots
 of things being NULL.

nsWindow.h - added GtkWidget *mVBox to the protected items.  this isn't used
 yet, and probibly won't be.
1998-11-02 02:57:05 +00:00
msw%gimp.org 3c07dcb4a3 Made CreateGC a little more careful 1998-11-01 22:49:04 +00:00
msw%gimp.org 9447305102 Implemented nsWindow::CreateGC. 1998-11-01 22:32:18 +00:00
shaver%netscape.com 6758214e70 build libwidgetgtk.so when in GTK mode 1998-11-01 20:18:52 +00:00
pavlov%pavlov.net 9f02b943db few fixes here and there.. more work on making it work 1998-11-01 19:29:40 +00:00
shaver%netscape.com 213f51210f include gtklayout.h to get the symbol-hiding ifdefs and link correctly -- and get rid of the helpful warning 1998-11-01 18:43:48 +00:00
pavlov%pavlov.net 32552c9007 fix up for container add bug 1998-11-01 18:30:40 +00:00
shaver%netscape.com 19113fe444 would you believe that nsMotifWidgetFactory.cpp is actually totally portable and reusable code 1998-11-01 18:13:37 +00:00
pavlov%pavlov.net 799612b653 added nsPopUpMenu.cpp 1998-11-01 18:12:55 +00:00
shaver%netscape.com 5c0c1c75eb oops...when they ask for motif, they should still get motif 1998-11-01 17:09:50 +00:00
shaver%netscape.com 67e08d384c build the GTK stuff if --enable-nglayout=gtk 1998-11-01 07:51:00 +00:00
shaver%netscape.com 8427d0db3e add --enable-nglayout=gtk to build with GTK and not motif 1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com a5d7946d8c fixes to get building and linking 1998-10-31 23:17:10 +00:00
pavlov%pavlov.net 58ad3475ff lots and lots of Gtk/Gdk code added to nsWindow.cpp 1998-10-31 21:56:02 +00:00
shaver%netscape.com 87c31b26b7 move gtklayout.c here, and do some symbol munging so we don't conflict with the one in gnome-libs 1998-10-31 21:43:01 +00:00
shaver%netscape.com 539fb6217b use gtk-config to find CFLAGS 1998-10-31 20:34:17 +00:00
pavlov%pavlov.net b3e391767b fix the broken Makefile.in 1998-10-31 20:32:04 +00:00
pavlov%pavlov.net dd0fc04fb5 oops, small typo that would have screwd upsome stuff 1998-10-31 20:26:59 +00:00
pavlov%pavlov.net b96ab2420f oops, forgot that we didn't want the column titles displayed 1998-10-31 20:21:19 +00:00
pavlov%pavlov.net cbfa1580db Converted almost all of nsListBox to a GtkCList 1998-10-31 20:05:28 +00:00
pavlov%pavlov.net 08ccae2b7d just about finish setting up all the files needed for gtk to compile 1998-10-31 17:54:41 +00:00
pavlov%pavlov.net f480fc6813 add menu files which do compile 1998-10-31 17:20:45 +00:00
pavlov%pavlov.net 24733dc5c7 nsWindow now compiles! whoo! about half way there! 1998-10-31 17:09:39 +00:00
blizzard%appliedtheory.com b92483c12d compiles now. 1998-10-31 17:02:32 +00:00
blizzard%appliedtheory.com c3b738f872 File widget compiles now. 1998-10-31 16:54:50 +00:00
pavlov%pavlov.net da0da2ffae radio button compiles now 1998-10-31 16:49:26 +00:00
pavlov%pavlov.net 404e512b8a move widgets into protected instead of private 1998-10-31 16:44:00 +00:00
pavlov%pavlov.net 824679b33b these now compile 1998-10-31 16:40:31 +00:00
blizzard%appliedtheory.com fa9ebd0d73 nsDialog compiles now 1998-10-31 16:35:29 +00:00
blizzard%appliedtheory.com d2af35bfae this compiles now. 1998-10-31 16:30:43 +00:00
pavlov%pavlov.net f809dab836 update for event handler and file widget 1998-10-31 16:20:07 +00:00
blizzard%appliedtheory.com 6dfdf2c380 make nsButton.cpp compile. Initial nsWindow as well. The header file works,
the .cpp file doesn't compile yet ( it's still Motif )
1998-10-31 16:19:33 +00:00
blizzard%appliedtheory.com 5bdb958461 cleaned up this interface - it builds and even might do some stuff 1998-10-31 16:02:16 +00:00
pavlov%pavlov.net 2fde421d9c added the GtkEventHandler stuff for the gtk widget set 1998-10-31 15:57:22 +00:00
pavlov%pavlov.net 2cea196780 Fixed some problems the inital checkin and added some new files. 1998-10-31 15:42:09 +00:00
blizzard%appliedtheory.com 9cf6d24337 Patches from Stuart Parmenter <pavlov@innerx.net>. This does not build,
these files are just a starting point.
1998-10-31 05:30:25 +00:00
rpotts%netscape.com 73f7dc2edb Fix some build bustage... 1998-10-30 07:14:17 +00:00
pinkerton%netscape.com 2ebde998df put it in-line with the windows version of this file. The right widgets were not being created because we weren't checking the class/interface id's correctly (at least, I assume that the windows way is more correct than the mac way because now it works!). 1998-10-30 02:38:58 +00:00
michaelp%netscape.com fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
pinkerton%netscape.com ffa5e28039 fix bug where new windows would not be the active window by calling right toolbox routines. 1998-10-30 01:00:33 +00:00
pinkerton%netscape.com 2fa9e0e238 fix bug where dragging windows around would cause them to move twice by not passing the window move event down. 1998-10-30 00:59:29 +00:00
pinkerton%netscape.com 4a9ab4e630 cleanup constructor/destructor, and use auto_ptr where appropriate. 1998-10-30 00:12:37 +00:00
pinkerton%netscape.com f9a2d0f71f don't process menu events multiple times (do them only on keydown). 1998-10-29 23:47:05 +00:00
akkana%netscape.com 7c915be525 Remove nonworking IRIX compile segments; these should be in IRIX.mk anyway, if they're really needed 1998-10-29 20:08:22 +00:00
pinkerton%netscape.com 1631cf3ee6 make sure we init mMenuBar to null. 1998-10-29 17:40:22 +00:00
pierre%netscape.com f740ba45f7 Landing MacWidgets... 1998-10-29 14:06:26 +00:00
pierre%netscape.com 417d462a71 First Checked In. 1998-10-29 13:55:02 +00:00
rods%netscape.com 055533fbcf Cleaned up debug statements 1998-10-28 20:09:21 +00:00
cls%seawood.org 5de96f891e Added $(FE_X_LIBS) to INCLUDES and $(FE_X_LIBS) to DSO_OS_LDOPTS to take care of motif dependencies under solaris. 1998-10-28 06:22:16 +00:00
cls%seawood.org 411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +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 701ef505a1 Moved resource to src/build and changed makefile to build a .RES file 1998-10-27 18:45:20 +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
dcone%netscape.com 29934bf65b fixed the incremental layout problems. 1998-10-26 18:36:08 +00:00
kipp%netscape.com 8cf2866f87 Port to updated DrawString API 1998-10-26 17:35:09 +00:00
dcone%netscape.com 8cdbc2c3af call the doresize event 1998-10-23 21:29:39 +00:00
dcone%netscape.com 0cceb0004d Small bug fix in resize 1998-10-23 21:29:17 +00:00
dcone%netscape.com 2b84d744e8 Now checks the width and height before a NS_SIZE_EVENT is dispatched. 1998-10-23 18:02:38 +00:00
dcone%netscape.com d29ec4e197 Fixed the resize problem, now breaks out of the infinite loop. 1998-10-23 18:00:54 +00:00
michaelp%netscape.com dbc8b0a597 changes for new rendering context API stuff. 1998-10-23 17:59:28 +00:00
michaelp%netscape.com 2812cd80c1 made CopyBits() more flexible. added better ddraw support for windows rendering
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.
1998-10-23 17:58:18 +00:00
kipp%netscape.com 973c0f25a5 Fix InitData classes to init themselves properly to avoid latent unitialized memory bugs 1998-10-21 20:10:22 +00:00
karnaze%netscape.com 98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
rods%netscape.com 8bbee1fea9 Changed the background of the widget. 1998-10-16 22:43:13 +00:00
rods%netscape.com 257452dace Removed debug statements 1998-10-16 22:42:55 +00:00
dcone%netscape.com 6f1e29a698 updated, documented and cleanup the code. 1998-10-16 17:59:52 +00:00
pierre%netscape.com 2dbb0ef8b9 inherit from nsBaseWidget: removed lots of code 1998-10-16 09:21:23 +00:00
pierre%netscape.com 26526207cf added Previous() and ResetToLast() to the Enumerator 1998-10-16 09:18:03 +00:00
pierre%netscape.com 4a42999db9 added the XP Widgets 1998-10-16 09:04:24 +00:00
rods%netscape.com b9aeebf1e2 Added makefiles and factory for widget directory reorganization 1998-10-15 21:41:38 +00:00
rods%netscape.com 7ccaf178cc Moved the cross-platform widgets into their own directory.
Moved the platform specific factories into the new "build" directory.
The "build" directory now links the spwidgets and the platforms specific
widgets together.
1998-10-15 21:30:32 +00:00
dcone%netscape.com 428aee3253 fixed some clipping and updating stuff 1998-10-15 13:39:47 +00:00
dcone%netscape.com e218d1fe8e added support to offset child window to correct location. 1998-10-13 16:33:39 +00:00
spider%netscape.com 1687a40064 Fixes for building on SunOS 1998-10-12 23:05:16 +00:00
rods%netscape.com ebea981f56 NS_IMPL_ISUPPORTS was used incorrectly 1998-10-12 18:22:07 +00:00
rpotts%netscape.com faa5799533 Fixed reference counting bug in GetMenuBarparent 1998-10-10 10:07:21 +00:00
kmcclusk%netscape.com 09eaea5994 Fix for Linux build. 1998-10-09 22:53:19 +00:00
rods%netscape.com 97357e8f0e The Cross-platform widgets have been moved to widget/src, the makefile.win
was changed to include the platform specific directory
1998-10-09 22:08:28 +00:00
dcone%netscape.com 749e80cb9c *** empty log message *** 1998-10-09 21:46:39 +00:00
dcone%netscape.com 346ea80e22 fixed some bugs 1998-10-09 21:46:30 +00:00
dcone%netscape.com 74fcdc41a8 added look and feel 1998-10-09 21:46:17 +00:00
dcone%netscape.com cb813e93f9 fixed gettext to return correct string, and use a null character at the end. 1998-10-09 21:46:01 +00:00
dcone%netscape.com 7666f663a2 First Checked In. 1998-10-09 21:45:15 +00:00
dcone%netscape.com 17f6423729 fixed the mouseup event for the url processing 1998-10-09 21:44:00 +00:00
dcone%netscape.com d479210bee added to widget project, first version 1998-10-09 21:43:42 +00:00
dcone%netscape.com 47d42c5fba added new menu source files, lookandfeel widget 1998-10-09 21:42:44 +00:00
rods%netscape.com 62daf93937 Fixed an error I introduced in DispatchEvent 1998-10-09 15:39:24 +00:00
rods%netscape.com dff869ceef Added Invalidate method for a rect in a window. 1998-10-09 15:20:47 +00:00
rods%netscape.com 64c6bab0fd Added an Invalidate method for a rect in a window 1998-10-09 15:18:54 +00:00
dcone%netscape.com a2b1bb00cb updated the invalidate method 1998-10-09 15:18:26 +00:00
pierre%netscape.com 17aa9d2361 fixed link errors: added DragLib and NSPR20 1998-10-08 23:29:39 +00:00
troy%netscape.com 5ff1cfe35d Removed unused widgetSupports member of nsGUIEvent 1998-10-08 21:24:05 +00:00
kmcclusk%netscape.com 916384f660 Removed nsObject.cpp and nsObject.h. Removed commented out code.
added NS_ERROR_NO_AGGREATION to widget factory. marked code with XXX where
additional work is required. Removed unused global variables in nsWindow.cpp
1998-10-08 18:33:48 +00:00
spider%netscape.com 7ea970f836 Fix compile errors on IRIX 1998-10-08 17:54:07 +00:00
rods%netscape.com b1b4233eb5 Fixed ref count problem 1998-10-08 15:23:03 +00:00
rpotts%netscape.com fb5cab9ba8 Attempting to fix unix build bustage... 1998-10-08 07:55:23 +00:00
pierre%netscape.com b86cf5a78d fix build on mac after rods's changes in DispatchEvent 1998-10-08 02:00:23 +00:00
kmcclusk%netscape.com c212eea4ea Fixed key events. 1998-10-08 00:47:10 +00:00
kmcclusk%netscape.com a301ff4ae9 Removed references to widgets which are not checked in yet 1998-10-08 00:13:39 +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 d6da910767 Changed back 1998-10-07 23:39:27 +00:00
rods%netscape.com a61c33f25d Removed "::" from XmCall (trying to fix the IRIX build) 1998-10-07 23:38:52 +00:00
rods%netscape.com 34d1cbea26 Made an attempt at fixing the Mac port for the DispatchEvent change 1998-10-07 23:33:52 +00:00
rods%netscape.com 594b97f546 More changes so DispatchEvent works 1998-10-07 23:18:34 +00:00
rods%netscape.com 14703299e4 Fixed menus and add DispatchEvent to nsIWidget Interface. 1998-10-07 22:11:37 +00:00
rods%netscape.com a0dcead7e7 Added menu support 1998-10-07 21:07:40 +00:00
dcone%netscape.com 56cda0f2e9 updated Dispatch to new interface. 1998-10-07 20:15:45 +00:00
dcone%netscape.com 69ac930d03 Updated to Rod S's changes 1998-10-07 20:15:05 +00:00
rods%netscape.com c0b8f9e933 I fixed rendering part 1998-10-07 20:06:50 +00:00
rods%netscape.com 4fa50cdcb6 Added SetHorizontalLayout method 1998-10-07 19:50:42 +00:00
rods%netscape.com aa87aa621d Updated Interfaces to support UNIX 1998-10-07 19:49:36 +00:00
dcone%netscape.com 488da56048 re-wrote the ConvertToDeviceCoordinates to offset the event point. 1998-10-07 17:59:26 +00:00
dcone%netscape.com 7e49439af0 Calculated the offset for the event and added that to the point before event processing 1998-10-07 17:57:07 +00:00
dcone%netscape.com ec925cd393 calculate the correct offset 1998-10-07 15:13:48 +00:00
dcone%netscape.com 383aafe32c fixed offset problems 1998-10-07 15:13:19 +00:00
dcone%netscape.com 8cd76a3947 fix the size problem 1998-10-07 15:12:57 +00:00
dcone%netscape.com 87a17df6fd selection fix 1998-10-07 15:10:40 +00:00
dcone%netscape.com 2a28b847f6 update fix 1998-10-07 15:09:03 +00:00
troy%netscape.com 4358c88eeb Changed factory CreateInstance() code to return NS_ERROR_NO_AGGREGATION
if the caller is trying to aggregate the widget
1998-10-06 22:32:30 +00:00
dcone%netscape.com eaf1d9324c fixed some offset bugs 1998-10-06 13:28:53 +00:00
pierre%netscape.com 87764930d1 fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions 1998-10-06 03:00:28 +00:00
michaelp%netscape.com 0308904e76 fixed bug where scrolling with the thumb would cause the thumb
to jump down too far on long documents.
1998-10-05 21:20:54 +00:00
michaelp%netscape.com 9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
rpotts%netscape.com aba40ac4a7 Pass in a null nsIURLGroup to the image group... 1998-10-01 21:53:52 +00:00
rods%netscape.com aa5b839ebb Initial checkin 1998-10-01 21:06:09 +00:00
dcone%netscape.com f0d73bb49e Fixed the location problem 1998-10-01 19:48:52 +00:00
dcone%netscape.com 234bfa674a Fixed the thumbsize problem 1998-10-01 19:48:31 +00:00
michaelp%netscape.com e09efbe55a font cache is no longer public. 1998-09-30 18:59:31 +00:00
michaelp%netscape.com 451b9b2a18 we no longer have a public font cache. removed circular refs between font cache
and device context.
1998-09-30 18:58:24 +00:00
rods%netscape.com 05439c943f Added HWND cast for STRICT compiler problem. 1998-09-29 22:22:30 +00:00
rods%netscape.com e054d0c8fa Run method now does an AddRef so it stays alive until the last message can
come through the pump.
1998-09-29 22:16:23 +00:00
kmcclusk%netscape.com d88895772b Initialize mFont to nsnull in constructor. 1998-09-29 22:01:50 +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 d9854f6f95 Reworked all the menu code and removed nsWindow from several classes 1998-09-29 21:30:31 +00:00
rods%netscape.com a42dea7cc8 Changed casting of HMENU native data 1998-09-29 18:32:37 +00:00
rods%netscape.com 7d25d265b9 This should fix a casting error for VC++ 5.0 with STRICT 1998-09-29 17:50:50 +00:00
pinkerton%netscape.com 1fff0d4271 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
rods%netscape.com 4e068d8491 Additional signature changes for XPCOM 1998-09-29 16:32:04 +00:00
rods%netscape.com 96196905a5 Changed all the signatures to NS_IMETHOD and NS_METHOD 1998-09-29 16:12:15 +00:00
rods%netscape.com 85b4e3488a Added new interfaces 1998-09-29 15:32:04 +00:00
pierre%netscape.com 0e19b67806 fixed previous checkin 1998-09-29 15:26:03 +00:00
dcone%netscape.com beb60b7096 added new files from the xpviewer. 1998-09-29 15:16:57 +00:00
pierre%netscape.com ac41be0e25 added nsIToolbarItem.h 1998-09-29 15:04:19 +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 3ca543d895 Changed the menu code to use HMENUs instead of casted HWNDs 1998-09-29 14:15:32 +00:00
rods%netscape.com 939f18e55d Added more casts to HMENU 1998-09-29 02:01:31 +00:00
rods%netscape.com 054eae75e1 fixed menu casting problem. 1998-09-29 01:23:40 +00:00
kostello%netscape.com a2f12bee8c Synch with Rod's changes to nsIWidget 1998-09-29 00:58:32 +00:00
kostello%netscape.com 037dabb88d Synch with Rod's new nsIWidget changes 1998-09-29 00:55:17 +00:00
pierre%netscape.com 3ba082e001 fixed crash due to missing {} after if() statement 1998-09-28 23:30:17 +00:00
rods%netscape.com 60b5422758 Added interfaces 1998-09-28 22:37:16 +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
dcone%netscape.com a135352bd3 Fixed the growing part of the window, setorigin was messing us up. 1998-09-28 21:08:09 +00:00
dcone%netscape.com d6ae43a7eb fixed a validrect problem needed for doublebuffer. Cant call validrect in grow when doublebuffering. Dont know why yet 1998-09-28 17:03:49 +00:00
pierre%netscape.com f208605e3c enabled debugger for some new files (nsScrollbar etc...) 1998-09-25 23:54:30 +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
dcone%netscape.com 77d70b7a61 fixed offset problems and parent heiarchy problems 1998-09-25 22:23:58 +00:00
dcone%netscape.com 1586c3d913 Added NS_NATIVE_OFFSETX and Y for getnativedata. Mac needed for the renderingcontext 1998-09-25 22:22:57 +00:00
dcone%netscape.com 2596ac4f28 updated resize 1998-09-25 15:13:29 +00:00
dcone%netscape.com eb97021f8d fixed some resizing issues 1998-09-25 15:12:55 +00:00
dcone%netscape.com e387e2f5dd fixed resizing issues 1998-09-25 15:12:22 +00:00
dcone%netscape.com 741d23d723 fixed some sizing issues 1998-09-25 15:12:05 +00:00
eyork%netscape.com e38a931d36 Fix Solaris Build problems 1998-09-25 00:57:28 +00:00
eyork%netscape.com ae67d12163 Fix Solaris Build Problem 1998-09-25 00:54:04 +00:00
eyork%netscape.com 0e460a7be5 Fix Solaris build problem 1998-09-25 00:52:46 +00:00
kmcclusk%netscape.com b1d7363698 Added INITREFCNT to constructor 1998-09-24 17:44:33 +00:00
kmcclusk%netscape.com 63716e7350 Removed NS_DECL_ISUPPORTS in classes which would cause multiple mRefCnt member
variables to be delcared
1998-09-24 17:28:07 +00:00
dcone%netscape.com af77c10d6e fixed resizing issues 1998-09-23 22:10:40 +00:00
dcone%netscape.com 20a29c53b2 fixed resizing problems 1998-09-23 22:09:52 +00:00
dcone%netscape.com bb6e438879 fixed some sizing issues 1998-09-23 22:09:23 +00:00
dcone%netscape.com f63fe299a7 Put in code to offset drawing, hittest, etc 1998-09-23 22:08:53 +00:00
kmcclusk%netscape.com 1add701f7f Fixed filewidget query interface failure. The viewer was crashing when trying to open
a file.
1998-09-23 20:39:16 +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
pierre%netscape.com 1702ec7fa1 handle menu events when there is no window + other fixes 1998-09-23 09:24:33 +00:00
pierre%netscape.com f8474ee65e handle menu events when there is no window 1998-09-23 09:23:07 +00:00
pierre%netscape.com fed9338564 fixed a GlobalToLocal problem in FindWidgetHit 1998-09-23 09:18:46 +00:00
pierre%netscape.com 7bab6b10ff First Checked In. 1998-09-23 09:11:08 +00:00
pierre%netscape.com 60f6592b4b handle Quit cmd (added mMacPump in order to call StopRunnning) 1998-09-22 04:22:57 +00:00
pierre%netscape.com 254d8d510d implemented menu events 1998-09-22 04:21:31 +00:00