Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi,everyone,if i don't want to refresh the whole screen,i just want to refresh
the rectangle area(10,10,100,100),how can i do?
thx!

IDISPLAY_BitBlt: you can specify the location of your interest.

IDISPLAY_BitBlt: you can specify the location of your interest.

can i usre the following method?
IDISPLAY_DrawHLine(m_pEngine->m_pIDisplay, refreshArea._left, refreshArea._top, 1);
IDISPLAY_DrawHLine(m_pEngine->m_pIDisplay, refreshArea._right-2, refreshArea._bottom-1, 1);
IDISPLAY_UpdateEx(m_pEngine->m_pIDisplay, FALSE);

can i usre the following method?
IDISPLAY_DrawHLine(m_pEngine->m_pIDisplay, refreshArea._left, refreshArea._top, 1);
IDISPLAY_DrawHLine(m_pEngine->m_pIDisplay, refreshArea._right-2, refreshArea._bottom-1, 1);
IDISPLAY_UpdateEx(m_pEngine->m_pIDisplay, FALSE);

hi...
if u want to modifiy particular rectangular region then use IDISPLAY_EraseRect()
it will erase ur particular rectangular region ...
ok...
regards.
asheesh

hi...
if u want to modifiy particular rectangular region then use IDISPLAY_EraseRect()
it will erase ur particular rectangular region ...
ok...
regards.
asheesh

Don't devices have their own internal dirty rect implementations?
Maybe IDISPLAY_SetClipRect() can "strongly suggest" that only a certain area be updated?
shmoove

Don't devices have their own internal dirty rect implementations?
Maybe IDISPLAY_SetClipRect() can "strongly suggest" that only a certain area be updated?
shmoove