Commit Graph

828 Commits

Author SHA1 Message Date
pavlov%pavlov.net
b08b22d323 made the gdkcolor to nscolor code a tad cleaner. removed the
gtk_layout_freeze and gtk_layout_thaw calls as the object being resized was
not always a layout.
1998-11-18 03:58:54 +00:00
jfrancis%netscape.com
150af5ea50 more shared lib conversion work. 1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
cd1419e599 more shared lib conversion work 1998-11-18 02:43:45 +00:00
jfrancis%netscape.com
f6a60f606a shared lib conversion, phase 1 1998-11-18 00:55:05 +00:00
jfrancis%netscape.com
4b6357d0df First Checked In. 1998-11-18 00:54:26 +00:00
pinkerton%netscape.com
6b9ba62564 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn(). 1998-11-18 00:46:22 +00:00
pinkerton%netscape.com
3441cc43d6 Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications. 1998-11-17 17:34:47 +00:00
pinkerton%netscape.com
03125acd0c since nsMacMessagePump is back (as a default imp), export it as well. 1998-11-17 17:22:05 +00:00
pinkerton%netscape.com
83a64aac74 Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own. 1998-11-17 17:20:06 +00:00
pinkerton%netscape.com
e019f297bb First Checked In. 1998-11-17 17:19:01 +00:00
msw%gimp.org
0f07dff43c Implemented Invalidate class members, reverted Resize funkiness 1998-11-17 05:57:27 +00:00
jfrancis%netscape.com
798674dd4a Shared Lib conversion 1998-11-17 05:37:42 +00:00
msw%gimp.org
b9efc8615c Resizes are faster, deleted old Motif code in nsWindow::Scroll 1998-11-17 01:30:27 +00:00
pinkerton%netscape.com
75adbe82f7 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. 1998-11-17 01:08:01 +00:00
rods%netscape.com
3ab253fc87 Added checks for null objects so printing would work. 1998-11-16 22:18:30 +00:00
hyatt%netscape.com
ec9902304f Tweaking interfaces to move some functionality out of the treedatamodel and into the base. 1998-11-16 20:53:27 +00:00
hyatt%netscape.com
23413a2894 Added SetOpenState. 1998-11-16 20:11:06 +00:00
pinkerton%netscape.com
e7bbdc3354 Turn on debugging info for message sink and text area cpp files. 1998-11-16 18:45:30 +00:00
beard%netscape.com
a4f8f936e9 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. 1998-11-15 23:31:37 +00:00
beard%netscape.com
468bed8b7c Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. 1998-11-15 23:30:19 +00:00
pavlov%pavlov.net
cd756a5873 removed unused files 1998-11-15 22:27:32 +00:00
beard%netscape.com
2395b90562 Fixed SetThumbSize to not crash when mContext == NULL. 1998-11-15 21:58:09 +00:00
beard%netscape.com
b78b9df184 Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc. 1998-11-15 21:56:40 +00:00
pavlov%pavlov.net
9c932f10f0 removed lots of printf's that were no longer needed 1998-11-15 19:32:36 +00:00
pavlov%pavlov.net
6a78ddfb2c more work on the resizing. this works a tad better 1998-11-15 18:59:09 +00:00
pavlov%pavlov.net
15a87bb4f4 Initial work on resizing. This works somewhat 1998-11-15 18:28:16 +00:00
msw%gimp.org
ce8640cd4f Oops - scrolling was set up backwards. 1998-11-15 17:30:31 +00:00
pavlov%pavlov.net
40b7030271 Impliment the key press events 1998-11-15 07:38:43 +00:00
msw%gimp.org
ee9e2e7e0d Initial scrolling support - it's jumpy, but it works 1998-11-15 07:24:57 +00:00
pavlov%pavlov.net
f52a3251b8 add and remove items correctly. this fixes crashes on pages with comboboxes 1998-11-15 06:22:03 +00:00
pavlov%pavlov.net
311fa18fc8 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.
1998-11-14 21:08:27 +00:00
pavlov%pavlov.net
aa71fe03bd 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
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net
64f20c0083 fix for removing children, add gtk_exit() to the exit call of nsAppShell and
redid a few move functions
1998-11-14 02:15:06 +00:00
michaelp%netscape.com
b731d5dc2c changes to support printing architecture and actual printing under windows. 1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
fbe9c5461a fix gtklayout so that it removes children properly. add a few more debugging
messages to nsWidget and nsWindow
1998-11-14 01:42:42 +00:00
pavlov%pavlov.net
6bc7fc2e02 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 :-)
1998-11-13 16:37:03 +00:00
akkana%netscape.com
17fcf4b232 Fix more build bustage (IRIX) 1998-11-13 02:12:55 +00:00
akkana%netscape.com
25fac01ed2 Define gAppContext -- fix crash on startup 1998-11-13 00:23:16 +00:00
shaver%netscape.com
0b3a802ec5 add proper QI and Create calls for RO text widget 1998-11-12 23:54:34 +00:00
pinkerton%netscape.com
0ed71f1c71 Replacing message pump with message sink. The pump is "client" code and has been moved out there to better separate the event handling. 1998-11-12 21:25:26 +00:00
pinkerton%netscape.com
8af57bf976 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. 1998-11-12 21:24:16 +00:00
pinkerton%netscape.com
b3af37fea6 export nsMacMessageSink instead to separate the client from the internals of the event loop. 1998-11-12 21:23:02 +00:00
pinkerton%netscape.com
eb064c927c Moved into viewer, since these are "client" routines and don't belong under
Widget.
1998-11-12 21:22:24 +00:00
pinkerton%netscape.com
73e3f11c22 First Checked In. 1998-11-12 21:20:36 +00:00
alecf%netscape.com
422187a877 fix Solaris/gcc bustage 1998-11-12 19:19:09 +00:00
pinkerton%netscape.com
29bed225ad Use the correct prefix files to pick up all our settings. 1998-11-12 06:00:05 +00:00
pinkerton%netscape.com
1c038ee24d Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file. 1998-11-12 05:59:31 +00:00
pinkerton%netscape.com
4de682c0ce First Checked In. 1998-11-12 05:57:33 +00:00
waterson%netscape.com
0de40c76c3 Added forward decl of nsIDMItem. 1998-11-12 02:11:07 +00:00
hyatt%netscape.com
57a1394928 Added a method for counting columns in the tree. 1998-11-12 01:03:25 +00:00