WsParser_VS/StoryPresent/storypresent.h

24 lines
448 B
C
Raw Normal View History

2024-09-24 10:43:10 +00:00
#pragma once
#include <QtWidgets/QMainWindow>
2024-10-04 12:12:19 +00:00
#include "dag_present.h"
#include "xast_parse.h"
2024-09-24 10:43:10 +00:00
class StoryPresent : public QMainWindow {
Q_OBJECT
public:
StoryPresent(QWidget* parent = nullptr);
~StoryPresent();
2024-10-05 02:11:42 +00:00
void loadXAST(const QString &ast_path);
private:
2024-10-05 09:20:41 +00:00
double _scale_value = 1;
2024-10-05 02:11:42 +00:00
dags::DAGActiveView *const _story_present;
QHash<QString, std::shared_ptr<xast_parse::StoryDefine>> _story_graph;
2024-10-05 09:20:41 +00:00
void bigger();
void lesser();
2024-09-24 10:43:10 +00:00
};