WindowCreate

WindowCreate
int WindowCreate(int x, int y, int w, int h, string title)

Documentation

Creates a window at (x,y) with width of w and height of h and a title of title, then returns its pointer.

Note: The window pointer is not the same as the image pointer. To write to the window image, you must use the WindowGetImage() function.

Example Usage

int debug_window = WindowCreate(0, 0, 100, 100, "Debug");
int debug_image = WindowGetImage(debug_window);

PrintString(0, 0, debug_image, 0, "This is my debug window!");
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.