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

537 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com b2ec27561e Changed to new interfaces 1998-09-16 17:01:03 +00:00
kmcclusk%netscape.com 2b9fb8e047 More modifications to nsWindow.cpp to match nsIWidget interface. 1998-09-16 16:44:25 +00:00
dcone%netscape.com 1ef77d25e1 fixed colorspace stuff 1998-09-16 16:27:36 +00:00
dcone%netscape.com 4427a8d422 fixed mac version 1998-09-16 16:24:21 +00:00
kmcclusk%netscape.com 9db8c32551 Added nsObject.cpp and nsObject.h files, More mods to nsWindow to match
the nsIWidget interface
1998-09-16 00:53:19 +00:00
kmcclusk%netscape.com 105efc857a Massive modifications to use the new nsIWidget interface. 1998-09-16 00:21:00 +00:00
dcone%netscape.com bf13a91cef Added image test support, needed netlib in the link 1998-09-15 21:58:25 +00:00
kostello%netscape.com 1bde2d30ae *** empty log message *** 1998-09-15 21:56:35 +00:00
kostello%netscape.com 9c019b38ba Added nsFileWidget.cpp 1998-09-15 21:56:07 +00:00
kostello%netscape.com 050d5a81b9 Fix CreateInstance 1998-09-15 21:55:50 +00:00
kostello%netscape.com f922545f77 Fix QueryInterface 1998-09-15 21:55:22 +00:00
michaelp%netscape.com 14f953dc6a fix so that if our windows get subclassed and we never hear any
WM_DESTROY messages, we still cleanup properly.
1998-09-15 03:45:06 +00:00
kostello%netscape.com caac64c90e Update to synch with new Widget interfaces 1998-09-15 01:40:16 +00:00
kostello%netscape.com 8858364ff9 Add nsWidgetSupport MANIFEST 1998-09-15 01:39:26 +00:00
kostello%netscape.com 9297d0f681 Added nsWidgetSupport.cpp 1998-09-15 01:38:53 +00:00
kostello%netscape.com 4943bcbef1 Synch with new Widget interfaces 1998-09-15 01:36:26 +00:00
kostello%netscape.com 03b192b61c Synch with new widget interfaces 1998-09-15 01:35:27 +00:00
kipp%netscape.com aaeffbed29 Cleaned up ConvertStatus code 1998-09-15 00:14:11 +00:00
kostello%netscape.com 275194a16c Helper functions for widget manipulation and creation 1998-09-14 20:49:28 +00:00
kostello%netscape.com ed9722ce65 Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface. Also, using helper functions in nsWidgetHelper
for standard Create calls.
1998-09-14 20:43:58 +00:00
kostello%netscape.com 2c6efb3fa2 Removed Aggregation and removed multiple inheritance.
Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface.
1998-09-14 20:40:49 +00:00
kostello%netscape.com be8e6c758e Major Change: changed all Widget interfaces so that they no longer
descend from nsIWidget. This conforms better to our standard
of not having interfaces inherit from each other.

