[nostalgia] Rename plugin references to module
This commit is contained in:
parent
dcef76b488
commit
843da4a810
@ -97,7 +97,7 @@ if(APPLE)
|
||||
set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Library/nostalgia")
|
||||
set(NOSTALGIA_DIST_BIN nostalgia-studio.app/Contents/MacOS)
|
||||
set(NOSTALGIA_DIST_LIB nostalgia-studio.app/Contents/Library)
|
||||
set(NOSTALGIA_DIST_PLUGIN nostalgia-studio.app/Contents/Plugins)
|
||||
set(NOSTALGIA_DIST_MODULE nostalgia-studio.app/Contents/Plugins)
|
||||
set(NOSTALGIA_DIST_RESOURCES nostalgia-studio.app/Contents/Resources)
|
||||
set(NOSTALGIA_DIST_MAC_APP_CONTENTS nostalgia-studio.app/Contents)
|
||||
else()
|
||||
@ -108,7 +108,7 @@ else()
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
set(NOSTALGIA_DIST_BIN bin)
|
||||
set(NOSTALGIA_DIST_LIB lib)
|
||||
set(NOSTALGIA_DIST_PLUGIN lib/nostalgia/modules)
|
||||
set(NOSTALGIA_DIST_MODULE lib/nostalgia/modules)
|
||||
set(NOSTALGIA_DIST_RESOURCES share)
|
||||
endif()
|
||||
|
||||
|
@ -34,5 +34,5 @@ install(
|
||||
TARGETS
|
||||
NostalgiaCore-Studio
|
||||
LIBRARY DESTINATION
|
||||
${NOSTALGIA_DIST_PLUGIN}
|
||||
${NOSTALGIA_DIST_MODULE}
|
||||
)
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
namespace nostalgia::core {
|
||||
|
||||
constexpr auto PluginName = "NostalgiaCore";
|
||||
constexpr auto ModuleName = "NostalgiaCore";
|
||||
constexpr auto TileSheetDir = "/TileSheets/";
|
||||
constexpr auto PaletteDir = "/Palettes/";
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugin_name": "Nostalgia Core"
|
||||
"module_name": "Nostalgia Core"
|
||||
}
|
@ -966,7 +966,7 @@ void TileSheetEditor::setPalette() {
|
||||
}
|
||||
|
||||
void TileSheetEditor::saveState() {
|
||||
QSettings settings(m_ctx->orgName, PluginName);
|
||||
QSettings settings(m_ctx->orgName, ModuleName);
|
||||
settings.beginGroup("TileSheetEditor/" + m_itemName);
|
||||
settings.setValue("m_splitter/state", m_splitter->saveState());
|
||||
settings.setValue("m_sheetData/tileRows", m_sheetData.rows());
|
||||
@ -976,7 +976,7 @@ void TileSheetEditor::saveState() {
|
||||
}
|
||||
|
||||
void TileSheetEditor::restoreState() {
|
||||
QSettings settings(m_ctx->orgName, PluginName);
|
||||
QSettings settings(m_ctx->orgName, ModuleName);
|
||||
settings.beginGroup("TileSheetEditor/" + m_itemName);
|
||||
m_splitter->restoreState(settings.value("m_splitter/state", m_splitter->saveState()).toByteArray());
|
||||
m_colorPicker.colorTable->horizontalHeader()->restoreState(settings.value("m_colorPicker.colorTable/geometry", m_colorPicker.colorTable->horizontalHeader()->saveState()).toByteArray());
|
||||
|
@ -18,5 +18,5 @@ install(
|
||||
TARGETS
|
||||
NostalgiaWorld-Studio
|
||||
LIBRARY DESTINATION
|
||||
${NOSTALGIA_DIST_PLUGIN}
|
||||
${NOSTALGIA_DIST_MODULE}
|
||||
)
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugin_name": "Nostalgia World"
|
||||
"module_name": "Nostalgia World"
|
||||
}
|
Loading…
Reference in New Issue
Block a user