doodle  0.2
Intended to support teaching C++, doodle is a simple library that helps make a window and makes it easy to do some drawing.
Namespaces | Variables
environment.hpp File Reference

Go to the source code of this file.

Namespaces

 doodle
 

Variables

int doodle::FrameCount
 The system variable FrameCount contains the number of frames that have been displayed since the program started. The first call to update_window() will set the value to 1 and subsequent calls increment the value. More...
 
double doodle::DeltaTime
 The system variable DeltaTime contains the time difference between the beginning of the previous frame and the beginning of the current frame in seconds. More...
 
double doodle::ElapsedTime
 Returns the number of seconds since starting the program. This information is often used for timing events and animation sequences. More...
 
int doodle::Width
 System variable that stores the width of the drawing canvas. This value is set by the desired_width parameter of the create_window() function. For example, the function call create_window(320, 240) sets the width variable to the value 320. More...
 
int doodle::Height
 System variable that stores the height of the drawing canvas. This value is set by the desired_height parameter of the create_window() function. For example, the function call create_window(320, 240) sets the height variable to the value 240. More...