Hello Harpreet,
I invert the image to show it selected. I've attached the image inverter
class to this.
Hope that helps.
Invert the original image to get an inverted one. Invert the inverted one
to get the original back.
It works like an XOR operation.
By the way the source file is a JPP file. It's processed by my
preprocessor to make a .java file.
I couldn't resist calling it Java++ :-). You'll need to hack the source a
little. Edit out the #defines
and fix up or remove the references to them. You'll also need to remove
the static that hooks
to my version control system.
with regards,
Adrian
_____________________________________________
Dr. Adrian Lumsden
Product Specialist
Scientific Software and Systems Limited
Tel: +64 4 917-6680 (direct)
+64 4 917-6670 (reception)
Fax: +64 4 917-6671
E-mail: Adrian.Lumsden@spamhole.sss.co.nz
Visit us on the Web at: http://www.sss.co.nz
_____________________________________________
This e-mail passed SSS's content security scan.
It is covered by the confidentiality clauses at
http://www.sss.co.nz/content_and_confidentiality
Harpreet <harpreet@logiceastern.com>
Sent by: owner-openmap-users@bbn.com
10/12/03 22:59
To: openmap-users@bbn.com
cc:
Subject: [OpenMap Users] Date: Wed, 10 Dec 2003 15:28:40 +0530
hi don
i have some queries
i want tht when i click on the image tht one should be shown selected like
it happens when we click on the icons ok
now by looking at the openmap API wut i guess is that following methods do
something wut i need
OMGraphic
Select()
setSelectColor(color)
setSelected()
have you ppl have done anything like this
if yes then pls tell how to do that
thanx
Harpreet
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT