[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for a favour: a car and clock figure on canvas;
From: |
Marcus G. Daniels |
Subject: |
Re: ask for a favour: a car and clock figure on canvas; |
Date: |
19 May 1999 09:11:09 -0700 |
>>>>> "XH" == xueyue <address@hidden> writes:
XH> Does anyone know there happens to be ready code for creating a car
XH> shape object and clock object on canvas? I want to use them in my
XH> simulation graphical displayer. The clock would show currentTime
XH> and car can move given parameters such as scale of the car,
XH> direction, new position.
Pending any other answers, one way to do this would be to add a new
CanvasItem subclass that uses the canvas bitmap feature. Then poke
around the web looking for car bitmap. As for the clock, perhaps you
can put that in a Label, or just display it as a variable in a probe
display, or use the -t option, if the time structure of your sim is
flat.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.