Physics-Simulator  v1.4.0-beta.2
stcWinAtt Struct Reference

#include <screen.h>

Public Attributes

unsigned int width
 
unsigned int height
 
SDL_Window * win
 
SDL_Renderer * ren
 
SDL_Texture * ball
 
SDL_Texture * pixel
 
SDL_Texture * toolbox
 
SDL_Texture * tools
 
SDL_Rect toolclips [6]
 

Detailed Description

This structure will hold certain attributes of the screen.

Member Data Documentation

◆ ball

SDL_Texture* stcWinAtt::ball

The ball texture.

◆ height

unsigned int stcWinAtt::height

The height of the screen in terms of pixels.

◆ pixel

SDL_Texture* stcWinAtt::pixel

The pixel texture, used to draw lines

◆ ren

SDL_Renderer* stcWinAtt::ren

A pointer to the SDL renderer that is being used.

◆ toolbox

SDL_Texture* stcWinAtt::toolbox

Toolbox frame texture.

◆ toolclips

SDL_Rect stcWinAtt::toolclips[6]

Clips for the different tools.

◆ tools

SDL_Texture* stcWinAtt::tools

Textures for the tools in the toolbox.

◆ width

unsigned int stcWinAtt::width

The width of the screen in terms of pixels.

◆ win

SDL_Window* stcWinAtt::win

A pointer to the SDL window that is being used.


The documentation for this struct was generated from the following file: