2022-04-11 21:59:37 -04:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-17 20:02:06 -04:00
|
|
|
#include <QComboBox>
|
2022-08-11 17:53:56 -04:00
|
|
|
#include <QMainWindow>
|
|
|
|
#include <fmt/format.h>
|
2022-08-10 14:52:28 -04:00
|
|
|
#include <physis.hpp>
|
2022-08-11 17:53:56 -04:00
|
|
|
#include <unordered_map>
|
2022-04-11 21:59:37 -04:00
|
|
|
|
2023-04-09 15:31:19 -04:00
|
|
|
#include "fullmodelviewer.h"
|
2023-07-07 16:16:21 -04:00
|
|
|
#include "gearview.h"
|
2023-04-09 15:31:19 -04:00
|
|
|
#include "singlegearview.h"
|
2022-04-12 12:39:33 -04:00
|
|
|
|
2023-04-09 15:31:19 -04:00
|
|
|
struct GameData;
|
2023-07-09 10:54:27 -04:00
|
|
|
class FileCache;
|
2022-04-11 21:59:37 -04:00
|
|
|
|
|
|
|
class MainWindow : public QMainWindow {
|
|
|
|
public:
|
2023-04-09 15:31:19 -04:00
|
|
|
explicit MainWindow(GameData* data);
|
2022-04-12 20:02:50 -04:00
|
|
|
|
2022-04-11 21:59:37 -04:00
|
|
|
private:
|
2023-04-09 15:31:19 -04:00
|
|
|
SingleGearView* gearView = nullptr;
|
|
|
|
FullModelViewer* fullModelViewer = nullptr;
|
2022-04-12 12:39:33 -04:00
|
|
|
|
2022-04-11 21:59:37 -04:00
|
|
|
GameData& data;
|
2023-07-09 10:54:27 -04:00
|
|
|
FileCache cache;
|
2022-04-11 21:59:37 -04:00
|
|
|
};
|