Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
C
123456789101112131415#include "AppLayer.h"#include <imgui.h>#include <string>
class NotifyAppLayer : public AppLayer {private: static std::string message; static double secondsLeft; static long int startTime;public: virtual void OnActivate() override; virtual void OnDeactivate() override; virtual void OnRender() override; static void SetMessage(std::string message, double seconds = 3.0);};