KXL_UpDate -- The rectangle of arbitrary frames is copied to a window. For the compatibility of 1.1.4 or earlier.
void KXL_UpDate(KXL_Rect rect);
rect | KXL_Rect structure. |
#include <KXL.h> int main(void) { KXL_Rect rect = {0, 0, 100, 100}; KXL_CreateWindow(rect.Width, rect.Height, "sample", 0); KXL_SetDrawColor(0xff, 0x00, 0x00); KXL_DrawRectangle(30, 30, 30, 30, True); KXL_UpDate(rect); getchar(); KXL_DeleteWindow(); return 0; }