Commit Graph

50 Commits

Author SHA1 Message Date
sfraser%netscape.com
f5ca579709 Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@112119 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:26:49 +00:00
bryner%netscape.com
532ac12efb Fixing mac bustage. r=cls.
git-svn-id: svn://10.0.0.236/trunk@107427 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 04:15:05 +00:00
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
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +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
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
blakeross%telocity.com
78a081c6e2 Tree column resizing should use live updating on Mac OS (75574). r=pink sr=ben
git-svn-id: svn://10.0.0.236/trunk@94912 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 02:53:41 +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
brade%netscape.com
31e670fc9d use internet config to get colors for text and window background; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91045 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:27:28 +00:00
blakeross%telocity.com
1d5e9edb82 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84951 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:27:20 +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
2314f9dd95 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83277 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:48:00 +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
blakeross%telocity.com
7c695f4829 attempt to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82706 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:02:24 +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
pierre%netscape.com
8ae19847aa fix related to the reconstruction of html.css (#6625), the css system fonts (#1021 and #3371) and a regression on the Mac from #44656: make the html form controls look better on the Mac. a=buster
git-svn-id: svn://10.0.0.236/trunk@79755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:22:14 +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
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
pierre%netscape.com
c774e17424 Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected).
git-svn-id: svn://10.0.0.236/trunk@65176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:07:41 +00:00
akkana%netscape.com
ed807e304b Oops, fix a couple of build errors.
git-svn-id: svn://10.0.0.236/trunk@64638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:58:49 +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
scc%netscape.com
11bee2e856 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +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
pinkerton%netscape.com
11a66eab33 Removing ifdefs for TARGET_CARBON code. Using inline functions in Universal Headers and nsCarbonHeaders.h.
git-svn-id: svn://10.0.0.236/trunk@57360 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:20:12 +00:00
pinkerton%netscape.com
12e2deefa8 better stab at native system colors, provided by mpt26@student.canterbury.ac.nz. bug #1004, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53250 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:01:43 +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
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
pinkerton%netscape.com
7062dc3e8b take a first stab at native system colors. obviously more work needs to be done to use appearance, but this will get us started. (r=sfraser, bug# 1021).
git-svn-id: svn://10.0.0.236/trunk@50517 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:08:17 +00:00
pinkerton%netscape.com
8848021e98 adding the css2, win32-centric enums to GetColor. Not implemented yet.
git-svn-id: svn://10.0.0.236/trunk@47723 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 03:44:14 +00:00
sfraser%netscape.com
e1ed53cdf2 Ooops, I didn't mean to change the caret width. Putting that back to 20 twips.
git-svn-id: svn://10.0.0.236/trunk@47490 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 01:03:52 +00:00
sfraser%netscape.com
ba956e1f9c Change border width of HTML input fields from 4 to 2.
git-svn-id: svn://10.0.0.236/trunk@47486 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:43:19 +00:00
rods%netscape.com
5063c0dff0 Added metric for native TextField Border width
git-svn-id: svn://10.0.0.236/trunk@45890 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:19:08 +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
pinkerton%netscape.com
4fb78a28ec More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com).
git-svn-id: svn://10.0.0.236/trunk@33546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:55:40 +00:00
pierre%netscape.com
2f9ac3f4fe Fixed eColor_TextSelectXXXXX
git-svn-id: svn://10.0.0.236/trunk@33059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:38:43 +00:00
pierre%netscape.com
f236a356dc #4777 "cannot do multiple selection of menulist"
git-svn-id: svn://10.0.0.236/trunk@29395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:32:36 +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
pierre%netscape.com
ae42b2d56a display the AppearanceMgr frame around edit fields
git-svn-id: svn://10.0.0.236/trunk@18029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:34:43 +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
pinkerton%netscape.com
195a59af67 lighten the widget bg colors so this things finally looks like macNavigator again.
git-svn-id: svn://10.0.0.236/trunk@15753 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:39:36 +00:00
pierre%netscape.com
b26e325161 changed eMetric_TextFieldHeight to 16 from 30
git-svn-id: svn://10.0.0.236/trunk@15621 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:55 +00:00
dcone%netscape.com
d6052a78b0 added to widget project, first version
git-svn-id: svn://10.0.0.236/trunk@12447 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:43:42 +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
dcone%netscape.com
12be85a50e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7369 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:24:06 +00:00