Commit Graph

15 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
68e59b071f 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* GraphicsImageXPM.C (newImage): fix () bug when using new.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4292 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:33:49 +00:00
Lars Gullik Bjønnes
78934e5ff4 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* GraphicsImageXPM.C: SigC to boot::signals changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4291 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:31:05 +00:00
John Levon
962a0c5585 font loader / color handler move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 18:24:14 +00:00
Angus Leeming
5632b2d03c (John): Enable the libXPM-based loader to cope with "opaque" as a colour.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4083 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 09:12:26 +00:00
Lars Gullik Bjønnes
6277647f63 just massage the input format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4028 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 17:48:55 +00:00
Angus Leeming
195656bacf Fix the loading of xpm files by the simple image loader when it encounters
colour strings like #rrrrggggbbbb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4017 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 16:08:31 +00:00
Angus Leeming
36c21f7712 (Rob Lahaye): fix clipping when using the basic image loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3998 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 16:56:28 +00:00
Lars Gullik Bjønnes
8283e978f8 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Angus Leeming
00e13a6f56 Move connection of the image loader signals to the frontends.
Small fix to GImageXPM.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 18:07:15 +00:00
Angus Leeming
04196c1a6c Properly resolve more warnings about comparison between signed and
between signed and unsigned integer expressions.

Could people please report any further warnings.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3603 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 11:00:48 +00:00
Angus Leeming
0f433cbbf6 White space changes only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:49:10 +00:00
Angus Leeming
f6599f7257 Remove diagnostic message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3600 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:42:29 +00:00
Angus Leeming
aa70718501 * Cure the crash that became a memory leak properly.
* Enable the loading of XPM files with crappy color strings. Print
  out a nice friendly message on what's gone wrong and how to resolve
  it properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:27:59 +00:00
Angus Leeming
fcc7529843 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
(Data d-tor): introduce memory leak temporarily, to "fix" a crash
in free_color_table.
(unique_color_string): use the correct string c-tor.

Could a gcc user post me any remaining warning messages?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3594 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:43:04 +00:00
Angus Leeming
607ad8d3a7 The graphics inset now has:
* lazy loading (don't try and load the image until a request to draw it
  is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
  on the LyX screen.
* display in color, grayscale or monochrome.

We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00