Commit Graph

774 Commits

Author SHA1 Message Date
hyatt%netscape.com
6a0247d42a New tree widget interface.
git-svn-id: svn://10.0.0.236/trunk@14464 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:03:19 +00:00
hyatt%netscape.com
4225eba31e Added nsITreeDMWidget interface.
git-svn-id: svn://10.0.0.236/trunk@14463 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:03:02 +00:00
waterson%netscape.com
e1efbf6233 Added forward declaration of nsIDMItem. Made sure that we actually
define NS_IDMWIDGET_IID here.


git-svn-id: svn://10.0.0.236/trunk@14457 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:58:23 +00:00
hyatt%netscape.com
3d7092a279 Adding new interfaces for toolbars.
git-svn-id: svn://10.0.0.236/trunk@14437 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:11:02 +00:00
hyatt%netscape.com
759a65c75f Modified a few interfaces and tweaked some of the names.
git-svn-id: svn://10.0.0.236/trunk@14436 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:10:18 +00:00
cls%seawood.org
b22a873ce4 Sync'd with Makefile
git-svn-id: svn://10.0.0.236/trunk@14427 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:37:33 +00:00
waterson%netscape.com
e45a3dab88 Fixed unix bustage.
git-svn-id: svn://10.0.0.236/trunk@14417 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:28:46 +00:00
pavlov%pavlov.net
1fdeb4210c impliment nsPopUpMenu code (it is identical to nsMenu.. why are these not
inheriting each other?)


git-svn-id: svn://10.0.0.236/trunk@14411 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:28:30 +00:00
waterson%netscape.com
4260761699 Fixed enum declaration.
git-svn-id: svn://10.0.0.236/trunk@14402 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:39:28 +00:00
hyatt%netscape.com
f78b12a1cd Made some functions (inspectors) const.
git-svn-id: svn://10.0.0.236/trunk@14397 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:04:20 +00:00
hyatt%netscape.com
aca7ced0f0 Added forward decl of nsIDMWidget
git-svn-id: svn://10.0.0.236/trunk@14396 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 02:58:39 +00:00
pierre%netscape.com
a6451b0f2c 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.
git-svn-id: svn://10.0.0.236/trunk@14395 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 02:49:14 +00:00
hyatt%netscape.com
47acfc72b3 Changing the interfaces to avoid a big bad diamond inheritance pattern when we
drop in the RDF implementations.


git-svn-id: svn://10.0.0.236/trunk@14393 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:58:21 +00:00
cls%seawood.org
0a35e79928 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.
git-svn-id: svn://10.0.0.236/trunk@14392 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:53:49 +00:00
hyatt%netscape.com
a47c9325cd Added interfaces.
git-svn-id: svn://10.0.0.236/trunk@14391 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:52:44 +00:00
hyatt%netscape.com
f96b5338a5 Added new interfaces.
git-svn-id: svn://10.0.0.236/trunk@14390 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:52:34 +00:00
pierre%netscape.com
32cba0e347 Set the scroll bar dimensions to 16 pixels instead of 10.
git-svn-id: svn://10.0.0.236/trunk@14388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:41:44 +00:00
pierre%netscape.com
a1df98431f 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.


git-svn-id: svn://10.0.0.236/trunk@14387 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:56 +00:00
hyatt%netscape.com
20304f7d91 Added a parent access function.
git-svn-id: svn://10.0.0.236/trunk@14386 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:54 +00:00
pierre%netscape.com
2e047c30a0 Removed the override of PointInWidget() which became obsolete after the change in the coordinate system.
git-svn-id: svn://10.0.0.236/trunk@14385 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:43 +00:00
pierre%netscape.com
784d87b96e Clean up the drawing code. Use StartDraw() and EndDraw(). It still has to be replaced with a native control.
git-svn-id: svn://10.0.0.236/trunk@14384 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:39:44 +00:00
pierre%netscape.com
78526b9f65 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().


