nanogui: Compilinging .xbm bitmap file into Nanox pixmaps
Subject:
Re: Compilinging .xBm bitmap file into Nanox pixmaps
From:
Robert Hartley ####@####.####
Date:
26 Jan 2001 15:20:32 -0000
Message-Id: <3A719681.EDD14014@ics.com>
Hi,
Thanks for your patience!
Every time I utter a plea for help, I hit the send button and then realise
there is a number of easy ways to do things, and I immediately feel stupid
for asking and cluttering up everyone's bandwidth...
Sorry.
Jordan Crouse wrote:
> You do know that Nano-X handles XPMs directly, so you can load and use
> them as a GR_IMAGE?
Yes.
> When we say pixmap in ...
I understand that, having worked with X a fair bit, and images in
particular, most recently with implementing Gtk type themes capabilty for
Motif.
> However, the biggest problem is that you need to load the XPM at run
> time, because we don't support compiled in XPMs (that was to cut down on
> stress on the server at runtime we felt it was better to load from disk
> than to pass the whole image across the socket).
Which is what I want to do.
I need to be able to have the font's bitmap compiled into the executable so
that I can reduce the number of files needed. This is for the KVM Sun Java
2ME enviroment, so it will also have a number of class files linked in with
it too.
This is how I saw it working with window decoration bitmaps used in nanowm,
so I thought my situation was similar.
It is a "less is more" type of thing.
> This can be easily fixed by a new Gr call, and a couple of mods to the
> XPM parser, so if anyone is feeling in the mood, please feel free to
> fire away.
I will let you know how it goes,
Thanks for getting back to me so quick,
Rob
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Robert Hartley Mail: 201 Broadway =
= Central Region Systems Engineer Cambridge, MA 02139 =
= Integrated Computer Email: ####@####.#### =
= Solutions, Inc. Web Site: www.ics.com =
= Tech Support: ####@####.#### Phone: 800-800-4271 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Visit the MotifZone (www.motifzone.org) for info on Motif!