Skip to content
Snippets Groups Projects

Add sdl mixer

Open Joakim Borge Hunskår requested to merge add-sdl_mixer into main
2 unresolved threads
Files
38
@@ -10,6 +10,7 @@
#include "Color.h"
#include "Font.h"
#include "Image.h"
#include "Audio.h"
#include "KeyboardKey.h"
#include "Point.h"
#include "Widget.h"
@@ -129,5 +130,8 @@ class AnimationWindow {
void setBackgroundColor(TDT4102::Color newBackgroundColor);
float get_delta_mouse_wheel() const;
//
void play_audio(TDT4102::Audio& audio, int loops = 0);
};
} // namespace TDT4102
Loading