400 Commits

Author SHA1 Message Date
rods%netscape.com
7876bbcfce Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.


git-svn-id: svn://10.0.0.236/trunk@7440 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:23:49 +00:00
troy%netscape.com
4ea1793e34 Some improvements to the ref counting
git-svn-id: svn://10.0.0.236/trunk@7430 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 05:06:24 +00:00
troy%netscape.com
aa05f15f17 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


git-svn-id: svn://10.0.0.236/trunk@7424 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:11:43 +00:00
rods%netscape.com
e197487ae9 Fixed the fix
git-svn-id: svn://10.0.0.236/trunk@7258 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:06:35 +00:00
rods%netscape.com
21f2943467 Added a check for a null hWnd on call to ScreenToClient, DESTROY event
can cause wHnd to be null


git-svn-id: svn://10.0.0.236/trunk@7257 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:04:02 +00:00
rods%netscape.com
19959a047b Added the method SetUpForPaint for setting up the proper foreground
and background colors for the WM_CTLCOLORXXXX messages


git-svn-id: svn://10.0.0.236/trunk@7163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:28:00 +00:00
karnaze%netscape.com
9644a5c3c8 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize
git-svn-id: svn://10.0.0.236/trunk@6884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 21:25:35 +00:00
kmcclusk%netscape.com
2135ae7e66 Changed Enumerator constructor to initialize mRefCnt to 1 instead of 0.
git-svn-id: svn://10.0.0.236/trunk@6877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:40:22 +00:00
scullin%netscape.com
db399badcd More refcount fixes.
git-svn-id: svn://10.0.0.236/trunk@6767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:04:44 +00:00
scullin%netscape.com
1af12fa1dc Normalize widget api on UNIX and win, add LAF interface, make sample
apps function again.


git-svn-id: svn://10.0.0.236/trunk@6745 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:51:45 +00:00
michaelp%netscape.com
fa4330329c form elements, etc. (i.e. sub widgets) now scroll smoothly.
git-svn-id: svn://10.0.0.236/trunk@6494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:24:42 +00:00
joki%netscape.com
5352fa5b8e More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
git-svn-id: svn://10.0.0.236/trunk@6219 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 02:55:33 +00:00
rods%netscape.com
efc42cfbad fixed the bug for setting background color on controls
git-svn-id: svn://10.0.0.236/trunk@6078 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:04:18 +00:00
rpotts%netscape.com
9307060f24 Added XXX comment to a particularly nasty piece of code...
git-svn-id: svn://10.0.0.236/trunk@5804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:27:37 +00:00
kipp
b7b5e4a567 Removed WS_VISIBLE from everywhere so that windows when created are hidden until positioned and shown
git-svn-id: svn://10.0.0.236/trunk@5475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:17:29 +00:00
rods
a8236ce79d Commented out the SetBKColor in the callback
git-svn-id: svn://10.0.0.236/trunk@5053 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:58:36 +00:00
joki
922f48ccea Remove temporary setFocus() call. Focus shift moved to nsScrollingView
git-svn-id: svn://10.0.0.236/trunk@4876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:14:28 +00:00
joki
4f5389f76c Validity check for focus event during nsWindow destruction
git-svn-id: svn://10.0.0.236/trunk@4671 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 21:18:19 +00:00
michaelp
c0d17b54f9 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.


git-svn-id: svn://10.0.0.236/trunk@4472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:24:45 +00:00
joki
842aa4055d Focus method modification for editor.
git-svn-id: svn://10.0.0.236/trunk@4363 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:30:41 +00:00
michaelp
103248f21c painting fixes...
git-svn-id: svn://10.0.0.236/trunk@4129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 02:46:25 +00:00
michaelp
578d20afe5 fixed client versus non-client get bounds problems.
git-svn-id: svn://10.0.0.236/trunk@3895 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:16:59 +00:00
spider
c47938cca0 Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available.
git-svn-id: svn://10.0.0.236/trunk@3670 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:26:21 +00:00
kmcclusk
d2a0886326 Added NS_NATIVE_WIDGET support. Returns the HWND same as NS_NATIVE_WINDOW. This change
is required to support the cross-platform viewer


