Commit Graph

87 Commits

Author SHA1 Message Date
kmcclusk%netscape.com
8c6ad56e81 Added ScrollWidgets method to nsIWidget. Added stub for ScrollWidgets to nsBaseWidget. Implemented nsScrollWidgets and nsScrollRect on WIN32. bug 22067; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57866 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:38:50 +00:00
bryner%uiuc.edu
23db985639 Removing unused code that is #ifdef LOSER. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@57468 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:27:01 +00:00
danm%netscape.com
2f43f8a62d new method GetScreenBounds. part of bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56922 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:28:41 +00:00
syd%netscape.com
a9c6930f9b Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.


git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
law%netscape.com
f6869e82d6 18518; Add nsIWidget::Flash with null default implementation in nsBaseWidget and real functionality in Windows version of nsWindow; r=syd@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55844 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 07:20:51 +00:00
danm%netscape.com
3f552485cf Add ModalEventFilter (originally nsAppShell::EventIsForModalWindow) and add parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@53374 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:30 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pavlov%netscape.com
da0e9ca233 add ScrollRect method to nsIWidget -- implimented on linux and stubbed in nsBaseWidget for mac and windows. Added ifdef'd scrolling code that makes scrolling really fast on linux. Updated nsIWidget.idl (not built) to merge some changes from a branch and added ScrollRect. Added ifdefs for using gtk_fixed instead of gtk_layout as part of the new scrolling code.
git-svn-id: svn://10.0.0.236/trunk@51610 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 01:17:20 +00:00
rods%netscape.com
5b32db8a61 Added ConsumeEvents parameter to CaptureRollupEvents
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
pavlov%netscape.com
a27e5441c4 work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard
git-svn-id: svn://10.0.0.236/trunk@49180 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:31:41 +00:00
beard%netscape.com
677002e392 bug #10503: added SetZIndex & GetZIndex. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48933 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:25 +00:00
rods%netscape.com
c76b7f5014 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@48564 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 11:22:21 +00:00
rods%netscape.com
bec1bc2434 Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor


git-svn-id: svn://10.0.0.236/trunk@44672 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:17 +00:00
pavlov%netscape.com
caa1f84ed3 remove unused tab widget and tooltip widget as they have never been used
git-svn-id: svn://10.0.0.236/trunk@43984 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:41:46 +00:00
pavlov%netscape.com
3d06577d5b back out previous changes
git-svn-id: svn://10.0.0.236/trunk@41665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 02:28:56 +00:00
pavlov%netscape.com
02d920528c minimize/maximize/restore code
git-svn-id: svn://10.0.0.236/trunk@41630 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:53:17 +00:00
kmcclusk%netscape.com
4da058a9e8 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
2952bfebae better comments describing the window border styles
git-svn-id: svn://10.0.0.236/trunk@41309 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:37:53 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
danm%netscape.com
3967f2f182 removing IsMenuBarVisible -- it was a mistake, and unused
git-svn-id: svn://10.0.0.236/trunk@40741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:41:50 +00:00
rods%netscape.com
babd03ec48 changed all IIDs to use NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@39532 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:54:02 +00:00
kmcclusk%netscape.com
12a07070be fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.


git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
norris%netscape.com
205ddb1970 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure.
git-svn-id: svn://10.0.0.236/trunk@38654 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:50:03 +00:00
ramiro%netscape.com
43391c2dca Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.


git-svn-id: svn://10.0.0.236/trunk@38035 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:06:48 +00:00
kmcclusk%netscape.com
44272bfdbf Added CaptureMouse method to nsIWidget. Implemented CaptureMouse in nsWindow.cpp
Added a base implementation to nsBaseWidget.cpp.


git-svn-id: svn://10.0.0.236/trunk@36076 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:37:50 +00:00
syd%netscape.com
c009860f8f Add SetModal() widget interface to nsIWidget, and provide an implementation
for Gtk+. Now, when we do modal dialogs, Gtk+ calls a routine that makes the
dialog modal within Gtk+; this is in addition to the code in nsWebShellWindow
that is being invoked to support modals on the other platforms. For Gtk+, the
nsWebShellWindow code doesn't appear to be enough; in order for the event
plumbing to stay alive, we need to call into Gtk+, and unless we actually make
the dialog modal using Gtk+ mechanisms, the user can still get to the menu bar, which is not good.