git-svn-id: svn://10.0.0.236/trunk@14383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:38:33 +00:00
pierre%netscape.com
af1dba3c99 Remove the unused CalcTotalOffset()
git-svn-id: svn://10.0.0.236/trunk@14382 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:38:00 +00:00
hyatt%netscape.com
67f8c6e2f5 Added iterators over node's children.
git-svn-id: svn://10.0.0.236/trunk@14381 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:37:51 +00:00
hyatt%netscape.com
ad1f1541cb Tweaks to the APIs to change the int types. Also cleaned up IsExpanded.
git-svn-id: svn://10.0.0.236/trunk@14380 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:29:42 +00:00
hyatt%netscape.com
8f61c0fe88 Tweaking sort enum.
git-svn-id: svn://10.0.0.236/trunk@14377 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:21:30 +00:00
hyatt%netscape.com
cdbf2dd313 Added sort state enum.
git-svn-id: svn://10.0.0.236/trunk@14376 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:20:59 +00:00
hyatt%netscape.com
f0138a96d7 Fixing a mistake in the include ifdef.
git-svn-id: svn://10.0.0.236/trunk@14374 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:06:20 +00:00
hyatt%netscape.com
3731b62f54 Tweaks to the interfaces to make them internally consistent.
git-svn-id: svn://10.0.0.236/trunk@14373 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:44:53 +00:00
hyatt%netscape.com
13dcb792a8 Files for data model widgets (and for the tree view widget in particular).
git-svn-id: svn://10.0.0.236/trunk@14372 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:08:22 +00:00
hyatt%netscape.com
54c174e229 The interface for widgets that interact with a data model.
git-svn-id: svn://10.0.0.236/trunk@14371 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:07:02 +00:00
cls%seawood.org
38ef0246e0 Fixed check for motif
git-svn-id: svn://10.0.0.236/trunk@14367 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:55:44 +00:00
pavlov%pavlov.net
a14fdfbd96 Impliment menu callbacks, fix a few paint events, remove some old debugging
messages.  Use nsWidget::Show for nsWindow::Show.


git-svn-id: svn://10.0.0.236/trunk@14327 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:25:51 +00:00
pavlov%pavlov.net
5150414c26 revert changes to gtklayout. make sure some labels are shown since they are
inside the mWidget


git-svn-id: svn://10.0.0.236/trunk@14298 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:04:32 +00:00
pavlov%pavlov.net
d44ef64683 only compile one binary, not two
git-svn-id: svn://10.0.0.236/trunk@14297 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:36:08 +00:00
pavlov%pavlov.net
598102d7c1 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.


git-svn-id: svn://10.0.0.236/trunk@14281 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:49:30 +00:00
pavlov%pavlov.net
3c65e04df8 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!


git-svn-id: svn://10.0.0.236/trunk@14278 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 05:45:57 +00:00
pavlov%pavlov.net
9b477477c8 patch from Owen Taylor <otaylor@redhat.com> that allows you to draw on the
drawing area.


git-svn-id: svn://10.0.0.236/trunk@14277 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:03:09 +00:00
pavlov%pavlov.net
9e26b77291 Patch from Owen Taylor <otaylor@redhat.com> which uses the correct GdkWindow
to draw to.


git-svn-id: svn://10.0.0.236/trunk@14276 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:02:08 +00:00
pavlov%pavlov.net
6cd3539dc6 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>


git-svn-id: svn://10.0.0.236/trunk@14274 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 23:31:40 +00:00
pavlov%pavlov.net
8c7dd7cd60 call gtk_widget_show() on all the menuitems that are being added to the
menubar


git-svn-id: svn://10.0.0.236/trunk@14273 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 22:39:14 +00:00
pavlov%pavlov.net
217523a5d1 Fixed nsMenu::AddMenu so that it adds menus to menus correctly.
git-svn-id: svn://10.0.0.236/trunk@14270 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:57:57 +00:00
pavlov%pavlov.net
0fe9befefc add 'this' to the userdata of the widget so that callbacks will have the info
they need


git-svn-id: svn://10.0.0.236/trunk@14269 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:45:53 +00:00
pavlov%pavlov.net
0e76c6696d patch from skinny@knowhere.net for the scrollbar widget implimentation.
git-svn-id: svn://10.0.0.236/trunk@14268 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 19:36:31 +00:00
pavlov%pavlov.net
1ca0554355 set the userdata for all of the widgets to 'this'. Use the userdata in the
callbacks in nsGtkEventHandler


git-svn-id: svn://10.0.0.236/trunk@14267 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:51:09 +00:00
pavlov%pavlov.net
3246866ead minor code cleanup in nsCheckButton.cpp. begin work on nsComboBox.
git-svn-id: svn://10.0.0.236/trunk@14266 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:19:37 +00:00
pavlov%pavlov.net
cc3b90eac2 Fix GTK Build so that it will compile without Motif. Remove extra mWidget's
from a few widgets that were provided mWidget from nsWidget.


git-svn-id: svn://10.0.0.236/trunk@14265 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 17:54:19 +00:00
pavlov%pavlov.net
bab432bdde initial stab at converting GdkEvents into mozilla events.
git-svn-id: svn://10.0.0.236/trunk@14262 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 05:53:52 +00:00
pavlov%pavlov.net
7dda2eea3d 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


git-svn-id: svn://10.0.0.236/trunk@14261 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:34:08 +00:00
pavlov%pavlov.net
f8353761e5 fix ::Remove so that it works on both TextWidget and TextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@14259 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:12:42 +00:00