Changed many of the interfaces to be XPCOM complient i.e. all methods
return nsresult. Therefore the signature of many of the "getters"
changed.
1998-09-14 20:38:05 +00:00
dcone%netscape.com 1c3116264b added some image tests 1998-09-14 15:46:23 +00:00
kipp%netscape.com 909417ec89 Use ADDREF/RELEASE macros 1998-09-12 19:29:39 +00:00
thom%netscape.com 80179da595 Added code to handle Menu events 1998-09-12 00:05:39 +00:00
dcone%netscape.com befa47f746 fixed some focus bugs 1998-09-11 17:49:49 +00:00
dcone%netscape.com a14cbbbd10 fixed focus bugs 1998-09-11 17:49:32 +00:00
dcone%netscape.com df3bf704d1 focus bug fixes 1998-09-11 17:47:50 +00:00
pierre%netscape.com 5a98727f27 fix crash on update 1998-09-11 10:19:26 +00:00
pierre%netscape.com c61f6bdb05 fix uninitialized mWindowRegion / make the window title bar visible 1998-09-11 10:17:02 +00:00
dcone%netscape.com dc36bb18e6 added textfield 1998-09-10 21:33:56 +00:00
dcone%netscape.com 684277a5d9 added focus managment, textfields 1998-09-10 21:26:46 +00:00
dcone%netscape.com 47d091204c added focus managment 1998-09-10 21:26:01 +00:00
dcone%netscape.com e5acf9ec50 Added focus managment 1998-09-10 21:25:47 +00:00
dcone%netscape.com 185dc1b271 added textfield widget, focus management 1998-09-10 21:25:10 +00:00
pierre%netscape.com 878d0048af removed temporary NET_PollSockets() added OnPaint() call 1998-09-05 08:10:15 +00:00
pierre%netscape.com 97a11080f9 ported AddMouseListener() and AddEventListener() from Windows 1998-09-05 08:05:30 +00:00
dcone%netscape.com 7bac08e4c6 added checkbutton 1998-09-04 21:12:12 +00:00
dcone%netscape.com 09341b018b fixed text 1998-09-04 21:10:30 +00:00
dcone%netscape.com 888c94eb2f new mac version 1998-09-04 21:10:13 +00:00
dcone%netscape.com 06f7b5c7c0 updated kipps changes 1998-09-04 18:01:46 +00:00
dcone%netscape.com 97ed8eb757 fixed to XP again 1998-09-04 18:01:00 +00:00
dcone%netscape.com b1100d948a updated to kipps changes 1998-09-04 18:00:21 +00:00
thom%netscape.com a450f38e1b Quick hack to get timers working (added call to tickle LPeriodical class) 1998-09-04 00:28:35 +00:00
mcafee%netscape.com e8f4030eca nsToolkitErrorhandler() needs to return a value, this breaks Solaris. 1998-09-03 10:32:55 +00:00
pierre%netscape.com 593c7c6778 temporarily call NET_PollSockets() before WNE, waiting for the timers to be implemented 1998-09-03 06:20:32 +00:00
thom%netscape.com 4484ae3e9b Copy and paste error (SomethingClassWin needed to change to somethingClassMac) 1998-09-03 02:54:11 +00:00
karnaze%netscape.com a26dce780e frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
buster%netscape.com 77bf6df366 put "quickdraw" in an #ifdef NS_MAC 1998-09-02 23:01:35 +00:00
dcone%netscape.com 513b84b0f4 mac fixes 1998-09-02 22:01:18 +00:00
dcone%netscape.com d851355460 add the macradiobutton 1998-09-02 21:54:14 +00:00
dcone%netscape.com c0b19a06a8 made it a mac version 1998-09-02 21:53:49 +00:00
dcone%netscape.com 4f1fa7ad3a enabled the nsRadiobutton factory 1998-09-02 21:48:05 +00:00
dcone%netscape.com 03537413ed Mac implementation, first pass 1998-09-02 21:47:47 +00:00
dcone%netscape.com 2298d203b7 used my own mousemoved tracking for better speed 1998-09-02 21:47:25 +00:00
dcone%netscape.com c817b9d63e added better tracking 1998-09-02 21:46:53 +00:00
spider%netscape.com ac09d5c154 Fix for modifier key state on keyboard messages 1998-09-02 21:14:45 +00:00
rods%netscape.com baf1908239 Removed nsDeviceCOntextUnix header file and replaced it with nsIDeviceContext 1998-09-02 20:01:41 +00:00
rods%netscape.com 84106de27a Implemented ConvertPixel 1998-09-02 19:33:01 +00:00
kostello%netscape.com 3ec450c3ea Add nsILookAndFeel.h MANIFEST 1998-09-02 17:58:37 +00:00
rods%netscape.com f8b4c13051 Fixed SetLabel and Get Label in nsDialog 1998-09-01 23:13:43 +00:00
rods%netscape.com a47590c6e4 SetForegroundColor and SetBackground work properly
Enabled implemented
1998-09-01 22:42:13 +00:00
rods%netscape.com 677967df06 SetForegroundColor and SetBackground work properly 1998-09-01 22:41:39 +00:00
rods%netscape.com d5b582755e Fixed small compiler error 1998-09-01 20:57:16 +00:00
rods%netscape.com a120fcc72f Renamed the enums to be more compiliant with naming conventions,
Changed API to be XP_COM correct
Added eMetric_TextHeight enum
1998-09-01 20:54:39 +00:00
kmcclusk%netscape.com 3ca4e32ef1 Removed mouse debug printf. 1998-09-01 20:32:56 +00:00
dcone%netscape.com 33323eae8a Fixed mouseup messaging 1998-09-01 20:24:54 +00:00
rods%netscape.com e02b1433ea Added nsDialog 1998-09-01 15:29:47 +00:00
rods%netscape.com 0fc50dcaab Added the managed widget to make it work. 1998-09-01 15:28:40 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
dcone%netscape.com 7fdc9a0806 fixed the mouse enter and exit routines 1998-08-31 22:42:44 +00:00
dcone%netscape.com 7d7df75cf2 fixed update action 1998-08-31 22:42:06 +00:00
dcone%netscape.com c187ae0a52 tracking updates 1998-08-31 21:50:59 +00:00
dcone%netscape.com 6988056af6 fixed some update and drawing routines 1998-08-31 21:50:36 +00:00
dcone%netscape.com 0c0b829d94 Re-wrote the drawing routines for this widget 1998-08-31 21:49:49 +00:00
kostello%netscape.com eba74be910 Add nsIDialog.h and nsILabel.h to MANIFEST 1998-08-31 19:00:38 +00:00
dcone%netscape.com c263b197d7 update fix 1998-08-31 15:10:01 +00:00
dcone%netscape.com cfbe428b5d fixed updating 1998-08-31 15:08:46 +00:00
rpotts%netscape.com cd747c1726 Changes to allow building when STRICT is defined. 1998-08-29 06:21:50 +00:00
troy%netscape.com 6a2fa61df2 Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
rods%netscape.com c9639a9aea Fixed nsLabel and nsDialog to compile and link correctly 1998-08-28 23:00:03 +00:00
rods%netscape.com 5bbc3d2021 initial checkin for nsLabel and nsDialog 1998-08-28 22:49:12 +00:00
rods%netscape.com 2812a9609f Added nsLabel and nsDialog 1998-08-28 22:48:50 +00:00
rods%netscape.com 929e07ca53 Fixed OnPaint to draw Dialog and children correctly. 1998-08-28 22:11:04 +00:00
spider%netscape.com 980042034c Initialize the device context to null. This was causing a crash if the
device context for a widget were queried prior the window getting
created.
1998-08-28 20:29:04 +00:00
troy%netscape.com fa44b729c9 Changed nsIFontCache to conform to XPCOM standards 1998-08-28 05:16:41 +00:00
troy%netscape.com ed9b9e994d Fixed call to GetFontCache 1998-08-28 02:56:22 +00:00
kostello%netscape.com 4e64255f12 Added support for hit testing and mac support methods for translating between mac coordinate system and nsRects 1998-08-27 23:04:30 +00:00
troy%netscape.com ed92d2c34f fixed my bustage. 1998-08-27 23:02:03 +00:00
kostello%netscape.com 7f0497a1eb Added methods to update window bounds rect during resize and drag 1998-08-27 23:01:56 +00:00
kostello%netscape.com 45b7acf69e Added Mac to nsRect support. Added HitTest logic 1998-08-27 23:01:17 +00:00
troy%netscape.com 45f4b12a38 Change to GetRenderingContext 1998-08-27 21:09:25 +00:00
rods%netscape.com 9216495125 Added InitData struct 1998-08-27 20:29:59 +00:00
rods%netscape.com 076ea3b043 Added nsLabel and nsDialog to build 1998-08-27 20:26:30 +00:00
rods%netscape.com 8ef4133594 Initial working checkin 1998-08-27 20:16:20 +00:00
rods%netscape.com b027bbcbbc Added nsILabel.h and nsIDialog.h 1998-08-27 20:09:16 +00:00
troy%netscape.com 361707b894 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
dcone%netscape.com e09924f871 Fixed some small bugs. 1998-08-27 18:03:15 +00:00
dcone%netscape.com e90a67c980 updated some routines 1998-08-27 17:46:58 +00:00
dcone%netscape.com eb63a0a754 updated some routines 1998-08-27 17:35:49 +00:00
dcone%netscape.com 8eeb59082f Updated the clipping region, and some coordinate fixes 1998-08-27 17:33:51 +00:00
dcone%netscape.com acf9460690 Fixed the messaging and local/global point location 1998-08-27 17:32:57 +00:00
dcone%netscape.com de13366373 added a region native data type 1998-08-27 17:31:59 +00:00
troy%netscape.com 7ad15a2022 Changes to nsIDeviceContext API 1998-08-27 05:14:35 +00:00
dcone%netscape.com f123a89209 Major redo based on a new GFX library 1998-08-26 14:16:51 +00:00
dcone%netscape.com 4b0e1e1ded First Checked In. 1998-08-26 14:15:58 +00:00
dcone%netscape.com 30eef8c280 Mac work for Raptor 1998-08-26 14:15:34 +00:00
dcone%netscape.com ba06d7bcad doing Mac work, temporary file 1998-08-26 14:14:50 +00:00
dcone%netscape.com 0d5cb121b9 Finished the first pass at implementation 1998-08-24 20:10:57 +00:00
joki%netscape.com c897271621 Fix nsIWidget's GetParent call to return parent, not self. 1998-08-21 21:41:36 +00:00
dcone%netscape.com e249837ce4 *** empty log message *** 1998-08-21 17:14:30 +00:00
dcone%netscape.com 3c13d0f97b Added GFX factory creation, this allows the nsDeviceContext to be created. 1998-08-21 17:13:52 +00:00
dcone%netscape.com 224b4a20c6 Major redo based on a new GFX library 1998-08-21 17:13:14 +00:00
dcone%netscape.com 32176b4a74 Added the creation of the device context. 1998-08-21 17:12:32 +00:00
dcone%netscape.com 125a0c023a Updated to the correct way the DeviceContext should work, added the twips calculation 1998-08-21 17:11:15 +00:00
troy%netscape.com 34f0353b74 Added clipChildren option to nsWidgetInitData 1998-08-19 23:11:41 +00:00
michaelp%netscape.com aae3b048e7 fixed bug in loading one of the icons where the handle to load from was never
specified.
1998-08-19 21:05:50 +00:00
dcone%netscape.com a5b7779ff7 *** empty log message *** 1998-08-19 17:24:14 +00:00
dcone%netscape.com e5f4711280 Re wrote these files to reflect the correct way of building Devicecontexts 1998-08-19 17:24:13 +00:00
dcone%netscape.com b1e16184a7 Re-syn 1998-08-19 17:21:06 +00:00
dcone%netscape.com f1108eed88 Major redo based on a new GFX library 1998-08-19 17:20:31 +00:00
troy%netscape.com 8865f7ea88 Added some comments 1998-08-19 05:06:59 +00:00
troy%netscape.com df2aadc466 Changed WM_QUERYNEWPALETTE code to return TRUE to indicate that
a palette was realized
1998-08-19 02:31:08 +00:00
troy%netscape.com 7aba78ee4d Changed palette code to get the palette from the device context 1998-08-19 00:57:02 +00:00
kostello%netscape.com 45168a4bd3 Added nsButton to libraries 1998-08-18 22:49:21 +00:00
kostello%netscape.com 101e6a6618 Fixed FindWidgetHit. Added conditional checks for enumerator code. 1998-08-18 22:48:35 +00:00
kostello%netscape.com ec46c52723 Comment back in nsIButton code 1998-08-18 22:46:07 +00:00
kostello%netscape.com e3d00318fe Add support for nsButton 1998-08-18 22:45:21 +00:00
kostello%netscape.com ac22cabb49 Check for null 1998-08-18 22:44:43 +00:00
kostello%netscape.com ca8670a399 Added mControl -- temporarily, code from nsButton will probably be moved to a superclass 1998-08-18 22:44:02 +00:00
kostello%netscape.com e1f6ba7a8a First step in converting motif code to mac code. 1998-08-18 22:43:08 +00:00
kostello%netscape.com 6ccce5e902 Changed comment from motif to mac 1998-08-18 22:42:23 +00:00
michaelp%netscape.com 7b21ea3e0f when killing a window, we now set the GWL_USERDATA to NULL. this will basically
kill the "parent" pointer.
1998-08-18 22:03:34 +00:00
pinkerton%netscape.com cdee4ed221 Now generating xSYM info for nsMacMessagePump.cpp in debug target. 1998-08-18 17:54:17 +00:00
kostello%netscape.com a046eaf5fc Fix mac build 1998-08-18 17:24:55 +00:00
kostello%netscape.com 66f202548e These were checked in by mistake 1998-08-18 16:45:33 +00:00
dcone%netscape.com 7fbb9f0462 Added paint and mousemove events, messagepump 1998-08-18 16:27:05 +00:00
dcone%netscape.com 639fd43efd Added paint and mousemove events 1998-08-18 16:23:13 +00:00
joki%netscape.com da89307a49 A couple of macros for getting basic event types 1998-08-18 03:47:24 +00:00
kostello%netscape.com df8860d839 Fix mac build 1998-08-18 00:09:48 +00:00
troy%netscape.com a608953ee7 Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code
1998-08-17 23:20:42 +00:00
kmcclusk%netscape.com 339e2721c1 Implemented SetFocus. 1998-08-17 17:58:37 +00:00
dcone%netscape.com 32b2a171cf fixed up messaging 1998-08-17 15:18:28 +00:00
kmcclusk%netscape.com 0cd1f9588b Now detects Alt key during keypress and mouse events. 1998-08-14 22:58:07 +00:00
kmcclusk%netscape.com 8962914bf6 Now sets shift and control fields in the mouse and keyboard events properly. 1998-08-14 22:47:38 +00:00
kmcclusk%netscape.com 97bd230a1a Fixed keycode translation. Now Page_Up Page_Down Arrow and control keys can
be detected.
1998-08-14 22:07:52 +00:00
kmcclusk%netscape.com 8b198af3a3 Changed DispatchMouseEvent to take a & (ref). 1998-08-14 21:09:36 +00:00
troy%netscape.com 4c680e8752 Changed enumerator class to use a nsVoidArray object to manage the
list of child widgets
1998-08-13 23:01:01 +00:00
dcone%netscape.com 42121814d3 fixed project a memory size 1998-08-13 21:09:26 +00:00
dcone%netscape.com f4affa8c66 new creation technique 1998-08-13 21:09:01 +00:00