Commit Graph

3461 Commits

Author SHA1 Message Date
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
pavlov%pavlov.net
fd6626fd2e Initial nsText* implimentation. This should be about 90% functional.
git-svn-id: svn://10.0.0.236/trunk@14258 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:05:34 +00:00
pavlov%pavlov.net
3856fcd990 fix menu code... submenus are not added correctly for some reason, but the
earlier warnings are gone.


git-svn-id: svn://10.0.0.236/trunk@14255 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 02:05:02 +00:00
pavlov%pavlov.net
e64ca00484 Menu's are now displayed correctly (almost).
git-svn-id: svn://10.0.0.236/trunk@14251 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 01:13:43 +00:00
msw%gimp.org
cec9a1349a Oops - not using this.
git-svn-id: svn://10.0.0.236/trunk@14242 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 18:43:17 +00:00
pavlov%pavlov.net
35e4f0d399 initialize mWidget to null
git-svn-id: svn://10.0.0.236/trunk@14239 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:30:50 +00:00
pavlov%pavlov.net
2313f1b071 Add the menu bar to the Window correctly.
git-svn-id: svn://10.0.0.236/trunk@14237 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:23:30 +00:00
msw%gimp.org
43d0d8905a Move all the widget to inherit from nsWidget, not nsWindow. Add stub
for mouse events in nsWidget


git-svn-id: svn://10.0.0.236/trunk@14236 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:00:11 +00:00
pavlov%pavlov.net
3282afa5c2 convert nsLabel's to nsWidget instead of nsWindow. Impliment part of
nsPopUpMenu


git-svn-id: svn://10.0.0.236/trunk@14235 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 15:18:51 +00:00
msw%gimp.org
59f0348d97 set the size of buttons on creation. Need to check to make sure this
is the Right Way.


git-svn-id: svn://10.0.0.236/trunk@14234 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:43:47 +00:00
pavlov%pavlov.net
6fd52ccd4f Initial GTK code for menus.
git-svn-id: svn://10.0.0.236/trunk@14224 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 02:05:59 +00:00
saari%netscape.com
7ea3e11e01 Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.


git-svn-id: svn://10.0.0.236/trunk@14221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 01:45:03 +00:00
pavlov%pavlov.net
03823732fb show the widgets so that they appear on the screen
git-svn-id: svn://10.0.0.236/trunk@14215 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 23:46:18 +00:00
shaver%netscape.com
b1c2d66c81 created new nsWidget common baseclass, and reparented nsButton to use it -- more reparenting to follow
git-svn-id: svn://10.0.0.236/trunk@14214 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 23:33:15 +00:00