Skip to content

shakkar23/SDL2-Window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDL2 Window

Hello! Welcome to my SDL2 Window class!

Feel free to suggest additions, and changes to the class to encapsulate more of SDL2, comment on the specifics of each function, or even clean the already existing code!

Window features

  • NxM window size
  • Texture rendering
  • Grabbing the Window as a Surface
  • Clearing the screen
  • Displaying the screen to the user
  • Creating textures from surfaces
  • Stack based coloring system
  • Drawing primitives such as
    • Wire frame rectangles
    • Filled rectangles
    • Wire frame circles

Dependencies

  • SDL2.h

TODO

  • add more SDL2 functionality related to the SDL SDL_Window and SDL_Renderer to the class
  • move out unrelated but useful functions to its own header only library
  • add good text rendering with anti-aliasing

Releases

No releases published

Packages

No packages published

Languages