int WindowCreate(int x, int y, int w, int h, string title)
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.
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!");
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |