pavlov%pavlov.net
867d43cb50
Fix gtklayout child sizing problems, add gtk_widget_set_name to all of the
...
widgets for a bunch of debugging into that is being printf'd. Fixed most all
of nsListBox so that it works correctly. We now have widgets working! yippie!
I almost have gfx working too... heehee :-)
git-svn-id: svn://10.0.0.236/trunk@14595 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:37:03 +00:00
akkana%netscape.com
6173d15046
Fix more build bustage (IRIX)
...
git-svn-id: svn://10.0.0.236/trunk@14567 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:12:55 +00:00
akkana%netscape.com
8195367fcf
Define gAppContext -- fix crash on startup
...
git-svn-id: svn://10.0.0.236/trunk@14557 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:23:16 +00:00
pinkerton%netscape.com
21d40ad4ca
Separate the event loop in the client from the nglayout/widget provided code. Now creates a message pump (client side) and a message sink (nglayout side) for event handling.
...
git-svn-id: svn://10.0.0.236/trunk@14526 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:24:16 +00:00
pinkerton%netscape.com
f073c1311e
export nsMacMessageSink instead to separate the client from the internals of the event loop.
...
git-svn-id: svn://10.0.0.236/trunk@14525 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:23:02 +00:00
pinkerton%netscape.com
402a4f0911
Moved into viewer, since these are "client" routines and don't belong under
...
Widget.
git-svn-id: svn://10.0.0.236/trunk@14524 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:22:24 +00:00
pinkerton%netscape.com
0d9eab1aa6
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@14523 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:20:36 +00:00
alecf%netscape.com
d71c278a30
fix Solaris/gcc bustage
...
git-svn-id: svn://10.0.0.236/trunk@14513 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 19:19:09 +00:00
pinkerton%netscape.com
f938f75ace
Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.
...
git-svn-id: svn://10.0.0.236/trunk@14498 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 05:59:31 +00:00
pavlov%pavlov.net
156ff8d3cc
implimentation of nsDialog, few scrollbar fixes
...
git-svn-id: svn://10.0.0.236/trunk@14476 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:09:04 +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
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
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
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
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
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
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
shaver%netscape.com
2fc303099e
improve nsWindow to handle toplevel and embedded windows, and use GtkLayout
...
git-svn-id: svn://10.0.0.236/trunk@14207 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 18:26:30 +00:00
shaver%netscape.com
4bc88b9fbd
fix compile bustage
...
git-svn-id: svn://10.0.0.236/trunk@14203 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:11:58 +00:00