PokeMe64/include/scenes/SceneWithDialogWidget.h
Philippe Symons eaf9224b31 Add menu options to teach Pikachu Surf and Fly
This implements functionality to teach Pikachu Surf and/or Fly and
extends existing widgets to help provide this functionality.

When a gen1 game is inserted, the user gets the choice to teach Pikachu
these moves.

This commit also restructures some of the Data and Style structs.
2024-07-25 11:01:20 +02:00

31 lines
774 B
C++
Executable File

#ifndef _SCENE_WITH_DIALOG_WIDGET_H
#define _SCENE_WITH_DIALOG_WIDGET_H
#include "scenes/AbstractUIScene.h"
#include "widget/DialogWidget.h"
class SceneWithDialogWidget : public AbstractUIScene
{
public:
SceneWithDialogWidget(SceneDependencies& deps);
virtual ~SceneWithDialogWidget();
void init() override;
void destroy() override;
void render(RDPQGraphics& gfx, const Rectangle& sceneBounds) override;
void advanceDialog();
protected:
virtual void setupFonts();
virtual void setupDialog(DialogWidgetStyle& style);
DialogWidget dialogWidget_;
WidgetFocusChainSegment dialogFocusChainSegment_;
uint8_t arialId_;
uint8_t fontStyleWhiteId_;
uint8_t fontStyleYellowId_;
private:
};
#endif