Thin canvas draw seams and own grid worker
This commit is contained in:
@@ -105,6 +105,21 @@ public:
|
||||
return types;
|
||||
}
|
||||
|
||||
[[nodiscard]] pp::platform::PlatformStoragePaths prepare_legacy_apple_storage_paths()
|
||||
{
|
||||
#ifdef __IOS__
|
||||
[App::I->ios_view init_dirs];
|
||||
#elif defined(__OSX__)
|
||||
[App::I->osx_app init_dirs];
|
||||
#endif
|
||||
return {
|
||||
App::I->data_path,
|
||||
App::I->work_path,
|
||||
App::I->rec_path,
|
||||
App::I->tmp_path,
|
||||
};
|
||||
}
|
||||
|
||||
[[nodiscard]] pp::platform::apple::AppleDocumentPlatformServices& active_apple_document_platform_services()
|
||||
{
|
||||
#ifdef __IOS__
|
||||
@@ -211,21 +226,9 @@ public:
|
||||
[[nodiscard]] pp::platform::PlatformStoragePaths prepare_storage_paths() override
|
||||
{
|
||||
#if defined(__IOS__)
|
||||
[App::I->ios_view init_dirs];
|
||||
return {
|
||||
App::I->data_path,
|
||||
App::I->work_path,
|
||||
App::I->rec_path,
|
||||
App::I->tmp_path,
|
||||
};
|
||||
return prepare_legacy_apple_storage_paths();
|
||||
#elif defined(__OSX__)
|
||||
[App::I->osx_app init_dirs];
|
||||
return {
|
||||
App::I->data_path,
|
||||
App::I->work_path,
|
||||
App::I->rec_path,
|
||||
App::I->tmp_path,
|
||||
};
|
||||
return prepare_legacy_apple_storage_paths();
|
||||
#elif __LINUX__
|
||||
const std::string data_path = linux_home_path() + "/PanoPainter";
|
||||
mkpath(data_path + "/brushes");
|
||||
|
||||
Reference in New Issue
Block a user