Commit Graph

789 Commits

Author SHA1 Message Date
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