Index

CDTWindow

Refresh

DT_SWORD Refresh(DT_SLONG x, DT_SLONG y, DT_SLONG w, DT_SLONG h, DT_ULONG flags)

This function refreshes a portion of the window and displays the existing surface's pixels.

Parameters

ParameterDescription

x

The x coordinate of the window's portion to refresh, in pixels.

y

The y coordinate of the window's portion to refresh, in pixels.

w

The width of the window's portion to refresh, in pixels.

h

The height of the window's portion to refresh, in pixels.

flags

A bitmask of event flags. Currently only bit value 1 is supported. When set, this value tells the display to immediately dispatch any event messages accumulated during the refresh of the window to the event-driven callbacks.

Return Value

If the function was successful, the return value is 1. Otherwise, the function returns 0.

 

Index