| Reply | « Previous Thread | Next Thread » |
|
I'm creating ticker on canvas...since i want a customized appearance....but it seems conflicted with the repaint() of content below the ticker. Anyone can help me about creating different behaviour on one canvas at a time...?
Thx :) |
| man4mobile |
| View Public Profile |
| Find all posts by man4mobile |
|
Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
Offline
Super Contributor
|
|
hi,
ticker on canvas is just a drawn string, you need simply change x/y values (or translate graphics) at time for example using timer, you can update only part of canvas where ticker it to be paint without redrawing entire canvas, What issue you have with that? regards, Peter |
| peterblazejewicz |
| View Public Profile |
| Find all posts by peterblazejewicz |
|
Hi peter...
Suppose I want to make a ticker and also another animation in one canvas...how does the mechanism so that each animation (ticker and the other one) doesn't conflict each other (free to each other..)? Coz as far as I know, there's only one method to draw the canvas, using paint(). About making ticker, I already know that it's just as simple as changing the x value :) Thx for your response :) |
| man4mobile |
| View Public Profile |
| Find all posts by man4mobile |
|
Quote:
The control of the state for each animation should be in a separate method or methods. You could use a couple of Timers for that, or a couple of threads, but personally I'd use one thread that can figure out how much time has passed and knows when to update what elements of the screen. shmoove |
|
thx :) i'll try that...
|
| man4mobile |
| View Public Profile |
| Find all posts by man4mobile |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Emulator crash immediatly after launched, SDK of S60 3nd | loopfinder | Symbian Tools & SDKs | 20 | 2009-07-26 23:36 |
| console app running problem | xcompass | General Symbian C++ | 3 | 2009-05-08 14:26 |
| Link errors when trying to Display bitmap | Bkc82 | Symbian Media (Graphics & Sounds) | 1 | 2006-01-16 23:46 |
| Thread function not being called | kamalsinghania | General Symbian C++ | 5 | 2006-01-04 13:28 |
| Major problem with delegation to Canvas | bartekn | Mobile Java Media (Graphics & Sounds) | 8 | 2003-10-08 18:46 |