GrAPiC
Graphics for Algo/Prog in C/C++

◆ winDisplay()

bool grapic::winDisplay ( )
inline

Display the window. All drawing is hidden until this function is not called.

bool stop=false;
winInit("Tutorials", 500, 500);
while( !stop )
{
draw();
stop = winDisplay();
}
bool winDisplay()
Display the window. All drawing is hidden until this function is not called.
Definition: Grapic.h:300
void winClear()
Clear the window with the default background color.
Definition: Grapic.h:262
void winQuit()
Quit and close all things.
Definition: Grapic.h:307
void winInit(const char *name, int w, int h, int posx=-1, int posy=-1)
Initialize the window with a size w,h and a position (posx,posy). If posx<0 or posy<0,...
Definition: Grapic.h:245