git-svn-id: svn://10.0.0.236/trunk@35095 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:56:08 +00:00
danm%netscape.com
55cfe73afc teach (or stub) nsWidget to show/hide and query visible state of menubars
git-svn-id: svn://10.0.0.236/trunk@34436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:01:55 +00:00
danm%netscape.com
21ed2a65fd adding ShowMenuBar
git-svn-id: svn://10.0.0.236/trunk@33711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:00:30 +00:00
av%netscape.com
4cc6799ade Getting windowless plugin stuff into
git-svn-id: svn://10.0.0.236/trunk@33030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:09 +00:00
syd%netscape.com
ed676036e3 Remove SetModal interface.
git-svn-id: svn://10.0.0.236/trunk@30869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:14:35 +00:00
pavlov%pavlov.net
357df7071a add eBorderStyle_BorderlessTopLevel
git-svn-id: svn://10.0.0.236/trunk@29059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 16:33:12 +00:00
pierre%netscape.com
e0241e6182 removed the NS_IWINDOW_IID hack
git-svn-id: svn://10.0.0.236/trunk@28216 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:58:29 +00:00
syd%netscape.com
1848a42f66 Support for modal dialogs in Gtk+ xpfe. Reviewed by rods.
git-svn-id: svn://10.0.0.236/trunk@28085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:18:50 +00:00
beard%netscape.com
d170b2f876 added AddEventListener
git-svn-id: svn://10.0.0.236/trunk@23876 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:30:30 +00:00
rods%netscape.com
22f6a4adb0 Added EnableDileDrop method
git-svn-id: svn://10.0.0.236/trunk@23410 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:50:40 +00:00
rods%netscape.com
1af1e7d436 Added new method "SetVerticalScrollbar"
git-svn-id: svn://10.0.0.236/trunk@22887 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:25:21 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
pierre%netscape.com
c5ce5f5263 updated some comments about nsIWindow
git-svn-id: svn://10.0.0.236/trunk@22705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:00:44 +00:00
troy%netscape.com
a8162e1fc7 Added 'clipSiblings' to nsWidgetInitData struct
git-svn-id: svn://10.0.0.236/trunk@18921 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:06:39 +00:00
saari%netscape.com
ddb6f2dc54 /m/pub/mozilla/widget/public/nsIWidget.h
- Added AddMenuListener method


git-svn-id: svn://10.0.0.236/trunk@18774 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:48:22 +00:00
pinkerton%netscape.com
839dd30dcf inserted IID() method for use with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@16605 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:13:41 +00:00
pierre%netscape.com
0b48a12c5b Removed the last of the Mac specific hacks added last week
git-svn-id: svn://10.0.0.236/trunk@16044 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:15 +00:00
pierre%netscape.com
65003d55c3 removed the NS_NATIVE_OFFSET_IN_PORT hacks
git-svn-id: svn://10.0.0.236/trunk@15899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:37:15 +00:00
saari%netscape.com
69e1ee819d ----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly


git-svn-id: svn://10.0.0.236/trunk@15609 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:43:19 +00:00
rods%netscape.com
da0a53c2df Added paint method for printing (and possible future owner draw)
git-svn-id: svn://10.0.0.236/trunk@15252 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 14:57:09 +00:00
rods%netscape.com
eb644191a7 Made GetBounds and GetClientBounds changes
Added window width and height fields nsSizeEvent


git-svn-id: svn://10.0.0.236/trunk@14103 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:43:47 +00:00
rods%netscape.com
7e9fb1460b Added 3D child window configurablility
git-svn-id: svn://10.0.0.236/trunk@13899 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:13:05 +00:00
rods%netscape.com
39fa156cf9 Added additional border style for dialogs
git-svn-id: svn://10.0.0.236/trunk@13883 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:58:55 +00:00
pierre%netscape.com
3058b55651 Landing MacWidgets...
git-svn-id: svn://10.0.0.236/trunk@13651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 14:06:26 +00:00
troy%netscape.com
336c7bc219 Added Update() member function which forces a synchronous repaint of any
dirty regions of the window


git-svn-id: svn://10.0.0.236/trunk@13524 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:16:59 +00:00