Commit Graph
33 Commits
Author SHA1 Message Date
kipp@netscape.com 74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
pierre@netscape.com 940caf72d1 small change to make it behave like nsCheckboxControlFrame when the WidgetRenderingMode is not initialized. 1999-03-08 04:46:12 +00:00
kmcclusk@netscape.com 73485522a4 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
karnaze@netscape.com b6a7104464 bug 3347 1999-03-01 19:25:47 +00:00
karnaze@netscape.com dca728e0d0 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
kipp@netscape.com 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
pierre@netscape.com 223496d823 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +00:00
kmcclusk@netscape.com 2ce547fada Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kmcclusk@netscape.com 266ae7f3f5 Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.
1999-02-05 22:15:35 +00:00
kmcclusk@netscape.com 535e64a9cb Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.
1999-02-03 18:55:37 +00:00
kmcclusk@netscape.com 6a2362f4f6 Added support to allow form elements to be either GFX-rendered or use widgets.
Work in progress for getting check boxes and radio buttons gfx-rendered.
1999-02-03 17:25:25 +00:00
kmcclusk@netscape.com 9ab532fbb5 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.
1999-01-28 00:43:49 +00:00
kmcclusk@netscape.com 56893ccb4d Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
rpotts@netscape.com 1b4772b3ed The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class... 1999-01-26 07:57:54 +00:00
kmcclusk@netscape.com 29dd95ad3e Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
rods@netscape.com 8ced71d9bf Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
brade@netscape.com 34344b47e9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
kmcclusk@netscape.com 6ff352794c Defaultchecked attribute is set to match the checked attribute just after
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)
1999-01-06 00:02:27 +00:00
peterl@netscape.com 97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp@netscape.com 1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kmcclusk@netscape.com 3c1075b74e Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
kmcclusk@netscape.com 5e8394aee9 Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.
1998-12-10 17:29:13 +00:00
kmcclusk@netscape.com 1077004bbc Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
troy@netscape.com e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp@netscape.com f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
michaelp@netscape.com 614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
karnaze@netscape.com 3c901a8811 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
karnaze@netscape.com b2086931d9 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze@netscape.com f9fc54790e fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
troy@netscape.com ee0a3c543f Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy@netscape.com 942c471f56 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
karnaze@netscape.com 7b63e3793e Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00