peterl%netscape.com
09bc113e28
fixed bug in font family enumeration
...
git-svn-id: svn://10.0.0.236/trunk@15332 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:22:04 +00:00
peterl%netscape.com
0b40994da0
made text decorations minimum size of 1 pixel
...
git-svn-id: svn://10.0.0.236/trunk@15330 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:21:22 +00:00
pavlov%pavlov.net
026c0325c1
fix twipstopixels and got the scrollbars being sized correctly.
...
git-svn-id: svn://10.0.0.236/trunk@15284 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
618f017f6a
fixed my assertions
...
git-svn-id: svn://10.0.0.236/trunk@15229 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:43:07 +00:00
pavlov%pavlov.net
dbd7561c05
Added assertions to the gfx code so that we can find xp bugs easier
...
git-svn-id: svn://10.0.0.236/trunk@15215 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:32:12 +00:00
michaelp%netscape.com
fe7797d4be
added STRICT to list of preprocessor macros.
...
git-svn-id: svn://10.0.0.236/trunk@15169 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:00:08 +00:00
danm%netscape.com
d413bc2696
tweak change from last rev, which was close, but misbehaved.
...
git-svn-id: svn://10.0.0.236/trunk@15166 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:34:50 +00:00
troy%netscape.com
ea321d77ca
Added some casts to make the 6.0 compiler happy
...
git-svn-id: svn://10.0.0.236/trunk@15153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
43576b4ce6
changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
...
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.
git-svn-id: svn://10.0.0.236/trunk@15150 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:14:38 +00:00
michaelp%netscape.com
c85498fefa
fixed a bunch of resource leaks exposed by the xpviewer and made
...
HDC state propagation in SetupDC() more complete.
git-svn-id: svn://10.0.0.236/trunk@15149 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:12:16 +00:00
michaelp%netscape.com
f85fa148e2
changed for drawing surface HDC ownership setting.
...
git-svn-id: svn://10.0.0.236/trunk@15148 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
b4939bef55
added data member to drawing surface to determine HDC ownership.
...
git-svn-id: svn://10.0.0.236/trunk@15147 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:10:10 +00:00
msw%gimp.org
f220464167
A _horrible_ hack to make fonts readable. Needs much work here.
...
git-svn-id: svn://10.0.0.236/trunk@15122 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 04:48:47 +00:00
cyeh%netscape.com
79654fb86d
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
dcone%netscape.com
e06798ffdf
Another small fix, to take out unnessasary code.
...
git-svn-id: svn://10.0.0.236/trunk@15036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:26:06 +00:00
dcone%netscape.com
93daf60388
deleted duplicate from nsIImage.h - no longer needed
...
git-svn-id: svn://10.0.0.236/trunk@15033 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:55:50 +00:00
dcone%netscape.com
6b3aca698d
Took out all blending code, and updated to coding standards, general cleanup
...
git-svn-id: svn://10.0.0.236/trunk@15018 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:37:18 +00:00
pavlov%pavlov.net
b4cde81bb0
make sure we return a value for all of the NS_IMETHODIMP methods
...
git-svn-id: svn://10.0.0.236/trunk@14985 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 03:30:49 +00:00
pavlov%pavlov.net
d541dcc7f7
Impliment SetLineStyle and DrawPolyline
...
git-svn-id: svn://10.0.0.236/trunk@14854 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:56:41 +00:00
jfrancis%netscape.com
da170b8a62
more shared lib conversion work.
...
git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
910475eaff
more shared lib conversion work
...
git-svn-id: svn://10.0.0.236/trunk@14850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:43:45 +00:00
peterl%netscape.com
d2592b689c
tweaked x-height guess for true-type fonts
...
git-svn-id: svn://10.0.0.236/trunk@14839 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com
5477366e93
clean up transparent image rendering. Also, make sure that the XImage is
...
free'ed after rendering and that the gc is placed back into a sane state.
git-svn-id: svn://10.0.0.236/trunk@14800 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 15:32:13 +00:00
msw%gimp.org
2e2473f9bc
First pass of alpha support in images by Chris Blizzard, fixed for endian
...
problems. There is still a little work left to do on this.
git-svn-id: svn://10.0.0.236/trunk@14799 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 09:08:10 +00:00
jfrancis%netscape.com
22444ae9fd
Added shared lib targets
...
git-svn-id: svn://10.0.0.236/trunk@14795 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
b80ec268a0
Shared Lib conversion
...
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
5b3e72e2a1
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@14793 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:26:28 +00:00
pinkerton%netscape.com
fa6c94850f
fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
...
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
pavlov%pavlov.net
af89faa093
removed some debugging messages
...
git-svn-id: svn://10.0.0.236/trunk@14724 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
454a4f22b8
Remove debugging message and set the scrollbar size
...
git-svn-id: svn://10.0.0.236/trunk@14686 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
604aeb8534
patch from Owen Taylor <otaylor@redhat.com> to fix fix the GBR->RGB conversion
...
for images.
git-svn-id: svn://10.0.0.236/trunk@14685 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:53:10 +00:00
kipp%netscape.com
7200077d4d
Repaired Get3DColors code to work properly; added in extra code to make sure we never return the passed in color as one of the output colors
...
git-svn-id: svn://10.0.0.236/trunk@14683 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:20:27 +00:00
pavlov%pavlov.net
8c1ac53b4d
convert BGR colors to RGB for tables and such. We now draw images, text, etc
...
correctly, and we don't crash (at least not usually). Images are not
converted from BGR to RGB yet, but they will be shortly.
git-svn-id: svn://10.0.0.236/trunk@14682 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 23:47:41 +00:00
pavlov%pavlov.net
35061f6ecd
use NS_TO_X to convert the pixel to gdkrgb type. this may not be what we want
...
to do here though.
git-svn-id: svn://10.0.0.236/trunk@14674 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:39:04 +00:00
msw%gimp.org
968efffd3e
Draw directly onto windows, not on a pixmap
...
git-svn-id: svn://10.0.0.236/trunk@14665 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
96d71286a4
fixed build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@14661 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:58:09 +00:00
kipp%netscape.com
c631ba58e3
Fixed typo
...
git-svn-id: svn://10.0.0.236/trunk@14657 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:31:29 +00:00
michaelp%netscape.com
7c96d12312
changes to support printing architecture and actual printing under windows.
...
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
b0ed8266ad
Fix the Font methods. This allows the pages to be rendered.. under something
...
so we still can't see it.. i'm looking
git-svn-id: svn://10.0.0.236/trunk@14646 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:43:27 +00:00
pavlov%pavlov.net
72065479ef
add nsRegionGTK to the factory. this fixes some major region related
...
problems.
git-svn-id: svn://10.0.0.236/trunk@14594 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net
fb993cf19e
implimentation for DrawString for PRUnichar characters.
...
git-svn-id: svn://10.0.0.236/trunk@14475 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:08:19 +00:00
rpotts%netscape.com
47cd835bdd
Fixed random crash...
...
git-svn-id: svn://10.0.0.236/trunk@14422 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 10:04:57 +00:00
pierre%netscape.com
32cba0e347
Set the scroll bar dimensions to 16 pixels instead of 10.
...
git-svn-id: svn://10.0.0.236/trunk@14388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:41:44 +00:00
pavlov%pavlov.net
11a75fc3e7
Removed some old debugging messages and redid some font initialization which
...
seems to work a tad better, though it has plenty room to be improved.
git-svn-id: svn://10.0.0.236/trunk@14328 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:28:00 +00:00
pavlov%pavlov.net
3b2e646d56
have GetFontMetrics return a sane value. this fixes crash
...
git-svn-id: svn://10.0.0.236/trunk@14307 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:59:14 +00:00
pavlov%pavlov.net
3e54e2709e
remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
...
nsDeviceContextGTK
git-svn-id: svn://10.0.0.236/trunk@14280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:47:45 +00:00
rpotts%netscape.com
bceab2e61f
propagate abnormal stream termination correctly...
...
git-svn-id: svn://10.0.0.236/trunk@14263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
bc53841b8e
yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
...
nsFontMetricsGTK
git-svn-id: svn://10.0.0.236/trunk@14246 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
26fed3657e
patch that impliments nsRenderingContextGTK from Owen Taylor
...
<otaylor@redhat.com >
git-svn-id: svn://10.0.0.236/trunk@14245 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net
221f39c0a2
Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
...
way.
git-svn-id: svn://10.0.0.236/trunk@14243 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 19:54:14 +00:00