pavlov%pavlov.net
120268aa09
nsText* removed unused class variables.
...
nsWidget use the nsLookAndFeel values instead of defining the colors again.
1998-12-06 04:31:13 +00:00
pavlov%pavlov.net
7635f099df
set texts for text boxes correctly. impliment InsertText.
1998-12-06 03:14:23 +00:00
pierre%netscape.com
154cd3db3b
Moved the Mac Toolbox initialization from nsToolkit to nsAppShell, the reason being that nsAppShell is destined to be replaced by embedding applications while nsToolkit isn't.
1998-12-06 00:51:16 +00:00
pierre%netscape.com
2a0605988d
StartDraw() initializes the rendering context; it allows Update() to pass the rendering context to the children.
1998-12-06 00:37:46 +00:00
pierre%netscape.com
320e632b52
removed the ::IdleControl() stuff (it was intended for edit fields but they have been implemented as LPeriodicals)
1998-12-06 00:36:15 +00:00
ramiro%netscape.com
151ac529c1
This patch set just makes sure that all functions that are
...
supposed to return values actually do so, to keep the Solaris
native compiler happy.
Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:54:00 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
pavlov%pavlov.net
582b673aa6
Fix some code... its late isn't it? no more random looping due to resizing
...
code.
1998-12-05 03:54:30 +00:00
hyatt%netscape.com
f50cab1781
Oops. Fixing build bustage.
1998-12-04 23:55:48 +00:00
hyatt%netscape.com
cbbb240c02
Tweaks.
1998-12-04 23:05:50 +00:00
hyatt%netscape.com
0dab208fd2
Added support for vertical dividers.
1998-12-04 22:15:47 +00:00
pinkerton%netscape.com
c81964c2c5
Changed it so that triangle is drawn with lines instead of polygon
...
because of differences in gfx between platforms.
1998-12-04 21:36:43 +00:00
akkana%netscape.com
5da3c4fcdf
base/src/nscore.h
1998-12-04 21:36:23 +00:00
pinkerton%netscape.com
6aa787e50c
now draws triangle in upper right to indicate this button has a menu. Draws in gray when the button is disabled.
1998-12-04 16:34:56 +00:00
dcone%netscape.com
88115c192c
Added printing support
1998-12-04 15:02:57 +00:00
dcone%netscape.com
67bb22ffd2
First Checked In.
1998-12-04 15:02:26 +00:00
pinkerton%netscape.com
343027d449
lighten the widget bg colors so this things finally looks like macNavigator again.
1998-12-04 01:39:36 +00:00
slamm%netscape.com
45fedef1f0
Add support for hyatt's treeview.
1998-12-04 01:06:58 +00:00
slamm%netscape.com
1bae821802
Build hyatt's treeview on Unix.
1998-12-04 01:06:53 +00:00
hyatt%netscape.com
ef3edbb7b0
Tweaked the tree colors.
1998-12-03 23:55:15 +00:00
hyatt%netscape.com
4af3f59416
The tree view column pushers disable properly. Hidden/shown columns remember
...
their desired widths.
1998-12-03 22:15:51 +00:00
pinkerton%netscape.com
7c7b712223
make sure the port is set correctly before we call ::SetOrigin on mouse events.
1998-12-03 22:05:49 +00:00
mjudge%netscape.com
669742abb5
changing enumerator interface again
1998-12-03 21:46:27 +00:00
mjudge%netscape.com
6a4ef991ee
changing enumerator interface
1998-12-03 21:46:06 +00:00
wtc%netscape.com
014c54462a
Added a static cast from void* to GtkWidget*.
1998-12-03 06:35:05 +00:00
saari%netscape.com
1576d7c24e
Mac - Temporarly turning off the passing down of rendering contexts to children during updates to facilitate a hack that improves rendering. The hack is getting around the Windows centric XP code.
1998-12-03 04:26:46 +00:00
pinkerton%netscape.com
fff8fe4b1e
replace NS_IMETHOD with expanded version to make vc6 happy.
1998-12-03 01:45:40 +00:00
pinkerton%netscape.com
d28de534ca
move the tree and toolbar files into their own group.
1998-12-03 01:27:41 +00:00
pinkerton%netscape.com
f8f5bef93e
general cleanup, change PaintLines() to PaintRows(), cleaned up cntr.
1998-12-03 01:27:24 +00:00
pinkerton%netscape.com
cbea612556
make the toolbar inherit from the dataModelWidget class like the trees.
1998-12-03 01:26:39 +00:00
pinkerton%netscape.com
4ad7e18ed5
clean up a warning and some comments.
1998-12-03 01:26:10 +00:00
pinkerton%netscape.com
cb881e2b8e
moved eDMImageLoaded constant here because this is the only place it is used.
1998-12-03 01:25:50 +00:00
pinkerton%netscape.com
291af9a28b
reshuffled some things to remove include dependancies, etc.
1998-12-03 01:25:26 +00:00
hyatt%netscape.com
0279740d43
Removal of the mutable keyword (to keep VC4.2 happy), and a fix to make
...
sure the folder and trigger images load for everyone.
1998-12-02 23:04:55 +00:00
pavlov%pavlov.net
b47b3876de
removed extranious #include "gtklayout.h"'s and #ifndef GTK_HAVE_FEATURES_1_1_6
...
in gtklayout.c and nsWidget.h so that we use the gtklayout from gtk 1.1.6 if
available.
1998-12-02 19:54:34 +00:00
pinkerton%netscape.com
0393426e92
add the files to build the xpfe tree view.
1998-12-02 19:49:27 +00:00
pinkerton%netscape.com
7a96113028
export the tree view.
1998-12-02 19:49:06 +00:00
pinkerton%netscape.com
655f344bbe
add the tree view to the widget factory.
1998-12-02 19:48:55 +00:00
pinkerton%netscape.com
a530a48ff9
fix PRBool and an unwanted assignment in an if().
1998-12-02 19:48:28 +00:00
dcone%netscape.com
26ca8b6da1
Changed the name so the file can be used on the Mac
1998-12-02 16:06:31 +00:00
pierre%netscape.com
67e6a0fc37
changed eMetric_TextFieldHeight to 16 from 30
1998-12-02 10:15:55 +00:00
pierre%netscape.com
aa5b68b953
removed the 2 Resize() methods
1998-12-02 10:15:41 +00:00
pierre%netscape.com
2f80120a28
Update() receives the rendering context as a parameter and passes it to the children
1998-12-02 10:15:22 +00:00
hyatt%netscape.com
4f81d4781a
Eliminated my usage of the "mutable" keyword, since VC4.2 chokes on it.
1998-12-02 07:20:39 +00:00
saari%netscape.com
6691a47a01
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
1998-12-02 02:43:19 +00:00
saari%netscape.com
1bbd74bf37
This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp
- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.
To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
/\/\/\/\/\//\
mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------
1998-12-02 02:42:19 +00:00
saari%netscape.com
6091559407
This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp
- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.
To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
/\/\/\/\/\//\
mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------
1998-12-02 02:26:08 +00:00
hyatt%netscape.com
748accd789
Fixing the widget factory for tree views.
1998-12-02 01:45:15 +00:00
hyatt%netscape.com
a1d435f489
Fixing the widget factory for the tree view.
1998-12-02 01:44:53 +00:00
hyatt%netscape.com
d973cca63c
The tree view interface.
1998-12-02 01:44:24 +00:00
hyatt%netscape.com
eea32baf14
Initial checkin of the tree widget and the data model architecture (that will
...
be used for toolbars and trees).
1998-12-02 01:43:26 +00:00
hyatt%netscape.com
6ba325dd88
Deletion of outdated tree widget and toolbar interfaces and updating of
...
the appropriate makefiles.
1998-12-02 01:38:54 +00:00
beard%netscape.com
c504261ae7
Moved to shared libraries, building in mozilla/dist, linking against many fewer libraries.
1998-12-01 22:25:36 +00:00
mjudge%netscape.com
46a8b56138
fix for mac no ')'
1998-12-01 21:39:13 +00:00
mjudge%netscape.com
076c10919b
didnt check in the one file i needed!! not my day
1998-12-01 21:04:33 +00:00
mjudge%netscape.com
b52a87e5f8
fixing mac build bustages
1998-12-01 20:58:53 +00:00
mjudge%netscape.com
d6fc29ce6a
casting like mad
1998-12-01 20:56:29 +00:00
mjudge%netscape.com
d3453f41c2
fixing build bustage!
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
dd39138c7f
fixing bug in windows code for build
1998-12-01 20:20:40 +00:00
mjudge%netscape.com
b29ecad268
fixing mac build bustage
1998-12-01 20:17:01 +00:00
beard%netscape.com
1cc22fb274
Uses shared libraries, targets get built in mozilla/dist/viewer[Debug].
1998-12-01 20:00:35 +00:00
mjudge%netscape.com
ab27bd9d39
fixing tests to use the enumerator correctly
1998-12-01 17:58:50 +00:00
mjudge%netscape.com
43d3cd4a56
fixing enumerator to do the right thing
1998-12-01 17:58:27 +00:00
mjudge%netscape.com
5969fa01ca
changes enumerator to do the right thing
1998-12-01 17:58:10 +00:00
beard%netscape.com
c0c7bc482d
Mac shared library migration.
1998-11-30 22:15:00 +00:00
msw%gimp.org
ada6ca7ced
Rewrote the resize handler. This fixes the crashes at startup. There are
...
still conditions to make this go into infinite loop.
All callbacks/event handlers now return proper values.
1998-11-30 05:53:17 +00:00
michaelp%netscape.com
337fdd7b1a
fixed resource leak.
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
6458aae507
added missing NS_INIT_REFCNT().
1998-11-28 04:21:40 +00:00
shaver%netscape.com
b1bc8c407e
revert pavlov's changes at his request
1998-11-25 17:50:35 +00:00
pavlov%pavlov.net
2eefc27dbf
remove my last commit. these caused more bugs than they were intended to
...
catch
1998-11-25 12:51:53 +00:00
kipp%netscape.com
0b34fa58c9
Fixed compilation bug with method signature not matching baseclass method
1998-11-25 04:14:55 +00:00
pavlov%pavlov.net
c73b9d994a
updated gtklayout code. Added lots of assertions to the widget code
1998-11-25 02:34:40 +00:00
rods%netscape.com
b05e123c34
Added paint method for printing (and possible future owner draw)
1998-11-24 14:57:09 +00:00
joki%netscape.com
16d400d1bf
Add keypress event type to nsGUIEvent
1998-11-24 07:45:26 +00:00
pavlov%pavlov.net
4b088bfcea
import of new gtk code by Owen Taylor <otaylor@redhat.com>. This code should
...
support GTK_NO_WINDOW widgets now.
1998-11-24 02:06:29 +00:00
pavlov%pavlov.net
63d7de7066
remove shadow from menubar to provide a consistant look.
1998-11-23 23:41:47 +00:00
rpotts%netscape.com
3dd54dd7bb
Add a missing NS_RELEASE(...) for a QI(...)
1998-11-22 09:27:30 +00:00
pavlov%pavlov.net
b57394f76f
fix transparent icons and flipped the nscolor to gdkcolor R and B colors
1998-11-22 04:43:24 +00:00
pavlov%pavlov.net
5cf32dcba0
Setup the X hints for when mozilla is minimized. Added icon.
1998-11-21 21:49:17 +00:00
cyeh%netscape.com
65038e9551
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
pavlov%pavlov.net
17ead6a5c6
small bug fix.
1998-11-20 04:42:03 +00:00
pavlov%pavlov.net
fcfddbd59f
initial files for the tab widget
1998-11-20 04:27:32 +00:00
saari%netscape.com
19c5ad3406
Just a comment on nsWindow's mBounds member
1998-11-20 01:10:44 +00:00
pinkerton%netscape.com
feabe7080f
Added SetCursor() override so that we will change the cursor when layout tells us.
1998-11-19 21:54:35 +00:00
msw%gimp.org
b7e208be32
This is a hack to service the PLEventQueue that nsWebShell posts events to
...
such as anchor clicking. This is only a temporary fix. We need some other
way to do this.
1998-11-19 21:12:02 +00:00
msw%gimp.org
aabc8206e0
Implemented the start of the text widget onkey callback. You can now type
...
URLs in the location field of xpviewer and hit enter.
1998-11-19 05:33:13 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
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
hyatt%netscape.com
05d245d2d1
Added initializers to the DataModel. Changed the interface hierarchy
...
again (after much debate).
1998-11-12 00:02:26 +00:00
alecf%netscape.com
15a0f19d2d
fix autoconf bustage
1998-11-11 23:48:24 +00:00
pavlov%pavlov.net
1cca075fad
implimentation of nsDialog, few scrollbar fixes
1998-11-11 23:09:04 +00:00
hyatt%netscape.com
3694db19c3
Adding the toolbar widget interface to the data model.
1998-11-11 22:10:50 +00:00
hyatt%netscape.com
21b75c4ff3
New tree widget interface.
1998-11-11 22:03:19 +00:00
hyatt%netscape.com
795f5cd07a
Added nsITreeDMWidget interface.
1998-11-11 22:03:02 +00:00
waterson%netscape.com
2e6dc2c908
Added forward declaration of nsIDMItem. Made sure that we actually
...
define NS_IDMWIDGET_IID here.
1998-11-11 20:58:23 +00:00
hyatt%netscape.com
ac9145084b
Adding new interfaces for toolbars.
1998-11-11 19:11:02 +00:00
hyatt%netscape.com
8e8b566a44
Modified a few interfaces and tweaked some of the names.
1998-11-11 19:10:18 +00:00
cls%seawood.org
5a73690128
Sync'd with Makefile
1998-11-11 18:37:33 +00:00
waterson%netscape.com
13a2ed25a3
Fixed unix bustage.
1998-11-11 06:28:46 +00:00
pavlov%pavlov.net
e00c2ffa73
impliment nsPopUpMenu code (it is identical to nsMenu.. why are these not
...
inheriting each other?)
1998-11-11 04:28:30 +00:00
waterson%netscape.com
ded42de2a7
Fixed enum declaration.
1998-11-11 03:39:28 +00:00
hyatt%netscape.com
5e7e2f7f8e
Made some functions (inspectors) const.
1998-11-11 03:04:20 +00:00
hyatt%netscape.com
d1f2b348ec
Added forward decl of nsIDMWidget
1998-11-11 02:58:39 +00:00
pierre%netscape.com
f6071c18d3
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.
1998-11-11 02:49:14 +00:00
hyatt%netscape.com
e28082da09
Changing the interfaces to avoid a big bad diamond inheritance pattern when we
...
drop in the RDF implementations.
1998-11-11 01:58:21 +00:00
cls%seawood.org
288a1c7f8c
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.
1998-11-11 01:53:49 +00:00
hyatt%netscape.com
4c639b03c8
Added interfaces.
1998-11-11 01:52:44 +00:00
hyatt%netscape.com
09e67bf95b
Added new interfaces.
1998-11-11 01:52:34 +00:00
pierre%netscape.com
efc32562aa
Set the scroll bar dimensions to 16 pixels instead of 10.
1998-11-11 01:41:44 +00:00
pierre%netscape.com
cd44a4f1a0
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.
1998-11-11 01:40:56 +00:00
hyatt%netscape.com
346b3cfd41
Added a parent access function.
1998-11-11 01:40:54 +00:00
pierre%netscape.com
9c39b47a63
Removed the override of PointInWidget() which became obsolete after the change in the coordinate system.
1998-11-11 01:40:43 +00:00
pierre%netscape.com
7e816ac32c
Clean up the drawing code. Use StartDraw() and EndDraw(). It still has to be replaced with a native control.
1998-11-11 01:39:44 +00:00
pierre%netscape.com
d610f386f2
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().
1998-11-11 01:38:33 +00:00
pierre%netscape.com
a153dedcdf
Remove the unused CalcTotalOffset()
1998-11-11 01:38:00 +00:00
hyatt%netscape.com
334d3657e6
Added iterators over node's children.
1998-11-11 01:37:51 +00:00
hyatt%netscape.com
7e9a36bc15
Tweaks to the APIs to change the int types. Also cleaned up IsExpanded.
1998-11-11 01:29:42 +00:00
hyatt%netscape.com
90efe9d4ba
Tweaking sort enum.
1998-11-11 00:21:30 +00:00
hyatt%netscape.com
a65884dea9
Added sort state enum.
1998-11-11 00:20:59 +00:00
hyatt%netscape.com
e70ca286d7
Fixing a mistake in the include ifdef.
1998-11-11 00:06:20 +00:00
hyatt%netscape.com
cbc9b965c9
Tweaks to the interfaces to make them internally consistent.
1998-11-10 23:44:53 +00:00
hyatt%netscape.com
0a22893a92
Files for data model widgets (and for the tree view widget in particular).
1998-11-10 23:08:22 +00:00
hyatt%netscape.com
9562d41f69
The interface for widgets that interact with a data model.
1998-11-10 23:07:02 +00:00
cls%seawood.org
ab9896b411
Fixed check for motif
1998-11-10 21:55:44 +00:00
pavlov%pavlov.net
992d1adfe3
Impliment menu callbacks, fix a few paint events, remove some old debugging
...
messages. Use nsWidget::Show for nsWindow::Show.
1998-11-10 04:25:51 +00:00
pavlov%pavlov.net
88183b02b3
revert changes to gtklayout. make sure some labels are shown since they are
...
inside the mWidget
1998-11-09 21:04:32 +00:00
pavlov%pavlov.net
5e9e3ab92b
only compile one binary, not two
1998-11-09 20:36:08 +00:00
pavlov%pavlov.net
026311199b
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.
1998-11-09 15:49:30 +00:00
pavlov%pavlov.net
53129acd64
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!
1998-11-09 05:45:57 +00:00
pavlov%pavlov.net
0fb3972bbc
patch from Owen Taylor <otaylor@redhat.com> that allows you to draw on the
...
drawing area.
1998-11-09 03:03:09 +00:00
pavlov%pavlov.net
8458deae85
Patch from Owen Taylor <otaylor@redhat.com> which uses the correct GdkWindow
...
to draw to.
1998-11-09 03:02:08 +00:00
pavlov%pavlov.net
a6bb07efd2
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>
1998-11-08 23:31:40 +00:00
pavlov%pavlov.net
d761548bd6
call gtk_widget_show() on all the menuitems that are being added to the
...
menubar
1998-11-08 22:39:14 +00:00
pavlov%pavlov.net
6b804b3c79
Fixed nsMenu::AddMenu so that it adds menus to menus correctly.
1998-11-08 20:57:57 +00:00
pavlov%pavlov.net
dee9328bdf
add 'this' to the userdata of the widget so that callbacks will have the info
...
they need
1998-11-08 20:45:53 +00:00
pavlov%pavlov.net
b1a9860b46
patch from skinny@knowhere.net for the scrollbar widget implimentation.
1998-11-08 19:36:31 +00:00
pavlov%pavlov.net
35dcddfc78
set the userdata for all of the widgets to 'this'. Use the userdata in the
...
callbacks in nsGtkEventHandler
1998-11-08 18:51:09 +00:00
pavlov%pavlov.net
636508ddde
minor code cleanup in nsCheckButton.cpp. begin work on nsComboBox.
1998-11-08 18:19:37 +00:00
pavlov%pavlov.net
8429e10395
Fix GTK Build so that it will compile without Motif. Remove extra mWidget's
...
from a few widgets that were provided mWidget from nsWidget.
1998-11-08 17:54:19 +00:00
pavlov%pavlov.net
7bfe4ef62c
initial stab at converting GdkEvents into mozilla events.
1998-11-08 05:53:52 +00:00
pavlov%pavlov.net
8dd636e12f
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
1998-11-08 04:34:08 +00:00
pavlov%pavlov.net
70b4a24b4d
fix ::Remove so that it works on both TextWidget and TextAreaWidget
1998-11-08 04:12:42 +00:00
pavlov%pavlov.net
b8b2cd4a22
Initial nsText* implimentation. This should be about 90% functional.
1998-11-08 04:05:34 +00:00
pavlov%pavlov.net
461243c902
fix menu code... submenus are not added correctly for some reason, but the
...
earlier warnings are gone.
1998-11-08 02:05:02 +00:00
pavlov%pavlov.net
e9e397da2d
Menu's are now displayed correctly (almost).
1998-11-08 01:13:43 +00:00
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
shaver%netscape.com
563571c815
Repair Makefile.in and update to let it link again for testing GTK widgets.
1998-11-03 22:57:36 +00:00
cls%seawood.org
f70174e61a
Removed classic build Makefiles from configure.in
...
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
rods%netscape.com
b33ee2bfb8
Fixed toolbars so the border can be painted in 3 modes. All, partial or none.
1998-11-03 14:52:27 +00:00
joki%netscape.com
7a58f918de
Adding submit event type
1998-11-02 23:05:46 +00:00
msw%gimp.org
95cc440dca
a bit more error checking..
1998-11-02 22:46:26 +00:00
rods%netscape.com
26f1ea5267
Added eBorderStyle_none to zero out the extended border style
1998-11-02 21:55:21 +00:00
rods%netscape.com
5fbe813718
Added 3D child window configurablility
1998-11-02 19:13:05 +00:00
pinkerton%netscape.com
30d8faa15d
check for null parent.
1998-11-02 19:06:49 +00:00
pinkerton%netscape.com
b12a397426
These should never have been checked into the tree.
1998-11-02 17:32:24 +00:00
rods%netscape.com
75f9dcdeb7
Added additional border style for dialogs
1998-11-02 16:58:55 +00:00
msw%gimp.org
60548ec9d2
use $(NSPR_LIBS) for autoconf'ed builds to get the path to nspr libs
1998-11-02 15:54:43 +00:00
ramiro%netscape.com
4f83e7be8b
Add support for gtk.
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
ef4b78284e
Rename 'unix' to 'motif'
...
Add support for USE_NGLAYOUT_GTK.
1998-11-02 13:39:47 +00:00
ramiro%netscape.com
8c835a3222
Rename from 'unix' to 'motif'
1998-11-02 13:22:17 +00:00
ramiro%netscape.com
9e1cba8b52
Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This makes
...
more unix linkers happy.
1998-11-02 12:00:57 +00:00
pavlov%pavlov.net
48c7484f10
nsWindow::CreateGC
...
fix so that it realizes the widget if needed so that it is
able to get the gdkwindow.
nsWindow::CreateMainWindow
use mainWindow as the AppShell mTopLevel window instead of creating a new one.
use GtkAdjustments to the gtk_layout_new so that this doesn't crash. (this
probibly need to be looked at)
create a GtkVBox for mWidget instead the layout for mWidget. this probibly
isn't correct.
nsWindow::Show
this should show the window correctly, but it doesn't. probibly due to early
errors.
nsWindow::GetNativeData
impliment this function so that it doesn't barf at an early point due to lots
of things being NULL.
nsWindow.h - added GtkWidget *mVBox to the protected items. this isn't used
yet, and probibly won't be.
1998-11-02 02:57:05 +00:00
msw%gimp.org
3c07dcb4a3
Made CreateGC a little more careful
1998-11-01 22:49:04 +00:00
msw%gimp.org
9447305102
Implemented nsWindow::CreateGC.
1998-11-01 22:32:18 +00:00
shaver%netscape.com
6758214e70
build libwidgetgtk.so when in GTK mode
1998-11-01 20:18:52 +00:00
pavlov%pavlov.net
9f02b943db
few fixes here and there.. more work on making it work
1998-11-01 19:29:40 +00:00
shaver%netscape.com
213f51210f
include gtklayout.h to get the symbol-hiding ifdefs and link correctly -- and get rid of the helpful warning
1998-11-01 18:43:48 +00:00
pavlov%pavlov.net
32552c9007
fix up for container add bug
1998-11-01 18:30:40 +00:00
shaver%netscape.com
19113fe444
would you believe that nsMotifWidgetFactory.cpp is actually totally portable and reusable code
1998-11-01 18:13:37 +00:00
pavlov%pavlov.net
799612b653
added nsPopUpMenu.cpp
1998-11-01 18:12:55 +00:00
shaver%netscape.com
5c0c1c75eb
oops...when they ask for motif, they should still get motif
1998-11-01 17:09:50 +00:00
shaver%netscape.com
67e08d384c
build the GTK stuff if --enable-nglayout=gtk
1998-11-01 07:51:00 +00:00
shaver%netscape.com
8427d0db3e
add --enable-nglayout=gtk to build with GTK and not motif
1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com
a5d7946d8c
fixes to get building and linking
1998-10-31 23:17:10 +00:00
pavlov%pavlov.net
58ad3475ff
lots and lots of Gtk/Gdk code added to nsWindow.cpp
1998-10-31 21:56:02 +00:00
shaver%netscape.com
87c31b26b7
move gtklayout.c here, and do some symbol munging so we don't conflict with the one in gnome-libs
1998-10-31 21:43:01 +00:00
shaver%netscape.com
539fb6217b
use gtk-config to find CFLAGS
1998-10-31 20:34:17 +00:00
pavlov%pavlov.net
b3e391767b
fix the broken Makefile.in
1998-10-31 20:32:04 +00:00
pavlov%pavlov.net
dd0fc04fb5
oops, small typo that would have screwd upsome stuff
1998-10-31 20:26:59 +00:00
pavlov%pavlov.net
b96ab2420f
oops, forgot that we didn't want the column titles displayed
1998-10-31 20:21:19 +00:00
pavlov%pavlov.net
cbfa1580db
Converted almost all of nsListBox to a GtkCList
1998-10-31 20:05:28 +00:00
pavlov%pavlov.net
08ccae2b7d
just about finish setting up all the files needed for gtk to compile
1998-10-31 17:54:41 +00:00
pavlov%pavlov.net
f480fc6813
add menu files which do compile
1998-10-31 17:20:45 +00:00
pavlov%pavlov.net
24733dc5c7
nsWindow now compiles! whoo! about half way there!
1998-10-31 17:09:39 +00:00
blizzard%appliedtheory.com
b92483c12d
compiles now.
1998-10-31 17:02:32 +00:00
blizzard%appliedtheory.com
c3b738f872
File widget compiles now.
1998-10-31 16:54:50 +00:00
pavlov%pavlov.net
da0da2ffae
radio button compiles now
1998-10-31 16:49:26 +00:00
pavlov%pavlov.net
404e512b8a
move widgets into protected instead of private
1998-10-31 16:44:00 +00:00
pavlov%pavlov.net
824679b33b
these now compile
1998-10-31 16:40:31 +00:00
blizzard%appliedtheory.com
fa9ebd0d73
nsDialog compiles now
1998-10-31 16:35:29 +00:00
blizzard%appliedtheory.com
d2af35bfae
this compiles now.
1998-10-31 16:30:43 +00:00
pavlov%pavlov.net
f809dab836
update for event handler and file widget
1998-10-31 16:20:07 +00:00
blizzard%appliedtheory.com
6dfdf2c380
make nsButton.cpp compile. Initial nsWindow as well. The header file works,
...
the .cpp file doesn't compile yet ( it's still Motif )
1998-10-31 16:19:33 +00:00
blizzard%appliedtheory.com
5bdb958461
cleaned up this interface - it builds and even might do some stuff
1998-10-31 16:02:16 +00:00
pavlov%pavlov.net
2fde421d9c
added the GtkEventHandler stuff for the gtk widget set
1998-10-31 15:57:22 +00:00
pavlov%pavlov.net
2cea196780
Fixed some problems the inital checkin and added some new files.
1998-10-31 15:42:09 +00:00
blizzard%appliedtheory.com
9cf6d24337
Patches from Stuart Parmenter <pavlov@innerx.net>. This does not build,
...
these files are just a starting point.
1998-10-31 05:30:25 +00:00
rpotts%netscape.com
73f7dc2edb
Fix some build bustage...
1998-10-30 07:14:17 +00:00
pinkerton%netscape.com
2ebde998df
put it in-line with the windows version of this file. The right widgets were not being created because we weren't checking the class/interface id's correctly (at least, I assume that the windows way is more correct than the mac way because now it works!).
1998-10-30 02:38:58 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
pinkerton%netscape.com
ffa5e28039
fix bug where new windows would not be the active window by calling right toolbox routines.
1998-10-30 01:00:33 +00:00
pinkerton%netscape.com
2fa9e0e238
fix bug where dragging windows around would cause them to move twice by not passing the window move event down.
1998-10-30 00:59:29 +00:00
pinkerton%netscape.com
4a9ab4e630
cleanup constructor/destructor, and use auto_ptr where appropriate.
1998-10-30 00:12:37 +00:00
pinkerton%netscape.com
f9a2d0f71f
don't process menu events multiple times (do them only on keydown).
1998-10-29 23:47:05 +00:00
akkana%netscape.com
7c915be525
Remove nonworking IRIX compile segments; these should be in IRIX.mk anyway, if they're really needed
1998-10-29 20:08:22 +00:00
pinkerton%netscape.com
1631cf3ee6
make sure we init mMenuBar to null.
1998-10-29 17:40:22 +00:00
pierre%netscape.com
f740ba45f7
Landing MacWidgets...
1998-10-29 14:06:26 +00:00
pierre%netscape.com
417d462a71
First Checked In.
1998-10-29 13:55:02 +00:00
rods%netscape.com
055533fbcf
Cleaned up debug statements
1998-10-28 20:09:21 +00:00
cls%seawood.org
5de96f891e
Added $(FE_X_LIBS) to INCLUDES and $(FE_X_LIBS) to DSO_OS_LDOPTS to take care of motif dependencies under solaris.
1998-10-28 06:22:16 +00:00
cls%seawood.org
411ab80ce3
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
troy%netscape.com
90dc99441d
Changed SetCursor() to use the HINSTANCE in the nsToolkit object rather
...
than assume a hardcoded DLL name
1998-10-27 18:57:18 +00:00
troy%netscape.com
701ef505a1
Moved resource to src/build and changed makefile to build a .RES file
1998-10-27 18:45:20 +00:00
troy%netscape.com
d03010f3a8
Added Update() member function which forces a synchronous repaint of any
...
dirty regions of the window
1998-10-27 00:16:59 +00:00
dcone%netscape.com
29934bf65b
fixed the incremental layout problems.
1998-10-26 18:36:08 +00:00
kipp%netscape.com
8cf2866f87
Port to updated DrawString API
1998-10-26 17:35:09 +00:00
dcone%netscape.com
8cdbc2c3af
call the doresize event
1998-10-23 21:29:39 +00:00
dcone%netscape.com
0cceb0004d
Small bug fix in resize
1998-10-23 21:29:17 +00:00
dcone%netscape.com
2b84d744e8
Now checks the width and height before a NS_SIZE_EVENT is dispatched.
1998-10-23 18:02:38 +00:00
dcone%netscape.com
d29ec4e197
Fixed the resize problem, now breaks out of the infinite loop.
1998-10-23 18:00:54 +00:00
michaelp%netscape.com
dbc8b0a597
changes for new rendering context API stuff.
1998-10-23 17:59:28 +00:00
michaelp%netscape.com
2812cd80c1
made CopyBits() more flexible. added better ddraw support for windows rendering
...
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.
1998-10-23 17:58:18 +00:00
kipp%netscape.com
973c0f25a5
Fix InitData classes to init themselves properly to avoid latent unitialized memory bugs
1998-10-21 20:10:22 +00:00
karnaze%netscape.com
98eb658b89
fixed bugs 1130, 1132, 1133
1998-10-19 20:37:40 +00:00
rods%netscape.com
8bbee1fea9
Changed the background of the widget.
1998-10-16 22:43:13 +00:00
rods%netscape.com
257452dace
Removed debug statements
1998-10-16 22:42:55 +00:00
dcone%netscape.com
6f1e29a698
updated, documented and cleanup the code.
1998-10-16 17:59:52 +00:00
pierre%netscape.com
2dbb0ef8b9
inherit from nsBaseWidget: removed lots of code
1998-10-16 09:21:23 +00:00
pierre%netscape.com
26526207cf
added Previous() and ResetToLast() to the Enumerator
1998-10-16 09:18:03 +00:00
pierre%netscape.com
4a42999db9
added the XP Widgets
1998-10-16 09:04:24 +00:00
rods%netscape.com
b9aeebf1e2
Added makefiles and factory for widget directory reorganization
1998-10-15 21:41:38 +00:00
rods%netscape.com
7ccaf178cc
Moved the cross-platform widgets into their own directory.
...
Moved the platform specific factories into the new "build" directory.
The "build" directory now links the spwidgets and the platforms specific
widgets together.
1998-10-15 21:30:32 +00:00
dcone%netscape.com
428aee3253
fixed some clipping and updating stuff
1998-10-15 13:39:47 +00:00
dcone%netscape.com
e218d1fe8e
added support to offset child window to correct location.
1998-10-13 16:33:39 +00:00
spider%netscape.com
1687a40064
Fixes for building on SunOS
1998-10-12 23:05:16 +00:00
rods%netscape.com
ebea981f56
NS_IMPL_ISUPPORTS was used incorrectly
1998-10-12 18:22:07 +00:00
rpotts%netscape.com
faa5799533
Fixed reference counting bug in GetMenuBarparent
1998-10-10 10:07:21 +00:00
kmcclusk%netscape.com
09eaea5994
Fix for Linux build.
1998-10-09 22:53:19 +00:00
rods%netscape.com
97357e8f0e
The Cross-platform widgets have been moved to widget/src, the makefile.win
...
was changed to include the platform specific directory
1998-10-09 22:08:28 +00:00
dcone%netscape.com
749e80cb9c
*** empty log message ***
1998-10-09 21:46:39 +00:00
dcone%netscape.com
346ea80e22
fixed some bugs
1998-10-09 21:46:30 +00:00
dcone%netscape.com
74fcdc41a8
added look and feel
1998-10-09 21:46:17 +00:00
dcone%netscape.com
cb813e93f9
fixed gettext to return correct string, and use a null character at the end.
1998-10-09 21:46:01 +00:00
dcone%netscape.com
7666f663a2
First Checked In.
1998-10-09 21:45:15 +00:00
dcone%netscape.com
17f6423729
fixed the mouseup event for the url processing
1998-10-09 21:44:00 +00:00
dcone%netscape.com
d479210bee
added to widget project, first version
1998-10-09 21:43:42 +00:00
dcone%netscape.com
47d42c5fba
added new menu source files, lookandfeel widget
1998-10-09 21:42:44 +00:00
rods%netscape.com
62daf93937
Fixed an error I introduced in DispatchEvent
1998-10-09 15:39:24 +00:00
rods%netscape.com
dff869ceef
Added Invalidate method for a rect in a window.
1998-10-09 15:20:47 +00:00
rods%netscape.com
64c6bab0fd
Added an Invalidate method for a rect in a window
1998-10-09 15:18:54 +00:00
dcone%netscape.com
a2b1bb00cb
updated the invalidate method
1998-10-09 15:18:26 +00:00
pierre%netscape.com
17aa9d2361
fixed link errors: added DragLib and NSPR20
1998-10-08 23:29:39 +00:00
troy%netscape.com
5ff1cfe35d
Removed unused widgetSupports member of nsGUIEvent
1998-10-08 21:24:05 +00:00
kmcclusk%netscape.com
916384f660
Removed nsObject.cpp and nsObject.h. Removed commented out code.
...
added NS_ERROR_NO_AGGREATION to widget factory. marked code with XXX where
additional work is required. Removed unused global variables in nsWindow.cpp
1998-10-08 18:33:48 +00:00
spider%netscape.com
7ea970f836
Fix compile errors on IRIX
1998-10-08 17:54:07 +00:00
rods%netscape.com
b1b4233eb5
Fixed ref count problem
1998-10-08 15:23:03 +00:00
rpotts%netscape.com
fb5cab9ba8
Attempting to fix unix build bustage...
1998-10-08 07:55:23 +00:00
pierre%netscape.com
b86cf5a78d
fix build on mac after rods's changes in DispatchEvent
1998-10-08 02:00:23 +00:00
kmcclusk%netscape.com
c212eea4ea
Fixed key events.
1998-10-08 00:47:10 +00:00
kmcclusk%netscape.com
a301ff4ae9
Removed references to widgets which are not checked in yet
1998-10-08 00:13:39 +00:00
rods%netscape.com
6b9a9a934c
Added an NS_ADDREF to InitEvent and then put in NS_RELEASE in all the proper places.
...
This was necessary because an Exit menu event was deleting the Windows object
before event processing could complete.
1998-10-08 00:04:21 +00:00
rods%netscape.com
d6da910767
Changed back
1998-10-07 23:39:27 +00:00
rods%netscape.com
a61c33f25d
Removed "::" from XmCall (trying to fix the IRIX build)
1998-10-07 23:38:52 +00:00
rods%netscape.com
34d1cbea26
Made an attempt at fixing the Mac port for the DispatchEvent change
1998-10-07 23:33:52 +00:00
rods%netscape.com
594b97f546
More changes so DispatchEvent works
1998-10-07 23:18:34 +00:00
rods%netscape.com
14703299e4
Fixed menus and add DispatchEvent to nsIWidget Interface.
1998-10-07 22:11:37 +00:00
rods%netscape.com
a0dcead7e7
Added menu support
1998-10-07 21:07:40 +00:00
dcone%netscape.com
56cda0f2e9
updated Dispatch to new interface.
1998-10-07 20:15:45 +00:00
dcone%netscape.com
69ac930d03
Updated to Rod S's changes
1998-10-07 20:15:05 +00:00
rods%netscape.com
c0b8f9e933
I fixed rendering part
1998-10-07 20:06:50 +00:00
rods%netscape.com
4fa50cdcb6
Added SetHorizontalLayout method
1998-10-07 19:50:42 +00:00
rods%netscape.com
aa87aa621d
Updated Interfaces to support UNIX
1998-10-07 19:49:36 +00:00
dcone%netscape.com
488da56048
re-wrote the ConvertToDeviceCoordinates to offset the event point.
1998-10-07 17:59:26 +00:00
dcone%netscape.com
7e49439af0
Calculated the offset for the event and added that to the point before event processing
1998-10-07 17:57:07 +00:00
dcone%netscape.com
ec925cd393
calculate the correct offset
1998-10-07 15:13:48 +00:00
dcone%netscape.com
383aafe32c
fixed offset problems
1998-10-07 15:13:19 +00:00
dcone%netscape.com
8cd76a3947
fix the size problem
1998-10-07 15:12:57 +00:00
dcone%netscape.com
87a17df6fd
selection fix
1998-10-07 15:10:40 +00:00
dcone%netscape.com
2a28b847f6
update fix
1998-10-07 15:09:03 +00:00
troy%netscape.com
4358c88eeb
Changed factory CreateInstance() code to return NS_ERROR_NO_AGGREGATION
...
if the caller is trying to aggregate the widget
1998-10-06 22:32:30 +00:00
dcone%netscape.com
eaf1d9324c
fixed some offset bugs
1998-10-06 13:28:53 +00:00
pierre%netscape.com
87764930d1
fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions
1998-10-06 03:00:28 +00:00
michaelp%netscape.com
0308904e76
fixed bug where scrolling with the thumb would cause the thumb
...
to jump down too far on long documents.
1998-10-05 21:20:54 +00:00
michaelp%netscape.com
9b82a28284
modified for new fontmetrics/renderingcontext.
1998-10-02 01:12:39 +00:00
rpotts%netscape.com
aba40ac4a7
Pass in a null nsIURLGroup to the image group...
1998-10-01 21:53:52 +00:00
rods%netscape.com
aa5b839ebb
Initial checkin
1998-10-01 21:06:09 +00:00
dcone%netscape.com
f0d73bb49e
Fixed the location problem
1998-10-01 19:48:52 +00:00
dcone%netscape.com
234bfa674a
Fixed the thumbsize problem
1998-10-01 19:48:31 +00:00
michaelp%netscape.com
e09efbe55a
font cache is no longer public.
1998-09-30 18:59:31 +00:00
michaelp%netscape.com
451b9b2a18
we no longer have a public font cache. removed circular refs between font cache
...
and device context.
1998-09-30 18:58:24 +00:00
rods%netscape.com
05439c943f
Added HWND cast for STRICT compiler problem.
1998-09-29 22:22:30 +00:00
rods%netscape.com
e054d0c8fa
Run method now does an AddRef so it stays alive until the last message can
...
come through the pump.
1998-09-29 22:16:23 +00:00
kmcclusk%netscape.com
d88895772b
Initialize mFont to nsnull in constructor.
1998-09-29 22:01:50 +00:00
kmcclusk%netscape.com
d2d9ccc02b
Moved common Create(nsIWidget... and Create(nsNativeWidget to a StandardWindowCreate
...
utility method then call it from each of the Creates.
1998-09-29 21:34:58 +00:00
rods%netscape.com
d9854f6f95
Reworked all the menu code and removed nsWindow from several classes
1998-09-29 21:30:31 +00:00
rods%netscape.com
a42dea7cc8
Changed casting of HMENU native data
1998-09-29 18:32:37 +00:00
rods%netscape.com
7d25d265b9
This should fix a casting error for VC++ 5.0 with STRICT
1998-09-29 17:50:50 +00:00
pinkerton%netscape.com
1fff0d4271
Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
1998-09-29 17:11:00 +00:00
rods%netscape.com
4e068d8491
Additional signature changes for XPCOM
1998-09-29 16:32:04 +00:00
rods%netscape.com
96196905a5
Changed all the signatures to NS_IMETHOD and NS_METHOD
1998-09-29 16:12:15 +00:00
rods%netscape.com
85b4e3488a
Added new interfaces
1998-09-29 15:32:04 +00:00
pierre%netscape.com
0e19b67806
fixed previous checkin
1998-09-29 15:26:03 +00:00
dcone%netscape.com
beb60b7096
added new files from the xpviewer.
1998-09-29 15:16:57 +00:00
pierre%netscape.com
ac41be0e25
added nsIToolbarItem.h
1998-09-29 15:04:19 +00:00
rods%netscape.com
42fd6b4e14
Fixed the menubars are added to an nsWindow
...
Fixed last item layout for toolbars
1998-09-29 15:01:07 +00:00
rods%netscape.com
3ca543d895
Changed the menu code to use HMENUs instead of casted HWNDs
1998-09-29 14:15:32 +00:00
rods%netscape.com
939f18e55d
Added more casts to HMENU
1998-09-29 02:01:31 +00:00
rods%netscape.com
054eae75e1
fixed menu casting problem.
1998-09-29 01:23:40 +00:00
kostello%netscape.com
a2f12bee8c
Synch with Rod's changes to nsIWidget
1998-09-29 00:58:32 +00:00
kostello%netscape.com
037dabb88d
Synch with Rod's new nsIWidget changes
1998-09-29 00:55:17 +00:00
pierre%netscape.com
3ba082e001
fixed crash due to missing {} after if() statement
1998-09-28 23:30:17 +00:00
rods%netscape.com
60b5422758
Added interfaces
1998-09-28 22:37:16 +00:00
rods%netscape.com
b3e3812400
XPCOM'ed most methods and added a couple of methods to BaseWidget
...
and added a lot of files
1998-09-28 22:32:48 +00:00
dcone%netscape.com
a135352bd3
Fixed the growing part of the window, setorigin was messing us up.
1998-09-28 21:08:09 +00:00
dcone%netscape.com
d6ae43a7eb
fixed a validrect problem needed for doublebuffer.
Cant call validrect in grow when doublebuffering. Dont know why yet
1998-09-28 17:03:49 +00:00
pierre%netscape.com
f208605e3c
enabled debugger for some new files (nsScrollbar etc...)
1998-09-25 23:54:30 +00:00
rpotts%netscape.com
93e66f2ea2
Initialized the returned rect in GetBounds() even if the HWND is null. This fixed a reference to uninitialized memory...
1998-09-25 22:26:28 +00:00
dcone%netscape.com
77d70b7a61
fixed offset problems and parent heiarchy problems
1998-09-25 22:23:58 +00:00
dcone%netscape.com
1586c3d913
Added NS_NATIVE_OFFSETX and Y for getnativedata.
Mac needed for the renderingcontext
1998-09-25 22:22:57 +00:00
dcone%netscape.com
2596ac4f28
updated resize
1998-09-25 15:13:29 +00:00
dcone%netscape.com
eb97021f8d
fixed some resizing issues
1998-09-25 15:12:55 +00:00
dcone%netscape.com
e387e2f5dd
fixed resizing issues
1998-09-25 15:12:22 +00:00
dcone%netscape.com
741d23d723
fixed some sizing issues
1998-09-25 15:12:05 +00:00
eyork%netscape.com
e38a931d36
Fix Solaris Build problems
1998-09-25 00:57:28 +00:00
eyork%netscape.com
ae67d12163
Fix Solaris Build Problem
1998-09-25 00:54:04 +00:00
eyork%netscape.com
0e460a7be5
Fix Solaris build problem
1998-09-25 00:52:46 +00:00
kmcclusk%netscape.com
b1d7363698
Added INITREFCNT to constructor
1998-09-24 17:44:33 +00:00
kmcclusk%netscape.com
63716e7350
Removed NS_DECL_ISUPPORTS in classes which would cause multiple mRefCnt member
...
variables to be delcared
1998-09-24 17:28:07 +00:00
dcone%netscape.com
af77c10d6e
fixed resizing issues
1998-09-23 22:10:40 +00:00
dcone%netscape.com
20a29c53b2
fixed resizing problems
1998-09-23 22:09:52 +00:00
dcone%netscape.com
bb6e438879
fixed some sizing issues
1998-09-23 22:09:23 +00:00
dcone%netscape.com
f63fe299a7
Put in code to offset drawing, hittest, etc
1998-09-23 22:08:53 +00:00
kmcclusk%netscape.com
1add701f7f
Fixed filewidget query interface failure. The viewer was crashing when trying to open
...
a file.
1998-09-23 20:39:16 +00:00
kmcclusk%netscape.com
e6e3087aae
Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
...
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.
1998-09-23 19:19:23 +00:00
pierre%netscape.com
1702ec7fa1
handle menu events when there is no window + other fixes
1998-09-23 09:24:33 +00:00
pierre%netscape.com
f8474ee65e
handle menu events when there is no window
1998-09-23 09:23:07 +00:00
pierre%netscape.com
fed9338564
fixed a GlobalToLocal problem in FindWidgetHit
1998-09-23 09:18:46 +00:00
pierre%netscape.com
7bab6b10ff
First Checked In.
1998-09-23 09:11:08 +00:00
pierre%netscape.com
60f6592b4b
handle Quit cmd (added mMacPump in order to call StopRunnning)
1998-09-22 04:22:57 +00:00
pierre%netscape.com
254d8d510d
implemented menu events
1998-09-22 04:21:31 +00:00
pierre%netscape.com
a5908b59da
added DoMenu and StopRunning
1998-09-22 04:20:05 +00:00
pierre%netscape.com
2c1e2821f6
destructor closes window
1998-09-22 04:18:40 +00:00
dcone%netscape.com
66e150acbc
scroll bar is drawing, nothing else
1998-09-21 21:56:55 +00:00
mcafee%netscape.com
52713a13e5
Adding support for Rhapsody
1998-09-19 07:21:28 +00:00
mcafee%netscape.com
c4747da39f
Initial version for Rhapsody
1998-09-19 07:21:02 +00:00
pierre%netscape.com
c42c161be9
added DoResizeWidgets()
1998-09-19 01:40:26 +00:00
pierre%netscape.com
a935e3d2bb
added DoResizeWidgets() + fixed Create to handle resize events + imported minor fixes from Windows
1998-09-19 01:40:13 +00:00
pierre%netscape.com
849d768b88
implemented resize events and redraw on resize
1998-09-19 01:38:26 +00:00
pierre%netscape.com
4727c7a851
added nsScrollbar to fix a build breakage
1998-09-18 23:51:30 +00:00
pierre%netscape.com
7918fae2d5
Replaced a faulty line with NS_ERROR in order to fix a build breakage. Don will do the right thing later.
1998-09-18 23:50:04 +00:00
troy%netscape.com
fed21931ee
Added NS_INIT_REFCNT() to constructor
1998-09-18 02:05:46 +00:00
troy%netscape.com
94de21e214
Replaced some AddRef() and Release() calls with the XP-COM macros
1998-09-17 20:02:04 +00:00