827 Commits

Author SHA1 Message Date
jfrancis%netscape.com
da170b8a62 more shared lib conversion work.
git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
910475eaff more shared lib conversion work
git-svn-id: svn://10.0.0.236/trunk@14850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:43:45 +00:00
jfrancis%netscape.com
b3f2408262 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14828 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:55:05 +00:00
jfrancis%netscape.com
5fd90b887b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14827 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:54:26 +00:00
pinkerton%netscape.com
7f42b90636 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn().
git-svn-id: svn://10.0.0.236/trunk@14825 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:46:22 +00:00
pinkerton%netscape.com
d99502389c Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications.
git-svn-id: svn://10.0.0.236/trunk@14810 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:34:47 +00:00
pinkerton%netscape.com
a25d78a7ef since nsMacMessagePump is back (as a default imp), export it as well.
git-svn-id: svn://10.0.0.236/trunk@14809 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:22:05 +00:00
pinkerton%netscape.com
ec770e398c Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own.
git-svn-id: svn://10.0.0.236/trunk@14806 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:20:06 +00:00
pinkerton%netscape.com
13254b3c93 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14805 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:19:01 +00:00
msw%gimp.org
e7ea193c8d Implemented Invalidate class members, reverted Resize funkiness
git-svn-id: svn://10.0.0.236/trunk@14797 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:57:27 +00:00
jfrancis%netscape.com
b80ec268a0 Shared Lib conversion
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
msw%gimp.org
2ecb1c8140 Resizes are faster, deleted old Motif code in nsWindow::Scroll
git-svn-id: svn://10.0.0.236/trunk@14779 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:30:27 +00:00
pinkerton%netscape.com
fa6c94850f fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
rods%netscape.com
8cacf168e5 Added checks for null objects so printing would work.
git-svn-id: svn://10.0.0.236/trunk@14758 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 22:18:30 +00:00
hyatt%netscape.com
8ee2eaab39 Tweaking interfaces to move some functionality out of the treedatamodel and into the base.
git-svn-id: svn://10.0.0.236/trunk@14750 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:53:27 +00:00
hyatt%netscape.com
44a586b358 Added SetOpenState.
git-svn-id: svn://10.0.0.236/trunk@14748 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:11:06 +00:00
pinkerton%netscape.com
803d9e359a Turn on debugging info for message sink and text area cpp files.
git-svn-id: svn://10.0.0.236/trunk@14739 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:45:30 +00:00
beard%netscape.com
991d915062 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. Moved some calls from Destroy to the destructor to deal with a refcounting bug.
git-svn-id: svn://10.0.0.236/trunk@14730 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:31:37 +00:00
beard%netscape.com
6c99d5aed6 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates.
git-svn-id: svn://10.0.0.236/trunk@14729 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:30:19 +00:00
pavlov%pavlov.net
5ff1e9a95f removed unused files
git-svn-id: svn://10.0.0.236/trunk@14728 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 22:27:32 +00:00
beard%netscape.com
5ea03f970d Fixed SetThumbSize to not crash when mContext == NULL.
git-svn-id: svn://10.0.0.236/trunk@14727 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:58:09 +00:00
beard%netscape.com
33bc4f922b Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc.
git-svn-id: svn://10.0.0.236/trunk@14726 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:56:40 +00:00
pavlov%pavlov.net
97b10e9705 removed lots of printf's that were no longer needed
git-svn-id: svn://10.0.0.236/trunk@14723 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:36 +00:00
pavlov%pavlov.net
274e6e4f5e more work on the resizing. this works a tad better
git-svn-id: svn://10.0.0.236/trunk@14722 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:59:09 +00:00
pavlov%pavlov.net
49e4bc2251 Initial work on resizing. This works somewhat
git-svn-id: svn://10.0.0.236/trunk@14721 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:28:16 +00:00
msw%gimp.org
9aed506fc8 Oops - scrolling was set up backwards.
git-svn-id: svn://10.0.0.236/trunk@14720 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:30:31 +00:00
pavlov%pavlov.net
257f830305 Impliment the key press events
git-svn-id: svn://10.0.0.236/trunk@14699 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:38:43 +00:00
msw%gimp.org
f7e05da556 Initial scrolling support - it's jumpy, but it works
git-svn-id: svn://10.0.0.236/trunk@14698 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:24:57 +00:00
pavlov%pavlov.net
1280035af5 add and remove items correctly. this fixes crashes on pages with comboboxes
git-svn-id: svn://10.0.0.236/trunk@14693 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 06:22:03 +00:00
pavlov%pavlov.net
7c905feb11 use gtk styles for the look and feel. this makes everything look much more
together.  use the correct window when we create the GC for nsWidgets, and
move one of the callbacks into the correct place.


git-svn-id: svn://10.0.0.236/trunk@14677 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:08:27 +00:00
pavlov%pavlov.net
4b8b51488c use the gdkrgb colormap/visual for the widget creation. put nscoord() around
two doubles in nsGtkEventHandler to fix a compiler warning.  call gdk_rgb_init
in nsAppShell and not in the gfx stuff multiple times


git-svn-id: svn://10.0.0.236/trunk@14675 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net
0d0c995122 fix for removing children, add gtk_exit() to the exit call of nsAppShell and
redid a few move functions


git-svn-id: svn://10.0.0.236/trunk@14653 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:15:06 +00:00
michaelp%netscape.com
7c96d12312 changes to support printing architecture and actual printing under windows.
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
f6b7bf5869 fix gtklayout so that it removes children properly. add a few more debugging
messages to nsWidget and nsWindow


git-svn-id: svn://10.0.0.236/trunk@14645 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:42:42 +00:00
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
shaver%netscape.com
d9f2935397 add proper QI and Create calls for RO text widget
git-svn-id: svn://10.0.0.236/trunk@14552 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:54:34 +00:00
pinkerton%netscape.com
bc413017e9 Replacing message pump with message sink. The pump is "client" code and has been moved out there to better separate the event handling.
git-svn-id: svn://10.0.0.236/trunk@14528 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:25:26 +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
8d48b89986 Use the correct prefix files to pick up all our settings.
git-svn-id: svn://10.0.0.236/trunk@14499 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 06:00:05 +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
pinkerton%netscape.com
718cf50bfc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14497 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 05:57:33 +00:00
waterson%netscape.com
db5b17eb18 Added forward decl of nsIDMItem.
git-svn-id: svn://10.0.0.236/trunk@14490 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 02:11:07 +00:00
hyatt%netscape.com
ab50ba4f97 Added a method for counting columns in the tree.
git-svn-id: svn://10.0.0.236/trunk@14487 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:03:25 +00:00
hyatt%netscape.com
038b04e513 Added initializers to the DataModel. Changed the interface hierarchy
again (after much debate).


git-svn-id: svn://10.0.0.236/trunk@14479 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:02:26 +00:00