mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-22 03:57:45 +00:00
This takes the existing properties widget in the new material editor and makes it reusable across multiple applications. It's now added to the Armoury which shows the gear's used materials. It's also added to the Data Explorer which now supports viewing material files. I fixed the render viewport crashing when hiding it again, and made it even more resilient.
19 lines
No EOL
545 B
C++
19 lines
No EOL
545 B
C++
// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include "novuscommon_export.h"
|
|
|
|
enum class FileType { Unknown, ExcelList, ExcelHeader, ExcelData, Model, Texture, ShaderPackage, CharaMakeParams, Skeleton, Dictionary, Material };
|
|
|
|
class NOVUSCOMMON_EXPORT FileTypes
|
|
{
|
|
public:
|
|
static FileType getFileType(const QString &extension);
|
|
|
|
static QString getFiletypeName(FileType fileType);
|
|
static QString getFiletypeIcon(FileType fileType);
|
|
}; |