VSGL2 - Very Simple Graphic Library 2
2.0
|
Functions | |
void | wait_for_button_pressed () |
Use this function to wait for any button to be pressed. More... | |
void | delay (int milliseconds) |
Use this function to stop the execution for a given amount of milliseconds. More... | |
unsigned int | ms_time () |
Use this function to get the time from SDL initialization in milliseconds. More... | |
int | take_screenshot (string filename) |
Use this function to take a screenshot of the window. More... | |
void delay | ( | int | milliseconds | ) |
Use this function to stop the execution for a given amount of milliseconds.
milliseconds | Amount of time the program is stopped, in milliseconds |
unsigned int ms_time | ( | ) |
Use this function to get the time from SDL initialization in milliseconds.
int take_screenshot | ( | string | filename | ) |
Use this function to take a screenshot of the window.
filename | The filename where the screenshot will be saved |
void wait_for_button_pressed | ( | ) |
Use this function to wait for any button to be pressed.