openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herbert Duerr <>
Subject Re: Adding a new type of cursor on LINUX platform
Date Tue, 15 Jan 2013 10:57:29 GMT
On 15.01.2013 11:28, Herbert Duerr wrote:
> On 15.01.2013 09:40, Liang Weike wrote:
>> I want to add a new type of cursor into office. Currently I've finished it on Windows.
But when I run it on Linux the new cursor disappears. So how to write #_mask.h and #_curs.h?
And does it come from the converted .cur file? If it does, then how to convert?
> I'm afraid the tool that did such conversions is no longer available and
> has to be rewritten.
> The format of these *_mask.h and *_curs.h files are the ones written out
> by X11's XWriteBitmapFile() [1] function. The Windows CUR file format is
> described in [2].
> [1]
> [2]

FWIW both "imagemagick" and "icotool" can read *.cur files and convert
them to a more common format.

> You'd also need to use the MAKE_CURSOR macro in
>    main/vcl/unx/generic/app/saldisp.cxx
> and
>    main/vcl/unx/gtk/app/gtkdata.cxx

Hope that helps,

View raw message