Граф коммитов

7787 Коммитов

Автор SHA1 Сообщение Дата
dcone%netscape.com faee9fbc13 reworked the window creation 1998-08-13 21:08:11 +00:00
dcone%netscape.com 9bcdb38634 reworked message pump and window creation 1998-08-13 21:07:35 +00:00
dcone%netscape.com 0a21c8d899 First Checked In. 1998-08-13 21:06:30 +00:00
spider%netscape.com 787f3c1ab8 Create a GC for toplevel window to. Some app's need to modify that
DC also.
1998-08-13 02:36:40 +00:00
rods%netscape.com f05e37167d Changed the WindowStyle so the scrollbar appears when the list is larger
than the given bounding rectangle.
1998-08-12 20:10:41 +00:00
kostello%netscape.com 5531c3d70f Added widgetDebug.o as a target 1998-08-12 18:05:30 +00:00
dcone%netscape.com c629ba49de added client routine 1998-08-12 15:23:23 +00:00
dcone%netscape.com d2c67220b8 added client routine 1998-08-12 15:23:04 +00:00
dcone%netscape.com 88e1463b76 took out method causing link errors 1998-08-12 13:46:34 +00:00
dcone%netscape.com 0e96920c93 took out some functions causing link problem 1998-08-12 13:46:08 +00:00
dcone%netscape.com 64e7d5cbb4 put quit when a key is hit - temporary 1998-08-12 13:45:13 +00:00
michaelp%netscape.com 66377e407e changes to support use of DirectDraw. 1998-08-12 00:59:00 +00:00
dcone%netscape.com e40be79afd mac initialzation is now working 1998-08-11 20:26:01 +00:00
dcone%netscape.com fb9f6dca3a implemented some messaging 1998-08-11 20:25:31 +00:00
dcone%netscape.com 67c1c35db0 started messaging 1998-08-11 20:25:18 +00:00
dcone%netscape.com 603436c183 updated message pump 1998-08-11 20:17:06 +00:00
dcone%netscape.com 9979343b42 update to use a mac Widgettest.cpp 1998-08-11 20:16:08 +00:00
dcone%netscape.com 33801d26d5 First Checked In. 1998-08-11 20:15:33 +00:00
kmcclusk%netscape.com 11e69778ed Removed debug printf's #if 0 code + moved resize code
from nsXtEventHandler.cpp nsWindow.cpp.
1998-08-10 22:37:46 +00:00
kmcclusk%netscape.com 03ca0decb6 Removed commented out code and debug printf's. 1998-08-10 22:18:28 +00:00
kmcclusk%netscape.com 2e13a30725 Added a XtManageWidget implementation lifted from the XFE code. This fixes problems where the drawing area would
spontaneously resize itself to fit its contents.
1998-08-10 21:21:34 +00:00
troy%netscape.com feeac1a80e Cleaned up widget reference counting. In particular parent widgets
release their references to child widgets
1998-08-09 01:37:30 +00:00
troy%netscape.com 4b212c0467 Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
kmcclusk%netscape.com 9718e641bd Correctly set shift and control flags on mouse and keyboard events. 1998-08-07 19:38:28 +00:00
kostello%netscape.com ec33bc0eb4 Fix mac build 1998-08-07 18:34:13 +00:00
kmcclusk%netscape.com 05b2c0f9df Changed NSIMETHOD to NS_METHOD in nsWindow.h
Changed eCursor_arrow_east and east_plus to west and west_plus for
duplicate switch statement
1998-08-07 17:13:04 +00:00
spider%netscape.com 3f9200f2ab Cursor support 1998-08-07 15:35:27 +00:00
spider%netscape.com dbdb373103 Adding several new cursor types 1998-08-07 14:45:46 +00:00
troy%netscape.com 4833bb8e9f Added GetClientData() and SetClientData() member functions 1998-08-07 05:19:40 +00:00
joki%netscape.com 20d06b486a Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
peterl%netscape.com c14c9f35ba changed nsFont to contain face lists in name 1998-08-07 02:12:34 +00:00
dcone%netscape.com 1f2e34a12f updated projects to use static libs 1998-08-06 21:53:08 +00:00
dcone%netscape.com c8c51d45a7 implemented newcwindow 1998-08-06 21:51:14 +00:00
dcone%netscape.com 154b7f1f0c fixed bugs, implemented new window 1998-08-06 21:50:56 +00:00
dcone%netscape.com 6c2adee315 fixed some bugs 1998-08-06 21:50:30 +00:00
dcone%netscape.com f7798da92a backed out my changes for mac 1998-08-06 18:01:26 +00:00
dcone%netscape.com b6ab87a8b5 update to new static factory methods. 1998-08-06 17:47:55 +00:00
dcone%netscape.com e765302500 update to static library factory methods 1998-08-06 17:47:21 +00:00
dcone%netscape.com 84fe342cf4 update to new static way 1998-08-06 17:47:02 +00:00
dcone%netscape.com fbcf1c5cec updated to new factory methods using static libraries 1998-08-06 17:45:47 +00:00
dcone%netscape.com a67ac8f50f *** empty log message *** 1998-08-06 17:44:43 +00:00
rods%netscape.com 5205107d87 Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.
1998-08-06 17:23:49 +00:00
troy%netscape.com 2b3ca378d3 Some improvements to the ref counting 1998-08-06 05:06:24 +00:00
troy%netscape.com 68dd96b029 Added code to Ondestroy() to do an AddRef() before calling DispatchStandardEvent()
and then a Release() afterwards. This ensures the object doesn't get destroyed until
after we've dispatched the event
1998-08-06 02:11:43 +00:00
kostello%netscape.com 3a6891de46 Added GetDepth 1998-08-05 18:14:16 +00:00
kostello%netscape.com 0a696b8301 Added GetDepth method 1998-08-05 18:12:41 +00:00
kmcclusk%netscape.com 1620d2c8b1 Really fix IRIX build. 1998-08-05 17:56:56 +00:00
kmcclusk%netscape.com 33b777f3ae Fix for Linux build. 1998-08-05 17:32:14 +00:00
dcone%netscape.com b9bb4fceb8 First Checked In. 1998-08-05 17:24:06 +00:00
dcone%netscape.com 56aa38d1db First Checked In. 1998-08-05 17:01:56 +00:00
kmcclusk%netscape.com d9a83cc808 Changed XtSetValues to XtMoveWidget for Scrolling. 1998-08-05 16:51:54 +00:00
dcone%netscape.com 327d11f446 First Checked In. 1998-08-05 15:44:36 +00:00
pierre%netscape.com 26e3be487b added declaration of pure virtual functions to fix build on Mac 1998-08-05 08:11:01 +00:00
rods%netscape.com 86671d56a7 Fixed the fix 1998-08-04 21:06:35 +00:00
rods%netscape.com 10d673027c Added a check for a null hWnd on call to ScreenToClient, DESTROY event
can cause wHnd to be null
1998-08-04 21:04:02 +00:00
rods%netscape.com 5316a8f701 Add method void nsTextWidget::SubclassWindow(BOOL bState)
and LRESULT CALLBACK nsTextWidget::TextWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 to filter out the "ding" when the return key is pressed.
1998-08-03 22:31:07 +00:00
rods%netscape.com 26c6a44810 Implemented SetUpForPaint, but it doesn't do the SetBkMode 1998-08-03 22:28:49 +00:00
rods%netscape.com 562a15edd4 Added the method SetUpForPaint for setting up the proper foreground
and background colors for the WM_CTLCOLORXXXX messages
1998-08-03 22:28:00 +00:00
kostello%netscape.com 60f40a6bc6 First Checked In. 1998-08-03 18:37:30 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
kmcclusk%netscape.com ed032b4301 Removed call to XtMoveWidget since this breaks the IRIX build. 1998-07-31 22:36:54 +00:00
joki%netscape.com 7cf1119360 More new event types 1998-07-31 22:01:42 +00:00
kmcclusk%netscape.com 3eb30c6b4c Removed debug output. 1998-07-31 21:37:51 +00:00
kmcclusk%netscape.com 596999789b Fixed SetCursor 1998-07-31 21:13:31 +00:00
kmcclusk%netscape.com e909b61c2e Fixed up scrolling some more. 1998-07-31 20:48:30 +00:00
kmcclusk%netscape.com 7dbf332524 Fix for Linux. 1998-07-31 20:06:41 +00:00
kmcclusk%netscape.com a41ad5e93f Added extern reference for XtMoveWidget to fix Irix build. 1998-07-31 17:40:43 +00:00
kmcclusk%netscape.com 3c6628592f Removed XmP.h include 1998-07-31 16:57:02 +00:00
kmcclusk%netscape.com 60add6921f Fix for Irix. Pass Positions to XtMoveWidget 1998-07-31 16:39:43 +00:00
kmcclusk%netscape.com 2266241147 Fix for IRIX build. 1998-07-31 15:52:20 +00:00
kmcclusk%netscape.com 2c5fec4acb Fixes for scrolling. Each widget does an AddChild to insert it in it's parent's
list of children.
1998-07-30 23:06:32 +00:00
karnaze%netscape.com c39c222c17 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize 1998-07-30 21:25:35 +00:00
kmcclusk%netscape.com 2754f57c81 Changed Enumerator constructor to initialize mRefCnt to 1 instead of 0. 1998-07-30 17:40:22 +00:00
kmcclusk%netscape.com bc0cf53fbf Changed back to initialize refcount to 1 instead of 0 for now. 1998-07-30 17:37:26 +00:00
kmcclusk%netscape.com 5e6de4dfd2 Fix for loading second document in the viewer 1998-07-30 17:29:22 +00:00
kmcclusk%netscape.com 11807db522 Implemented SetCursor 1998-07-29 22:33:03 +00:00
scullin%netscape.com 914f9600bd Added motif LAF stubs. 1998-07-29 22:16:24 +00:00
scullin%netscape.com c53b9ebd29 Ref count fixes, fix widget test app. 1998-07-29 22:15:18 +00:00
scullin%netscape.com 6702e0130f More refcount fixes. 1998-07-29 21:04:44 +00:00
scullin%netscape.com d7a9a4ee52 Fix ref count oddities. 1998-07-29 20:49:28 +00:00
kmcclusk%netscape.com 1c4ac900c2 Added check in CreateInstance to see if QueryObject returns NS_OK. If it doesn't then release the interface. 1998-07-29 20:04:05 +00:00
scullin%netscape.com 2f7f89da73 Normalize widget api on UNIX and Win. 1998-07-29 18:57:26 +00:00
scullin%netscape.com 34c43d2831 Added LAF implementation. 1998-07-29 18:55:25 +00:00
scullin%netscape.com 96e0fe3b71 Added LAF interface. 1998-07-29 18:54:36 +00:00
scullin%netscape.com 498c4d6e98 Normalize widget api on UNIX and win, add LAF interface, make sample
apps function again.
1998-07-29 18:51:45 +00:00
kmcclusk%netscape.com 7980847773 Added implementation for nsScrollbar::Create passing a nsNativeWidget.
Also check for nsnull cliprect in ScrollTo
1998-07-27 22:25:43 +00:00
troy%netscape.com ef1dfe9b6c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
michaelp%netscape.com c35d9371ee form elements, etc. (i.e. sub widgets) now scroll smoothly. 1998-07-26 04:24:42 +00:00
kostello%netscape.com 0bbb74378a Added SetDefaultString for the Save dialog 1998-07-24 21:12:19 +00:00
joki%netscape.com 2e07f1381a Adding a few more events types. 1998-07-24 05:07:07 +00:00
kmcclusk%netscape.com 2fda35554c Added KeyRelease event generation 1998-07-23 20:34:46 +00:00
kmcclusk%netscape.com 0cd822b96a Initialize event structure for mouse events 1998-07-23 18:07:42 +00:00
kmcclusk%netscape.com f5df4fc28c Added key event support. 1998-07-23 17:47:28 +00:00
joki%netscape.com 921c374705 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
kmcclusk%netscape.com dbe1263150 Fixed bug where child window is not being displayed in Viewer. Show() now
manages and unmanages the widget directly without testing visibility.
1998-07-21 21:26:17 +00:00
rods%netscape.com dcefea0dbf fixed the bug for setting background color on controls 1998-07-21 18:04:18 +00:00
rpotts%netscape.com 11ee8891c6 Added XXX comment to a particularly nasty piece of code... 1998-07-17 06:27:37 +00:00
spider%netscape.com 240554d17b Fix for throbber and offset painting 1998-07-16 23:50:29 +00:00
kmcclusk%netscape.com b038b542d8 Removed setting the boundary size in the resize callback directly. This fixes a bug
where the web widget window does not display initially.
1998-07-16 23:46:54 +00:00
spider%netscape.com 915b75cedf Optimization: Don't create a writeable GC for non-html drawing area 1998-07-16 22:01:47 +00:00
kmcclusk%netscape.com 5aaa962f3e Removed commented out CreateWindow code 1998-07-16 21:43:15 +00:00
kmcclusk%netscape.com 24cc939a2b Added code to set the XmNx and XmNy attributes in the resize method 1998-07-16 21:28:51 +00:00
kipp e866f8a997 Removed WS_VISIBLE from everywhere so that windows when created are hidden until positioned and shown 1998-07-14 15:17:29 +00:00
kmcclusk 1ccaf0e6a0 Factored CreateWindow code into CreateMainWindow and CreateChildWindow code. 1998-07-10 21:26:46 +00:00
rods 97ae4a36f3 Turned off debugging. 1998-07-10 17:29:03 +00:00
rods 527f852ced Added the proper initialization for the DeviceContext and the toolkit 1998-07-10 17:22:58 +00:00
rods bcafc20fbd Fixed positioning errors. 1998-07-10 17:22:05 +00:00
rods 74a08946a0 Changed cast to XID (for IRIX) 1998-07-09 19:51:53 +00:00
rods 36eea7130b Add support for initializing the Device Context and Toolkit 1998-07-09 19:10:35 +00:00
rods 871cbefd8d Added methods for initializing the Device Context and the Toolkit 1998-07-09 19:10:04 +00:00
rods bd2c3c1511 Implemented SetFont and created separate methods for initializing
the DeviceContext and the Toolkit
1998-07-09 19:09:19 +00:00
rods 0dbe15a211 Added error callback 1998-07-09 19:03:30 +00:00
kipp c6654ca278 fixed comments 1998-07-09 17:04:45 +00:00
kipp 2f9cb5de4a tweak 1998-07-09 17:04:31 +00:00
rods 421fc1b8a0 Fixed argc problem 1998-07-08 17:40:16 +00:00
rods 6296f206e4 Added Focus processing 1998-07-08 17:01:37 +00:00
rods 16fef340b3 Fixed the radio buttons so they work. 1998-07-08 17:00:18 +00:00
rods f81b7e5bde The necessary fixes to get Scribble working. 1998-07-08 16:58:51 +00:00
thom 254c1d8574 First Checked In. 1998-07-07 21:26:45 +00:00
rods 228f092dc3 Removed Windows specific code 1998-07-07 18:00:06 +00:00
rods d57e4577b3 Removed the RadioGroup and fixed the RadioButtons so they would work 1998-07-07 17:56:24 +00:00
rods 7a87bf7bf6 fixed a few minor things and removed the GetSelectedItem test for MultiList 1998-07-06 21:38:18 +00:00
rods 53fa54fe1a activated the build of the widget test and scribble apps 1998-07-06 21:36:55 +00:00
rods 03fcf70a03 Removed RadioGroup and fixed the "Create" of the AppShell 1998-07-06 21:36:17 +00:00
rods 7d24b9373e Implemented Get/Set Caret and Insert 1998-07-06 21:31:01 +00:00
rods 1689a05dda Changed GetSelectedItem so it throws an exception when it is call by nsListBox 1998-07-06 21:30:08 +00:00
rods 205b26c826 Fixed cast 1998-07-06 20:27:57 +00:00
rods 2873b17c9a Commented out the SetBKColor in the callback 1998-07-06 19:58:36 +00:00
rods 65568eb44c Minor fix to get it compiling on Windows 1998-07-06 19:56:08 +00:00
rods c4394e6ade Added more tests 1998-07-06 19:34:50 +00:00
rods 74bfd9be9c Changed the array of widget to be of type "Widget" instead of "long" 1998-07-06 19:26:06 +00:00
rods 25a5f0a250 Added SetSelectedIndices method (no implementation) 1998-07-06 19:16:45 +00:00
rods ba9ab98ffd Filled in more of the methods and added additional tests 1998-07-06 18:13:38 +00:00
kipp 30f6bf49ba Removed some compiler warnings 1998-07-03 23:16:43 +00:00
kipp f97bf0ca47 Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
rods c0cf6f093f fixed build problem 1998-07-02 22:43:08 +00:00
rods 533970f597 Continued to implement the remain methods 1998-07-02 21:18:04 +00:00
joki b5bfe34869 Remove temporary setFocus() call. Focus shift moved to nsScrollingView 1998-07-02 01:14:28 +00:00
joki fb679a83f8 Validity check for focus event during nsWindow destruction 1998-06-29 21:18:19 +00:00
spider fc9f974394 once again runs under unix. 1998-06-25 05:39:02 +00:00
michaelp e183f05efb added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
kmcclusk 92fb047d8d Added code to allow more than one top-level window. 1998-06-24 21:12:39 +00:00
joki f6afd51fa4 Focus method modification for editor. 1998-06-24 00:30:41 +00:00
joki 37c4fa095e Slight change to nsGUIEvent struct internals 1998-06-23 21:54:43 +00:00
kmcclusk b3711ca216 Added code to fix reference counting and destroy widgets when their refcount goes to 0 1998-06-23 21:48:41 +00:00
rods d838634cd2 Initial checkin 1998-06-23 21:19:12 +00:00
rods 30d13c53e0 Last few changes to make everything work. 1998-06-23 21:18:43 +00:00
rods 5aa73c0eb5 Added basic support for nsTextAreaWidget 1998-06-22 16:27:57 +00:00
spider 0afc3d6d11 Support for Optimized GC and Regions in Rendering 1998-06-21 07:02:44 +00:00
rods 9110044d7f Added ListBox and fixed RadioButton to be managed 1998-06-19 21:38:32 +00:00
kmcclusk 159859e7ea Removed the explict setting of the width and height of the main window. This lets the frame window stay the fixed width and height causing the main window to grow. This fixes a bug in the Linux viewer where scrollbars are the wronng size. 1998-06-19 21:20:08 +00:00
rods 41c9263ae1 fixed the factory to check the internal mClassID instead of the incoming interface id 1998-06-19 20:09:18 +00:00
rods 0d6c742870 removed the initial 'button' string from create 1998-06-19 20:08:40 +00:00
michaelp eb2e391102 painting fixes... 1998-06-19 02:46:25 +00:00
rods 377dc172b4 Fixed up scrolling a little 1998-06-18 15:59:51 +00:00
kmcclusk 99802e6c17 Optimized compression of resize events 1998-06-18 01:45:44 +00:00
kmcclusk bdee0851a5 Added generation of NS_PAINT event after a NS_SIZE event. 1998-06-18 00:58:10 +00:00
kmcclusk bc56b34733 Changes to support the compression of resize events on multiple windows 1998-06-18 00:28:06 +00:00
spider 366e1ab1ef Implement GetRenderingContext 1998-06-18 00:16:52 +00:00
kmcclusk f96f55bf63 More changes for resize under Linux 1998-06-17 23:56:23 +00:00
kmcclusk 33ad4befeb Added some code to try fixing resizing problems in Linux viewer. 1998-06-17 23:43:45 +00:00
rods f8f68e16b7 Fixed build problem, removed scrollbar errors 1998-06-17 16:27:05 +00:00
rods d3d17d88c5 Fixed the page up page down for the thumb on the scrollbar 1998-06-17 16:07:28 +00:00
rods 7ce5645d96 Fixed up scrolling a bit by discarding multiple expose events 1998-06-17 15:52:55 +00:00
rods 1a6837d6f1 rename AGGRRGATE to AGGREGATE
made all the aggregate inner classes friend of the enclosing class
1998-06-17 14:54:52 +00:00
rods 8fbcd97125 trying to fix scrollbar and exposure 1998-06-16 23:51:44 +00:00
atotic b790e17110 Last enum should not be followed by a ','. This generates warnings on the Mac 1998-06-16 21:45:48 +00:00
atotic fcb81f3583 First Checked In. 1998-06-16 21:39:13 +00:00
scullin 1d5cfd5c02 fix build bustage 1998-06-16 18:51:22 +00:00
rods aefd097115 initial 1998-06-16 18:25:35 +00:00
rods 7a93a69a5e added nsListBox 1998-06-16 18:23:51 +00:00
rods d77f3b5b8c fixed some resizing problems 1998-06-16 18:23:25 +00:00
michaelp 0b4c100e80 fixed client versus non-client get bounds problems. 1998-06-16 17:16:59 +00:00
kmcclusk b69cf44ee1 Removed reference to method no longer in the class 1998-06-15 22:42:25 +00:00
rods adc249a88c removed NoNotify 1998-06-15 22:35:31 +00:00
rods 6f55477ed0 removed radiogroup functionality 1998-06-15 22:05:24 +00:00
rods 10ec006b41 removed RadioGroup methods 1998-06-15 22:02:13 +00:00
rods 13cf0af689 set internal full path/file correctly, and uses it's own event loop with a kludge from nsAppShell 1998-06-15 20:25:24 +00:00
rods f20a532504 no longer derived nsWindow, it is truely a delegated helper 1998-06-15 20:24:17 +00:00
rods 62d048b153 changed QueryInterface to QueryObject, it now derived from nsWindow and hasa nsTextHelper 1998-06-15 20:23:40 +00:00
rods 8c65a01a05 added kludge for nsFileWidget 1998-06-15 20:22:43 +00:00
rods f0b5d6217a more fixes for irix 1998-06-15 17:08:33 +00:00
kmcclusk 9cbfeba196 Added support for XPCOM Aggregation in the Motif Widget library 1998-06-15 16:50:53 +00:00
rods e543bb8ed9 fixing irix build 1998-06-15 16:34:18 +00:00
rods 6aea94df78 added additional FileWidget support 1998-06-15 16:29:00 +00:00
rods 308eb603eb added sow/hise and resize 1998-06-15 16:28:42 +00:00
rods 646ec3b9d3 fixed up resize events 1998-06-15 15:36:28 +00:00
rods 568922e8ab added File Widget 1998-06-15 15:36:09 +00:00
rods 1d8c05e4e2 added nsFIleWidget.cpp 1998-06-15 15:35:56 +00:00
rods d0cc7dbc31 initial working version 1998-06-15 15:35:35 +00:00
rods 1b571a9320 removed nsFileWidget 1998-06-11 21:59:45 +00:00
rods 13e645d3c6 fixed build problem 1998-06-11 21:56:42 +00:00
rods 258ba6b599 added nsFileWidget 1998-06-11 21:35:26 +00:00
spider 5cc1ba3443 Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
kmcclusk 6cfedaa8de Added support for nsDispatchListener's under Motif. 1998-06-11 19:29:57 +00:00
spider ca9e4908e3 Force the Drawing Area to have zero border width: 1998-06-11 01:54:07 +00:00
rods 602921b15b add stdlib.h to pick exit() on irix 1998-06-10 23:33:15 +00:00
rods 61cc5099c7 changed signature of OnResize 1998-06-10 22:42:34 +00:00
rods 954a518fee initial 1998-06-10 20:42:04 +00:00
rods 314054700a added text support 1998-06-09 21:12:35 +00:00
kmcclusk f7a0359164 Added mBounds field 1998-06-09 21:02:19 +00:00
kmcclusk cd945bb495 GetBounds now returns the rect given in the Create if the Widget has not
been realized yet.
1998-06-09 20:20:14 +00:00
spider f2b721e68a Add Exposure mask code back into event handlers, modify Makefile so
source actually builds (it wasn't on IRIX since the first .cpp had a'#'
sign in it commenting out the rest), and add a char * passwd so nsXtEventHandler
will compile.
1998-06-09 16:58:59 +00:00
rods 112575abd8 disabled nsTextHelper.cpp build 1998-06-08 21:46:55 +00:00
rods dbf9f01061 added more functionality 1998-06-08 21:31:33 +00:00
kmcclusk 69a3e0fb5c Added NS_NATIVE_WIDGET support. Returns the HWND same as NS_NATIVE_WINDOW. This change
is required to support the cross-platform viewer
1998-06-07 22:30:46 +00:00
joki 641847c00d Comment change 1998-06-07 11:28:08 +00:00
kmcclusk ef7ad4894d Cast nsNativeWindow to Widget to fix IRIX build. NS_NATIVE_WINDOW returns the XtWindow like it used to. 1998-06-06 01:37:59 +00:00
kmcclusk 71212922af Made window support child windows under Linux:lesstif 1998-06-06 00:53:24 +00:00
spider 77c4ad23d6 Fix nested comments in nsTextHelper.cpp. Also check for null widget
when querying Window Bounds
1998-06-05 22:08:07 +00:00
rods 799b1218ab added nsTextHelper 1998-06-05 21:37:19 +00:00
rods 873c97da06 added CheckButton support 1998-06-05 21:27:08 +00:00
rods 8e30497b88 added CheckButton to factory 1998-06-05 21:26:44 +00:00
rods d885b36d92 implements full Event support 1998-06-05 21:26:16 +00:00
rods 89613d0c5d implemented Move 1998-06-05 21:25:46 +00:00
spider 297370367a Remove first Dispatch of Paint message. There should (I believe) be
only 1 paint message dispatched and the first one did not even have
a rendering context associated with it which would cause any app trying
to paint to crash.
1998-06-05 02:04:16 +00:00
rods d37cb3814f add GetNativeData pure 1998-06-04 21:37:14 +00:00
rods f3f957620b added nsnull to the end of all the XtVaSet methods 1998-06-04 21:33:08 +00:00
rods aa8a5b019f added GetNativeData method 1998-06-04 21:00:40 +00:00
rods d451adac2f fixed param problem 1998-06-04 20:59:14 +00:00
rods 126a0e1a7f fixed Create method 1998-06-04 19:56:12 +00:00
rods 5050d0ae9d add retucn for OnScroll 1998-06-04 19:55:42 +00:00
rods 9b4f016dc7 added GetNative method 1998-06-04 18:59:53 +00:00
rods 4c16d328c5 fixed event dispatcher 1998-06-04 18:53:22 +00:00
rods be7090af23 fixed event dispatcher code 1998-06-04 18:53:00 +00:00
rods ab9faa9ee7 turned on motif builds 1998-06-04 18:20:40 +00:00
rods f5161438d3 first working version window, button scrollbar 1998-06-04 18:19:50 +00:00
rods a76dffca3c changed the Create method 1998-06-04 18:12:10 +00:00
spider 563f52b367 Add NS_NATIVE_DISPLAY support 1998-06-04 05:14:25 +00:00
spider 47b82b90c5 Add NS_NATIVE_DISPLAY so gfx on UNIX can retrieve a Display
pointer from the Widget
1998-06-04 05:13:36 +00:00
rods 0c6d74f0af removed nsdefs.h include 1998-06-03 21:17:44 +00:00
rods 25c9888cf9 removed nsObject from it 1998-06-03 21:16:10 +00:00
rods 3028fb6d76 uses sharded instead of static libs 1998-06-03 21:15:13 +00:00
rods fbe5f667eb initial check in 1998-06-03 20:07:49 +00:00
rods 0af3fe3e0b uses sharded instead of static libs 1998-06-02 19:45:39 +00:00
rods de5cfeeab2 disabled the build of the test app 1998-06-02 19:44:16 +00:00
troy 652077015d Turned off CS_HREDRAW and CS_VREDRAW 1998-06-02 05:27:08 +00:00
troy c37d228671 Changed WM_WINDOWPOSCHANGED handling to ignore z-order (and activation)
changes
1998-06-02 02:33:29 +00:00
spider 84172876cd Use DSO instead of archive libs. Using archives will cause problems
since XPCOM was not intended to be used that way.
1998-06-02 01:21:29 +00:00
rods a31a675f64 oops backed out changes from Linux 1998-06-01 21:29:23 +00:00
rods 00b9ad8b35 initial 1998-06-01 20:56:12 +00:00
troy 96dd72a330 Added additional parameter to nsIWidget Resize() member functions 1998-06-01 20:26:50 +00:00
kmcclusk beea653631 GetBounds returns the client area not the window area
Resize new returns the client area not the window area
Removed the commented out RelayEvent method in nsWindow.cpp
Add a nsDispatchListener for nsIAppShell.
1998-06-01 17:04:16 +00:00
karnaze f65a3e4e87 event improvements 1998-05-29 22:44:13 +00:00
karnaze 360710c815 gui events store nsISupports; improved forms event handling 1998-05-27 23:58:07 +00:00
spider a8e7e6f383 Add motif to DIRS, commented out for now 1998-05-20 23:20:32 +00:00
spider e39db1726a Adding NS_NATIVE_WIDGET to get the native widget associated with an nsIWidget.
Windows has a concept of a native window whilst unix has a native widget and
a native window.
1998-05-20 23:19:38 +00:00
spider d0e6480337 Motif Mods 1998-05-20 23:18:09 +00:00
kmcclusk 62f2d1e006 Removed windows directory from widget/tests 1998-05-20 22:07:17 +00:00
kmcclusk dce5cf8ea0 Created an AppShell to abstract the event loop. Re-organized widget tests
into scribble and widget subdirectories and separated cross-platform code from
platform specific code
1998-05-20 22:02:14 +00:00
rods 44ebed2fda initial checkin 1998-05-19 20:39:31 +00:00
rods da8db6dc63 removed xwin directory 1998-05-19 20:34:45 +00:00
kmcclusk 364a020bc1 Changed listbox to be a nonintegral height under Win32 1998-05-18 23:52:20 +00:00
kmcclusk f7bc342696 Added nsTooltipEvent to indicate the index of the tooltip rectangle that is being shown.
Now correctly initializes TOOLINFO structures before using them.
1998-05-18 17:55:34 +00:00
karnaze 2ec55336d9 initial support for <input type=file>, combo box use of widget init data for sizing 1998-05-18 16:39:42 +00:00
rods 72cb4a8b47 initial 1998-05-15 17:43:42 +00:00
kmcclusk ad5302a8b5 Added widget specific init structs 1998-05-14 21:34:08 +00:00
michaelp 9d6a2c2cfa killed temp printf()s. 1998-05-13 03:40:01 +00:00
michaelp 6bc6fe12e2 made form elements scroll smoothly. added apis to widgets to support this. 1998-05-13 03:39:08 +00:00
kipp 1dbaee03cc Remove useless header file 1998-05-09 03:20:37 +00:00
kipp 2b74152fc9 Removed unused class decl 1998-05-09 03:20:24 +00:00
rods 80bf79605f added mouseEvent struct 1998-05-08 14:54:09 +00:00
kmcclusk c46c75b925 Added tooltip widget and ScreenToWidget and WidgetToScreen conversion member functions 1998-05-05 23:41:16 +00:00
kmcclusk 0e750b5fa8 *** empty log message *** 1998-05-05 19:58:27 +00:00
hardts 97de795c27 check for null to prevent crash 1998-05-05 18:51:19 +00:00
kmcclusk ba53c7c893 Added support for generating tooltip events 1998-05-04 19:25:25 +00:00
rpotts bc21e8ff01 removed eval(PRBool,...) function since it clashes with the eval(PRInt32,...) version 1998-04-29 20:10:16 +00:00
kmcclusk 77f256ef6b Added events for left and right mouse button double clicks 1998-04-29 19:59:06 +00:00
kmcclusk eb3853459c Fixed textwidget refresh problem.
Added AutoErase method to nsWindow.cpp, nsTextHelper.cpp and nsListBox.cpp
1998-04-28 19:24:52 +00:00
karnaze 0aaeba3e9b fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kmcclusk 2b0df5e66e Added SelectAll member function to nsITextWidget
Fixed Select(start, stop) for nsITextWidget and nsITextAreaWidget
Added NS_MOVE event
Cleanup up nsWindow.cpp by centralizing code to initialize events and dispatch events.
1998-04-24 23:09:11 +00:00
karnaze 4364c856d4 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
rods 3d4095968a changed the items are add into the combo box 1998-04-24 16:21:32 +00:00
michaelp 537eb095c6 removed debug junk 1998-04-23 21:52:02 +00:00
kmcclusk 2e9f672aad Added SetMaxTextLength method to text widget and textarea widget. 1998-04-23 20:21:24 +00:00
kipp 32ae45c0ed Fixed SetTitle API 1998-04-23 16:51:25 +00:00
kmcclusk a0d9472205 Changed SetBorderStyle to work with child windows only 1998-04-18 00:27:48 +00:00
kmcclusk 31d9f3e8c5 Added SetBorderStyle and SetTitle to nsIWidget 1998-04-17 23:45:07 +00:00
kmcclusk 97f26f86a2 Added a tab widget 1998-04-17 00:16:11 +00:00
kmcclusk 74cd77c4b7 Added doc++ comments to ns/widget/src/windows 1998-04-14 23:20:49 +00:00
kmcclusk 11af27de6a Made comments DOC++ compatible 1998-04-14 21:33:43 +00:00
rods 5c4f86ae3d fixed comments 1998-04-14 20:59:07 +00:00
kmcclusk 96f42c257b Modified comments 1998-04-14 20:49:25 +00:00
rods 20f7f6dfcc fixed comment 1998-04-14 20:48:14 +00:00
rods b98a462b22 fixed comments 1998-04-14 19:26:42 +00:00
kmcclusk 3c00e3be1d Added/Improved header file comments 1998-04-14 00:31:59 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00