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

834 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com 422187a877 fix Solaris/gcc bustage 1998-11-12 19:19:09 +00:00
pinkerton%netscape.com 29bed225ad Use the correct prefix files to pick up all our settings. 1998-11-12 06:00:05 +00:00
pinkerton%netscape.com 1c038ee24d Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file. 1998-11-12 05:59:31 +00:00
pinkerton%netscape.com 4de682c0ce First Checked In. 1998-11-12 05:57:33 +00:00
waterson%netscape.com 0de40c76c3 Added forward decl of nsIDMItem. 1998-11-12 02:11:07 +00:00
hyatt%netscape.com 57a1394928 Added a method for counting columns in the tree. 1998-11-12 01:03:25 +00:00
hyatt%netscape.com 05d245d2d1 Added initializers to the DataModel. Changed the interface hierarchy
again (after much debate).
1998-11-12 00:02:26 +00:00
alecf%netscape.com 15a0f19d2d fix autoconf bustage 1998-11-11 23:48:24 +00:00
pavlov%pavlov.net 1cca075fad implimentation of nsDialog, few scrollbar fixes 1998-11-11 23:09:04 +00:00
hyatt%netscape.com 3694db19c3 Adding the toolbar widget interface to the data model. 1998-11-11 22:10:50 +00:00
hyatt%netscape.com 21b75c4ff3 New tree widget interface. 1998-11-11 22:03:19 +00:00
hyatt%netscape.com 795f5cd07a Added nsITreeDMWidget interface. 1998-11-11 22:03:02 +00:00
waterson%netscape.com 2e6dc2c908 Added forward declaration of nsIDMItem. Made sure that we actually
define NS_IDMWIDGET_IID here.
1998-11-11 20:58:23 +00:00
hyatt%netscape.com ac9145084b Adding new interfaces for toolbars. 1998-11-11 19:11:02 +00:00
hyatt%netscape.com 8e8b566a44 Modified a few interfaces and tweaked some of the names. 1998-11-11 19:10:18 +00:00
cls%seawood.org 5a73690128 Sync'd with Makefile 1998-11-11 18:37:33 +00:00
waterson%netscape.com 13a2ed25a3 Fixed unix bustage. 1998-11-11 06:28:46 +00:00
pavlov%pavlov.net e00c2ffa73 impliment nsPopUpMenu code (it is identical to nsMenu.. why are these not
inheriting each other?)
1998-11-11 04:28:30 +00:00
waterson%netscape.com ded42de2a7 Fixed enum declaration. 1998-11-11 03:39:28 +00:00
hyatt%netscape.com 5e7e2f7f8e Made some functions (inspectors) const. 1998-11-11 03:04:20 +00:00
hyatt%netscape.com d1f2b348ec Added forward decl of nsIDMWidget 1998-11-11 02:58:39 +00:00
pierre%netscape.com f6071c18d3 Initialize the 2 new fields of the nsSizeEvent (mWinWidth + mWinHeight) before dispatching the event. Fix a crash due to recursive calls in the sample viewer app. 1998-11-11 02:49:14 +00:00
hyatt%netscape.com e28082da09 Changing the interfaces to avoid a big bad diamond inheritance pattern when we
drop in the RDF implementations.
1998-11-11 01:58:21 +00:00
cls%seawood.org 288a1c7f8c Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
hyatt%netscape.com 4c639b03c8 Added interfaces. 1998-11-11 01:52:44 +00:00
hyatt%netscape.com 09e67bf95b Added new interfaces. 1998-11-11 01:52:34 +00:00
pierre%netscape.com efc32562aa Set the scroll bar dimensions to 16 pixels instead of 10. 1998-11-11 01:41:44 +00:00
pierre%netscape.com cd44a4f1a0 Set the coordinates ot the top-level object to (0,0) instead of its global coordinates. Removed the override of PointInWidget() which became obsolete after the change above. Changed Move() and Resize() to call the toolbox only when necessary. 1998-11-11 01:40:56 +00:00
hyatt%netscape.com 346b3cfd41 Added a parent access function. 1998-11-11 01:40:54 +00:00
pierre%netscape.com 9c39b47a63 Removed the override of PointInWidget() which became obsolete after the change in the coordinate system. 1998-11-11 01:40:43 +00:00
pierre%netscape.com 7e816ac32c Clean up the drawing code. Use StartDraw() and EndDraw(). It still has to be replaced with a native control. 1998-11-11 01:39:44 +00:00
pierre%netscape.com d610f386f2 Set the coordinates ot the top-level object to (0,0) instead of its global coordinates. Clipping and settting the origin is done in StartDraw() instead of Update(). 1998-11-11 01:38:33 +00:00
pierre%netscape.com a153dedcdf Remove the unused CalcTotalOffset() 1998-11-11 01:38:00 +00:00
hyatt%netscape.com 334d3657e6 Added iterators over node's children. 1998-11-11 01:37:51 +00:00
hyatt%netscape.com 7e9a36bc15 Tweaks to the APIs to change the int types. Also cleaned up IsExpanded. 1998-11-11 01:29:42 +00:00
hyatt%netscape.com 90efe9d4ba Tweaking sort enum. 1998-11-11 00:21:30 +00:00
hyatt%netscape.com a65884dea9 Added sort state enum. 1998-11-11 00:20:59 +00:00
hyatt%netscape.com e70ca286d7 Fixing a mistake in the include ifdef. 1998-11-11 00:06:20 +00:00
hyatt%netscape.com cbc9b965c9 Tweaks to the interfaces to make them internally consistent. 1998-11-10 23:44:53 +00:00
hyatt%netscape.com 0a22893a92 Files for data model widgets (and for the tree view widget in particular). 1998-11-10 23:08:22 +00:00
hyatt%netscape.com 9562d41f69 The interface for widgets that interact with a data model. 1998-11-10 23:07:02 +00:00
cls%seawood.org ab9896b411 Fixed check for motif 1998-11-10 21:55:44 +00:00
pavlov%pavlov.net 992d1adfe3 Impliment menu callbacks, fix a few paint events, remove some old debugging
messages.  Use nsWidget::Show for nsWindow::Show.
1998-11-10 04:25:51 +00:00
pavlov%pavlov.net 88183b02b3 revert changes to gtklayout. make sure some labels are shown since they are
inside the mWidget
1998-11-09 21:04:32 +00:00
pavlov%pavlov.net 5e9e3ab92b only compile one binary, not two 1998-11-09 20:36:08 +00:00
pavlov%pavlov.net 026311199b Patch from Owen Taylor <otaylor@redhat.com> that makes nsWidget inherit from
nsBaseWidget.  It moves the Create() functions into nsWidget for the base
creation so that the code is reused and not the same code in each file.  This
patch also fixes numerous nsWindow related issues.
1998-11-09 15:49:30 +00:00
pavlov%pavlov.net 53129acd64 Impliment Resize for nsWidget (and nsWindow (it calls nsWidget::Resize/Move)
Add patch for gtklayout from Owen Taylor that makes sure the widgets added are
shown and realized.  We now get a window popped up that shows the spinner,
toolbar, menu, etc etc etc.  its getting close!
1998-11-09 05:45:57 +00:00
pavlov%pavlov.net 0fb3972bbc patch from Owen Taylor <otaylor@redhat.com> that allows you to draw on the
drawing area.
1998-11-09 03:03:09 +00:00
pavlov%pavlov.net 8458deae85 Patch from Owen Taylor <otaylor@redhat.com> which uses the correct GdkWindow
to draw to.
1998-11-09 03:02:08 +00:00
pavlov%pavlov.net a6bb07efd2 nsComboBox implimentation from Chris Lahey <clahey@mich.net>
nsWidget and nsWindow changes (fix class inheritance, provide functions in
nsWidget and not nsWindow since everything is derived from nsWidget) patch
from Owen Taylor <otaylor@redhat.com>
1998-11-08 23:31:40 +00:00
pavlov%pavlov.net d761548bd6 call gtk_widget_show() on all the menuitems that are being added to the
menubar
1998-11-08 22:39:14 +00:00
pavlov%pavlov.net 6b804b3c79 Fixed nsMenu::AddMenu so that it adds menus to menus correctly. 1998-11-08 20:57:57 +00:00
pavlov%pavlov.net dee9328bdf add 'this' to the userdata of the widget so that callbacks will have the info
they need
1998-11-08 20:45:53 +00:00
pavlov%pavlov.net b1a9860b46 patch from skinny@knowhere.net for the scrollbar widget implimentation. 1998-11-08 19:36:31 +00:00
pavlov%pavlov.net 35dcddfc78 set the userdata for all of the widgets to 'this'. Use the userdata in the
callbacks in nsGtkEventHandler
1998-11-08 18:51:09 +00:00
pavlov%pavlov.net 636508ddde minor code cleanup in nsCheckButton.cpp. begin work on nsComboBox. 1998-11-08 18:19:37 +00:00
pavlov%pavlov.net 8429e10395 Fix GTK Build so that it will compile without Motif. Remove extra mWidget's
from a few widgets that were provided mWidget from nsWidget.
1998-11-08 17:54:19 +00:00
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