git-svn-id: svn://10.0.0.236/trunk@3466 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 22:30:46 +00:00
troy
1d7d0dce90 Turned off CS_HREDRAW and CS_VREDRAW
git-svn-id: svn://10.0.0.236/trunk@2917 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:27:08 +00:00
troy
d81dd07553 Changed WM_WINDOWPOSCHANGED handling to ignore z-order (and activation)
changes


git-svn-id: svn://10.0.0.236/trunk@2905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:33:29 +00:00
troy
1a852af754 Added additional parameter to nsIWidget Resize() member functions
git-svn-id: svn://10.0.0.236/trunk@2841 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:26:50 +00:00
kmcclusk
76c18f5955 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.


git-svn-id: svn://10.0.0.236/trunk@2812 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:04:16 +00:00
karnaze
b7849c378e event improvements
git-svn-id: svn://10.0.0.236/trunk@2654 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:44:13 +00:00
karnaze
4fda063ac0 gui events store nsISupports; improved forms event handling
git-svn-id: svn://10.0.0.236/trunk@2432 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:58:07 +00:00
kmcclusk
5106d81117 Added nsTooltipEvent to indicate the index of the tooltip rectangle that is being shown.
Now correctly initializes TOOLINFO structures before using them.


git-svn-id: svn://10.0.0.236/trunk@1819 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 17:55:34 +00:00
kmcclusk
0e678cc344 Added widget specific init structs
git-svn-id: svn://10.0.0.236/trunk@1671 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:34:08 +00:00
michaelp
1f91c084c2 killed temp printf()s.
git-svn-id: svn://10.0.0.236/trunk@1506 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 03:40:01 +00:00
michaelp
808a040fee made form elements scroll smoothly. added apis to widgets to support this.
git-svn-id: svn://10.0.0.236/trunk@1505 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 03:39:08 +00:00
rods
8124074533 added mouseEvent struct
git-svn-id: svn://10.0.0.236/trunk@1296 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 14:54:09 +00:00
kmcclusk
a85f449dd0 Added tooltip widget and ScreenToWidget and WidgetToScreen conversion member functions
git-svn-id: svn://10.0.0.236/trunk@1168 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:41:16 +00:00
kmcclusk
ee0d950c4d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@1147 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 19:58:27 +00:00
hardts
2e49d986f7 check for null to prevent crash
git-svn-id: svn://10.0.0.236/trunk@1142 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:51:19 +00:00
kmcclusk
b36f4e2193 Added support for generating tooltip events
git-svn-id: svn://10.0.0.236/trunk@1099 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 19:25:25 +00:00
kmcclusk
27415284fe Added events for left and right mouse button double clicks
git-svn-id: svn://10.0.0.236/trunk@868 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:59:06 +00:00
kmcclusk
533b497a4d Fixed textwidget refresh problem.
Added AutoErase method to nsWindow.cpp, nsTextHelper.cpp and nsListBox.cpp


git-svn-id: svn://10.0.0.236/trunk@785 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 19:24:52 +00:00
karnaze
1096b080eb fix submit crash in nsWindow; more form control functionality
git-svn-id: svn://10.0.0.236/trunk@780 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:59:38 +00:00
kmcclusk
9b1d6078de 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.


git-svn-id: svn://10.0.0.236/trunk@626 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 23:09:11 +00:00
karnaze
4a95093116 added radio groups, select/option, beter sizing. widgets take creation parms.
git-svn-id: svn://10.0.0.236/trunk@616 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 21:37:30 +00:00
kipp
b71515f8f1 Fixed SetTitle API
git-svn-id: svn://10.0.0.236/trunk@547 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 16:51:25 +00:00
kmcclusk
fc11da3381 Changed SetBorderStyle to work with child windows only
git-svn-id: svn://10.0.0.236/trunk@369 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 00:27:48 +00:00
kmcclusk
00ad257db0 Added SetBorderStyle and SetTitle to nsIWidget
git-svn-id: svn://10.0.0.236/trunk@368 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 23:45:07 +00:00
kmcclusk
766b20eb76 Added a tab widget
git-svn-id: svn://10.0.0.236/trunk@341 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 00:16:11 +00:00
kmcclusk
7e317fe3f6 Added doc++ comments to ns/widget/src/windows
git-svn-id: svn://10.0.0.236/trunk@275 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 23:20:49 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00