Commit Graph

721 Commits

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