BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Rich Offline
New Member
 
Posts: 2
Join Date: Aug 2004
Default Repainting part of screen - 08-25-2004, 03:29 PM

Is there a way to update only a portion of the screen instead of repainting the whole screen? I have a screen with many graphics and I have a bit of animation. Basically a small graphic moving around the screen.

I'm using UiApplication.getUiApplication().repaint(), but this seems to repaint the whole screen. Can I just repaint a section?
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Mark Rejhon Offline
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Posts: 4,846
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: 8310
Carrier: Rogers
Default 08-26-2004, 05:37 AM

Toughie -- This is something I would like to know about since I'm very interested in writing a simple purpose-designed telnet app designed for Canadian relay service, or helping a company make one.

All the J2ME code I've looked at use some kind of a repaint( ) method.

There has got to be a way... maybe Blackberry specific way. The information might be found in a search on RIM's developer forum.


Thanks,
Mark Rejhon

Questions? New BlackBerry User?
   
  (#3 (permalink)) Old
Mark Rejhon Offline
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Posts: 4,846
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: 8310
Carrier: Rogers
Default 08-27-2004, 12:05 PM

Good news!

I found the information: Partial Repaints


Thanks,
Mark Rejhon

Questions? New BlackBerry User?
   
  (#4 (permalink)) Old
eradis Offline
Talking BlackBerry Encyclopedia
 
Posts: 221
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Default 09-06-2004, 12:04 PM

The basic idea is you set a clip region ( rectangular ) and whenever you call repaint it will only re-draw the pixels in that clip region.
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1