Commit Graph

30 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
Angus Leeming
47b06816be Add LColor::graphicsbg and use it in the graphics and figure insets.
Ensures that a figure with a transparent colour can be viewed
easily if the LyX screen's background colour is dark.

Prevent deletion of the image file if no conversion is required.

This patch works like a charm with the (old) figinset. When testing
the graphics inset, however, I find that colour "None" in an XPM file
is displayed as black. I have no idea why. This appears to be true of
some other graphics viewers also. E.g., KDE 2's pixie displays "None"
as black but the venerable xv works fine.

Maybe it's my version of the xpm library, but v3.4.11 appears to be
right up to date.

Can people test on their machines and/or offer suggestions here?
Angus

p.s. You can test with the XPM files in lib/images. They will no longer
be deleted if you load them into LyX!

A.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
Angus Leeming
b60c06df7e Finally get round to replacing InsetInfo with the new collabsable InsetNote.
Functionality should be identical.

Yes, I know that it'd be nice to have a yellow button with black text, like
a PostIt note. Ma�ana!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2290 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 09:57:23 +00:00
Lars Gullik Bjønnes
6396f9a204 small changes read changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Lars Gullik Bjønnes
ec5d8718c5 mathed95.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jean-Marc Lasgouttes
795225e72d Qt2 compilation + LColor cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2092 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-05 17:05:51 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jean-Marc Lasgouttes
c1d014c261 LColor cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2021 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-23 13:12:58 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jean-Marc Lasgouttes
87e0dfe896 Patches from Angus and John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1260 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-06 09:49:54 +00:00
Lars Gullik Bjønnes
4e0d9a6048 patch from Angus and from Levon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1247 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-29 19:18:28 +00:00
Lars Gullik Bjønnes
5ecd210835 patch from Levon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1246 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-29 15:34:56 +00:00
Lars Gullik Bjønnes
977cf6160f apply the patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1229 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 21:51:25 +00:00
Lars Gullik Bjønnes
360cdc0b9f Angus patch, + allow to set cursor color + constify more local variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1226 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 15:46:13 +00:00
Lars Gullik Bjønnes
d1e95f33c4 compiling not tested. two patches from angus with some small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1220 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 18:02:45 +00:00
Lars Gullik Bjønnes
e7401bd8f2 use more std::functors add some of my own, some change to fl_display etc. read the change log...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Lars Gullik Bjønnes
45a03f4f67 use the new sstream return non-pods as const, use string instead of char * in a lot of places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Lars Gullik Bjønnes
f4b8943ebb some nicer code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@952 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-03 21:17:52 +00:00
Jean-Marc Lasgouttes
802d3221e0 Lior's color patch; other small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@837 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-26 15:33:13 +00:00
Lars Gullik Bjønnes
73b9ca2a4b two patches from Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@780 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-30 19:31:11 +00:00
Lars Gullik Bjønnes
a11982d114 faster compile of LColor.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@771 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-25 03:37:32 +00:00
Lars Gullik Bjønnes
59323f5154 some lighter colors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@770 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-24 21:47:29 +00:00
Lars Gullik Bjønnes
556970623c some sun compile fixes the need clipboard code patch from Dekel ans some other fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@753 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-20 21:37:05 +00:00
Jean-Marc Lasgouttes
5fb5569a13 Dekel's depth bars and assorted fixlets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@696 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-26 14:56:50 +00:00
Jürgen Vigna
5e1a597a1e Last commit till after eastern :). Now you may create tabular-inset and
navigate inside with CursorRigth and Mouse.
Happy Eastern to all of you!!!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@684 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-21 15:16:22 +00:00
Jean-Marc Lasgouttes
db0716f666 Backup file patch from Dekel; Update to scr layout files from Hartmut Goebel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@621 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-20 14:49:54 +00:00
Lars Gullik Bjønnes
d6f638ea96 some small updates to Painter, and make the new painter the default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@555 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-14 22:14:48 +00:00
Lars Gullik Bjønnes
cfdd73ea94 new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@550 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-10 17:53:36 +00:00