2005-03-12, 08:00 AM
wasnt sure if this should be placed under the wishlist or under this, anyway, im trying to animate a scrolling textbox, that scrolls horizontally. the problem is that the screen is only really drawn once every second or so, if i leave it moving at a low number of pixels, it looks fine, but way to slow, increase the number of pixels, and it jumps, i tried using a thread and keep calling "ForceRepaint" but too many things can go wrong there, and well the gbpvr.exe.log file gets a line printed to it, so if i make it refresh 5 times a second, and someone leaves it in the infoscreen for a while, the log file can become quite large.
so my suggestion/wish make it configurable, how many times a second the screen is redrawn. so when the use enters the infoscreen
pluginHelper.RefreshInterval = 200 (ie how many ms between each repaint, if using mvp this should always be ignored).
and when the user exits
pluginHelper.RefreshInterval = 1000
this will still call the "needsRefreshing" method just at a faster interval. any chance this is possible sub?
so my suggestion/wish make it configurable, how many times a second the screen is redrawn. so when the use enters the infoscreen
pluginHelper.RefreshInterval = 200 (ie how many ms between each repaint, if using mvp this should always be ignored).
and when the user exits
pluginHelper.RefreshInterval = 1000
this will still call the "needsRefreshing" method just at a faster interval. any chance this is possible sub?