public interface BufferRefreshStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
newDrawingRegion(DisplayBufferManager bufferManager,
ej.microui.display.Rectangle rectangle,
boolean drawingNow)
Notifies that a region will be modified by the application in the display back buffer.
|
void |
refresh(DisplayBufferManager bufferManager)
Refreshes the display by calling
DisplayBufferManager#flush(ej.fp.widget.display.Rectangle[]). |
void |
setBufferCount(int bufferCount)
Sets the number of buffers.
|
void |
setDisplaySize(int width,
int height)
Sets the display size.
|
void setBufferCount(int bufferCount)
bufferCount - the number of buffers.void setDisplaySize(int width,
int height)
width - the width of the display.height - the height of the display.void newDrawingRegion(DisplayBufferManager bufferManager, ej.microui.display.Rectangle rectangle, boolean drawingNow)
The implementation can perform some drawings.
Called when a drawing is done or when the user declares a dirty region.
bufferManager - the display buffer manager.rectangle - the drawing region.drawingNow - true if a drawing is following this call, false otherwise.LLUIDisplayImpl.newDrawingRegion(int, int, int, int, boolean)void refresh(DisplayBufferManager bufferManager)
DisplayBufferManager#flush(ej.fp.widget.display.Rectangle[]).bufferManager - the display buffer manager.