Commit Graph

39 Commits

Author SHA1 Message Date
bryner%netscape.com
ebb951b148 Reorganize nsLookAndFeel so that all of the platform implementations
derive from nsXPLookAndFeel.  Implement a color cache for
nsXPLookAndFeel::GetColor calls.  bug 77941, r=akkana, rs=waterson.


git-svn-id: svn://10.0.0.236/trunk@107417 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:41:04 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
blakeross%telocity.com
3be6c89889 Big caret appears after select all on list items and a bunch of other related bugs (78949). r=sfraser sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@97573 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:30:32 +00:00
roc+%cs.cmu.edu
8932054c7a Part of fix for bug 77507. Make Windows return colors with a valid alpha channel. sr=waterson,r=kmcclusk,rods,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95911 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 14:48:31 +00:00
dbaron%fas.harvard.edu
90e814955b Add 3 proposed CSS3 system colors as -moz-FieldText, -moz-Dialog, and -moz-DialogText, which are needed to accurately represent system colors on GTK.
Restore GTK system color for WindowText to the correct value (fg rather than text).
Add debugging code that can be enabled to debug use of system colors in themes.
r=pierre@netscape.com  sr=blizzard@mozilla.org  b=67448


git-svn-id: svn://10.0.0.236/trunk@92475 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 00:46:07 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
blakeross%telocity.com
028f5a31d7 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84128 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:27:23 +00:00
blakeross%telocity.com
db924fe25d Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83278 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:48:38 +00:00
pinkerton%netscape.com
2247927ef7 add selectors for scroll arrow placement and scroll thumb size. implemented on macos to look at appearance manager. made all platforms return 0 when asking for a selector that doesn't exist, so they are all the same. r=pchen, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83102 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:51:14 +00:00
alecf%netscape.com
4ffddeb00c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@82745 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:54:21 +00:00
blakeross%telocity.com
cc61dc5baf Fix 59867: sidebar dragging needs to respect user settings. r=evaughan a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82703 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:25:45 +00:00
bryner%uiuc.edu
61225739f7 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.


git-svn-id: svn://10.0.0.236/trunk@80280 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 00:38:03 +00:00
anthonyd%netscape.com
1355a05c4e bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
akkana%netscape.com
0511a3d364 Don't return an error code just because there was no nsXPLookAndFeel override (thanks to Pierre for noticing)
git-svn-id: svn://10.0.0.236/trunk@66578 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:43:25 +00:00
pierre%netscape.com
4506eee4b8 35455 "CSS2 system color as background color does not work". Fixed the previous checkin from akkana in GetColor().
git-svn-id: svn://10.0.0.236/trunk@66072 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:25:23 +00:00
akkana%netscape.com
d6e3267595 Oops, fix a couple of build problems
git-svn-id: svn://10.0.0.236/trunk@64639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:02:31 +00:00
akkana%netscape.com
83da5706a4 24514, 33417: Make nsLookAndFeel pref'able instead of hardwired.
git-svn-id: svn://10.0.0.236/trunk@64630 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:42:40 +00:00
pinkerton%netscape.com
08b3c35f73 added a metric for determining if xul popups should be allowed to display over the menubar/taskbar. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:55:12 +00:00
hyatt%netscape.com
ea37a90dfc No error check retrieving submenu delay on Win32. r=rods
git-svn-id: svn://10.0.0.236/trunk@60869 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 11:51:12 +00:00
hyatt%netscape.com
90464a6e61 Submenu delay is incorrect for Win32 default. Patching in look and feel.
git-svn-id: svn://10.0.0.236/trunk@60622 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 07:20:22 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
sfraser%netscape.com
79de159da2 Use OS call to get caret blink time on Windows, bug 15422. r=kin
git-svn-id: svn://10.0.0.236/trunk@53119 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:08:49 +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
rods%netscape.com
d0c68ca52f Simple changed from COLOR_DESKTOP to COLOR_APPWORKSPACE for appworkspace enum
for css 2 color setting
fixes bug 16853,r=none


git-svn-id: svn://10.0.0.236/trunk@51672 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 03:03:38 +00:00
rods%netscape.com
7df83f9c8c Added a method in the debug build to return the Navigator size for a given
for control for a given font family and size. Used for NavQuirks testing only.
r=kmcclusk, Bugs #3040, 4072


git-svn-id: svn://10.0.0.236/trunk@51126 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:34:00 +00:00
rods%netscape.com
86fbfcc398 Changed the metric used to calculate the Horizontal Inside Padding
git-svn-id: svn://10.0.0.236/trunk@49431 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:48:52 +00:00
rods%netscape.com
087f7dc45e Added new CSS 2 color values, not being used yet by nsCSSProps
git-svn-id: svn://10.0.0.236/trunk@46787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:30:55 +00:00
rods%netscape.com
cc301775a8 Added new Metric that provides the TextField's native border width
git-svn-id: svn://10.0.0.236/trunk@45889 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:15:16 +00:00
sfraser%netscape.com
997d078ca7 Adding caret width and blink time to nsILookAndFeel
git-svn-id: svn://10.0.0.236/trunk@39411 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:16:59 +00:00
pierre%netscape.com
51c9f366be Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ")
git-svn-id: svn://10.0.0.236/trunk@20319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:51:36 +00:00
rods%netscape.com
4960f36497 Removed the GetFont method (this functionality is now a part of the nsIDeviceContext)
git-svn-id: svn://10.0.0.236/trunk@18226 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:59:14 +00:00
rods%netscape.com
529b6e8f8f Added new Method for Querying System Fonts
git-svn-id: svn://10.0.0.236/trunk@18019 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:36:19 +00:00
rods%netscape.com
73a072a8c0 Added several enums for form's controls
git-svn-id: svn://10.0.0.236/trunk@16755 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:53:49 +00:00
kmcclusk%netscape.com
0b9521b1af Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.


git-svn-id: svn://10.0.0.236/trunk@10812 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:19:23 +00:00
troy%netscape.com
71760eac75 Replaced some AddRef() and Release() calls with the XP-COM macros
git-svn-id: svn://10.0.0.236/trunk@10305 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:02:04 +00:00
kostello%netscape.com
52bb52faa0 Removed Aggregation and removed multiple inheritance.
Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface.


git-svn-id: svn://10.0.0.236/trunk@9990 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:40:49 +00:00
rods%netscape.com
d4db10c832 Renamed the enums to be more compiliant with naming conventions,
Changed API to be XP_COM correct
Added eMetric_TextHeight enum


git-svn-id: svn://10.0.0.236/trunk@9035 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:54:39 +00:00
scullin%netscape.com
845b37a7b7 Added LAF implementation.
git-svn-id: svn://10.0.0.236/trunk@6747 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:55:25 +00:00