Skip to content

DO_Window

cckk4467 edited this page Feb 12, 2018 · 1 revision

You can use this class to make a simple window in Windows Example

DO_Window win;
win.Init(1000,618,"dodou", "simhei.ttf", 32);

this codes will create a 1000x long 618 wide,named dodou window,and use 32 size simei.ttf be it's font.

win.rend //render

and..

while (win.BeginDraw())
{
	win.EndDraw();
}

It's the simplest game circle

More function is in the file,and I don't feel like to writing more

Clone this wiki locally