Commit Graph
273 Commits
Author SHA1 Message Date
rods@netscape.com 8256119e45 Added AbsolutelyPositionDropDown 1999-08-31 13:23:15 +00:00
rods@netscape.com 5fe9e0f60e Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods@netscape.com 71ee210889 Added SynViewWithFrame 1999-08-31 13:22:45 +00:00
rods@netscape.com e7394d816e removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods@netscape.com 4c038869af uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods@netscape.com 75cba99319 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.
1999-08-31 13:03:38 +00:00
rods@netscape.com 99f4b6eb29 removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
kmcclusk@netscape.com a60c8b1280 Removed compiler warning in nsFormControlHelper::PaintCircularBackground 1999-08-30 22:29:11 +00:00
rods@netscape.com 5a08c2234b change all index parameters to PRInt32 from PRUint32
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
1999-08-27 14:42:27 +00:00
rods@netscape.com 031e869e97 Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
Reflow so it does a better job of laying out.
1999-08-27 14:38:54 +00:00
rods@netscape.com 8a2650fe6d Added the other GetDesiredSize call overriding the base class call, and making it
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
rods@netscape.com 5aa7ee0a10 Changed to respect border and padding and now draw check mark "centered" in the available space
the check mark also sizes to content area
1999-08-27 14:31:59 +00:00
rods@netscape.com f23b085a24 Changed parameters from width and height to a nsRect 1999-08-27 14:31:54 +00:00
pollmann@netscape.com fc7922321c Bug 12350 1999-08-27 03:58:47 +00:00
pollmann@netscape.com 4a0343f03e Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
rods@netscape.com 8e80181e08 Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
rods@netscape.com 21fc8eef55 Cleanup the file and gave it a unique GUID. 1999-08-26 14:45:53 +00:00
pollmann@netscape.com 61f980bbe9 Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface. 1999-08-24 21:55:56 +00:00
rods@netscape.com c5d2a2a5ad Added GetDropDown method to return the nsListControlframe 1999-08-23 14:05:37 +00:00
buster@netscape.com c4f94a46bd preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
pollmann@netscape.com a8b2dd36c9 Bug 3256: Add ScrollIntoView() method to form control frame interface. 1999-08-21 00:10:13 +00:00
pollmann@netscape.com 9e36fdb2c2 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
rods@netscape.com 10f2bfc0ff Added method GetSelectedIndex 1999-08-19 14:26:38 +00:00
rods@netscape.com e9c50c63a3 Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +00:00
rods@netscape.com f617be0aed Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item 1999-08-19 14:11:28 +00:00
rods@netscape.com d919782df5 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself 1999-08-19 14:03:53 +00:00
rods@netscape.com 63645eb663 It now takes into account the suggested size in the calculation 1999-08-19 14:02:20 +00:00
rods@netscape.com a917dba21a The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout 1999-08-19 14:00:09 +00:00
kmcclusk@netscape.com b5a5ee1b8e Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.
1999-08-12 22:06:09 +00:00
pinkerton@netscape.com a9d54387ae cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute. 1999-08-11 04:45:49 +00:00
pollmann@netscape.com 53631b1696 Bug 10939: Make image input element transparent 1999-08-11 03:30:25 +00:00
rods@netscape.com a1bae1d25d Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods@netscape.com a7272a5ce6 Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame 1999-08-10 19:22:51 +00:00
kmcclusk@netscape.com c440633943 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
rods@netscape.com 2746f589b3 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
rods@netscape.com 4863582789 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods@netscape.com 0660d021db Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself
1999-08-06 14:13:20 +00:00
ramiro@netscape.com a632421767 Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.
1999-08-06 07:14:43 +00:00
pierre@netscape.com 5a42fc933d First Checked In. 1999-08-06 05:13:07 +00:00
pierre@netscape.com 9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
evaughan@netscape.com e49e0a0bc9 Fixed fieldset padding bug. 1999-08-06 00:48:26 +00:00
rods@netscape.com b4681eab62 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
rods@netscape.com eca3652585 Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-28 21:35:55 +00:00
rods@netscape.com 1d292f43db NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method 1999-07-28 21:35:28 +00:00
troy@netscape.com 99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
kmcclusk@netscape.com 003825881c 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.
1999-07-27 23:26:36 +00:00
pavlov@netscape.com a39e5b237e window creation changes 1999-07-27 04:27:17 +00:00
joki@netscape.com 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
morse@netscape.com 42c990a692 Remove wallet from layout 1999-07-24 01:39:58 +00:00
scc@netscape.com 01af8d6640 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00