rpi_player/app/main_scene.h

42 lines
701 B
C++

#ifndef MAIN_SCENE_H
#define MAIN_SCENE_H
#include "scene.h"
#include "renderer/image.h"
#include "renderer/texture.h"
#include "renderer/sprite.h"
#include "renderer/camera.h"
#include "widgets/button.h"
#include "renderer/true_type_font.h"
#include "renderer/text_image.h"
#include "renderer/text_sprite.h"
class MainScene : public Scene {
public:
void event(const SDL_Event &ev);
void update(float delta);
void render();
MainScene();
~MainScene();
Camera *_camera;
Image *_image;
Texture *_texture;
TrueTypeFont *_font;
Image *_ii;
Texture *_iit;
Texture *_iit2;
Sprite *_s;
Sprite *_s2;
TextImage *_teximg;
TextSprite *_ts;
Button *b1;
Button *b2;
Button *b3;
};
#endif