diff options
| author | Matt Kosarek <matt.kosarek@canonical.com> | 2025-12-29 09:34:00 -0500 |
|---|---|---|
| committer | Matt Kosarek <matt.kosarek@canonical.com> | 2025-12-29 09:34:00 -0500 |
| commit | bf4b3a5c35152c1292757134123b3363d0f81bf6 (patch) | |
| tree | 7796e03d309c43115596f78d553a74f911f82218 /themes/src/autumn/autumn_theme.hpp | |
| parent | 25c93a0ab9c855f75ee48df635fb5422c8eaba95 (diff) | |
Renamed PascalCase files to snake_case
Diffstat (limited to 'themes/src/autumn/autumn_theme.hpp')
| -rw-r--r-- | themes/src/autumn/autumn_theme.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/src/autumn/autumn_theme.hpp b/themes/src/autumn/autumn_theme.hpp new file mode 100644 index 0000000..b61c0f3 --- /dev/null +++ b/themes/src/autumn/autumn_theme.hpp @@ -0,0 +1,33 @@ +#ifndef AUTUMN_THEME_HPP +#define AUTUMN_THEME_HPP + +#include "tree_shape.h" +#include "leaf_particle_render.h" +#include "../types.h" +#include "../theme.h" +#include "../renderer_2d.h" +#include <memory> +#include <vector> + +class RectangularGradient; +class Circleish; + +class AutumnTheme : public Theme { +public: + AutumnTheme(WebglContext*); + ~AutumnTheme(); + TreeShape tree; + LeafParticleRender leafParticles; + RectangularGradient* background; + Circleish* tree_hill; + Circleish* background_hill; + + void load(); + void update(f32 dtSeconds); + void render(); + void unload(); +private: + Renderer2d renderer; +}; + +#endif |
