From 70903e95dea383510a97f43d0dba7d820f56b7ef Mon Sep 17 00:00:00 2001 From: Christoph Hart Date: Sun, 13 Oct 2024 13:39:26 +0200 Subject: [PATCH] - added open project to welcome screen --- currentGitHash.txt | 2 +- hi_backend/backend/currentGit.h | 2 +- .../backend/dialog_library/dialog_library.cpp | 15 ++++++++++++++- .../backend/dialog_library/dialog_library.h | 3 +++ tools/json_dialog/welcome/welcome.json | 10 +++++++++- 5 files changed, 28 insertions(+), 4 deletions(-) diff --git a/currentGitHash.txt b/currentGitHash.txt index c5284f81e0..bdd6c41382 100644 --- a/currentGitHash.txt +++ b/currentGitHash.txt @@ -1 +1 @@ -00822079687481f8979f0fe7299029f3e988160b +18fa3aca318652d76b56f04c969ca19472d1ba9d diff --git a/hi_backend/backend/currentGit.h b/hi_backend/backend/currentGit.h index 0832a64a33..b0a42bc38a 100644 --- a/hi_backend/backend/currentGit.h +++ b/hi_backend/backend/currentGit.h @@ -1 +1 @@ -#define PREVIOUS_HISE_COMMIT "00822079687481f8979f0fe7299029f3e988160b" +#define PREVIOUS_HISE_COMMIT "18fa3aca318652d76b56f04c969ca19472d1ba9d" diff --git a/hi_backend/backend/dialog_library/dialog_library.cpp b/hi_backend/backend/dialog_library/dialog_library.cpp index b2e8511b01..1685930d93 100644 --- a/hi_backend/backend/dialog_library/dialog_library.cpp +++ b/hi_backend/backend/dialog_library/dialog_library.cpp @@ -459,7 +459,7 @@ WelcomeScreen::WelcomeScreen(BackendRootWindow* bpe_): { setWantsBackdrop(true); - loadFrom("3290.sNB..D...............35H...oi...tx.........J09R+fssGkTF.5NJlevBrHYv67FpDFw16VPzYuJZgk+EgBwsYkoYM2VOjyU8ZWDVJLkO6ryNSuePmI7d.xG.8A3uez.qm5O9PW73HTFPQbQfnDhxVkrvGcb2Dat5h2IafLCuIFwTDuZ38VGLtHLuwN84WGuxZ+KnvMQklV7tYyC9ndPzRqRkoyhYsxgJarVhhpN8ngKqwzCJaczHMsUPFxbwnvvydk.NBFdwrXnr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41mneccCV.+lLHJmEAjMzTfu7j8hCwRjGNJ+vOpf4Soi...lNB..v5H..."); } var WelcomeScreen::populateProjectSelector(const var::NativeFunctionArgs& args) @@ -605,6 +605,19 @@ var WelcomeScreen::createProject(const var::NativeFunctionArgs& args) return var(); } +var WelcomeScreen::openProject(const var::NativeFunctionArgs& args) +{ + auto b = bpe; + + closeAndPerform([b]() + { + b->clearModalComponent(); + BackendCommandTarget::Actions::loadProject(b); + }); + + return var(); +} + var WelcomeScreen::loadPresetFile(const var::NativeFunctionArgs& args) { auto b = bpe; diff --git a/hi_backend/backend/dialog_library/dialog_library.h b/hi_backend/backend/dialog_library/dialog_library.h index eda1d99e9b..46e2dffd06 100644 --- a/hi_backend/backend/dialog_library/dialog_library.h +++ b/hi_backend/backend/dialog_library/dialog_library.h @@ -98,6 +98,7 @@ struct WelcomeScreen: public multipage::EncodedDialogBase MULTIPAGE_BIND_CPP(WelcomeScreen, populateProjectSelector); MULTIPAGE_BIND_CPP(WelcomeScreen, browseSnippets); MULTIPAGE_BIND_CPP(WelcomeScreen, createProject); + MULTIPAGE_BIND_CPP(WelcomeScreen, openProject); MULTIPAGE_BIND_CPP(WelcomeScreen, loadPresetFile); MULTIPAGE_BIND_CPP(WelcomeScreen, startupSetter); MULTIPAGE_BIND_CPP(WelcomeScreen, setupExport); @@ -106,9 +107,11 @@ struct WelcomeScreen: public multipage::EncodedDialogBase var populateProjectSelector(const var::NativeFunctionArgs& args); var setupExport(const var::NativeFunctionArgs& args); + var showDocs(const var::NativeFunctionArgs& args); var browseSnippets(const var::NativeFunctionArgs& args); var createProject(const var::NativeFunctionArgs& args); + var openProject(const var::NativeFunctionArgs& args); var loadPresetFile(const var::NativeFunctionArgs& args); var startupSetter(const var::NativeFunctionArgs& args); diff --git a/tools/json_dialog/welcome/welcome.json b/tools/json_dialog/welcome/welcome.json index 39a47c8660..37088770dc 100644 --- a/tools/json_dialog/welcome/welcome.json +++ b/tools/json_dialog/welcome/welcome.json @@ -28,7 +28,7 @@ }, "LayoutData": { "StyleSheet": "Dark", - "Style": "label\n{\n\tdisplay: none;\n}\n\n.top-label\n{\n\tcolor: #ddd;\n\twidth: 100%;\n\ttext-align: left;\n}\n\n.toggle-button\n{\n\tcolor: #ccc;\n\ttext-align: left;\n\tpadding-left: 10px;\n\t\n\t\n}\n\n\n.text-button\n{\n\t\n\n\ttext-align: left;\n\tpadding-left: 70vh;\n\theight: 40px;\n}\n\n.text-button::before\n{\n\tcontent: '';\n\tbackground-color: #ccc;\n\twidth: 100vh;\n\tmargin: 8px;\n\t\n}\n\n\n\n#OpenDocs button::before\n{\n\tbackground-image: \"339.t0FcPhCQHoXJCwFchCAQHoXJCI1lyt.QHoXJCA.fGPDSXoyP..3ADQ1DOMDa..3ADomSROjX..3ADAw1WODJZh.QL2R2CsFjJPD3YD9PhgpgLPDcFT9PZ+xCDwsNmOTI1GAQbqy4CwF..VDQbqy4CwF..VDQfU2UCwVSZ3CQfU2UCwVSZ3CQN5j2CIVSZ3CQN5j2CgrOfPjiN48PRWtDD4nSdOjXyiSDD4nSdOjpc9.Q9mO2CglaNPjTap8PhwxOMPjo7f8PQSICDwhAUOTzTx.Q.xZzCwVzTx.QHqXzCIVzTx.QrviyCgNOMPjvPr7PjflCDYhtHOjXfM4CDQ3XFOzNoDAQ9MQwCoFzRPjeST7PrQGj3PjeST7PrQGj3PDRJlxPi0FcPhCQPEfyCwlHpHAQPEfyCwlHpHAQ5BV0CwFcPhCQ5BV0CwFcPhCQPEfyCMVY\";\n\t\n}\n\n#SetupExport button::before\n{\n\tbackground-image: \"666.t0183qBQHxaPCI1zAfBQ...PC0h+jPD...zPJbfHDgHuAMDawK+GDglcsMjXUYvGDAtrtMz2d3AQPFCbCM3OcPDBwG2PrMGCTPDZki0PhESoQPD5M.1P5M3CDALknMTV41.QPGibCwlP7OAQH72hCIVYLNAQ.2SiCkKKSPD6K73Pa1sDDAd4PNDag79ADQgCUNjX..3ADgE+ZND..d.QrKPnCEx6GPD7wa5Prs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Qv7hPjb6F7PK56HDopTCOjd4RBQpJ0vCwliFgBQpJ0vCIlMAkBQpJ0vCYQCpPjb6F7PVzfJDYYw+NDaVzfJDwfvtNDaT5nLDwfvtNjXCl3LDwfvtNjGUQCQVqRqC4QUzPD9zr5Pr4QUzPDXaP5Ph4QUzPjfkH5PCl3LDwjifNDkNJCQL4HnCwlEMnBQL4HnCwlEMnBQBq3iCIlEMnBQlSYiCYSPoPjq8u3PNZDJD4Z+KNDa5kKID4Z+KNjXK56HD4Z+KNDAyKBQlSYiCQv7hPjvJ93PrQv7hPDSNB5PiUF\";\n\t\n}\n\n#BrowseSnippets button::before\n{\n\tbackground-image: \"307.t01ZvCCQLpCWCIl1vGCQPnxWCQr4xPDFxI1Pl67LDApDlMjXNKDODQF7CNDxA0CQ9ShmC4Ny1PDQ9D6PrA.fEQjZj57Prgn39PDndu8PrY2KvPDe346PhMsnlPj5hs7PhiXFDgCYIOz9TDAQjzGtCIV..d.Q1IUoCE.fGPj+yX3P6SQDDApDlMjXfyXFDwvLDMT3uZBQ7JDPCceOvPDpAo0PrceOvPD7xZ3PhEghuPD+fP3PxTpKDgisANDoN1BQnNweCIV1rcBQHrnYCQ1ccPDBKZ1P8T0EDg5D+MjXVLSDDgVyKNjEyDAQRg6mC0SUWPDn7u5PhQ1ccPD7.g6PYy1IDAOP3NDoN1BQfx+pCIFlyHCQ5JqnC4DUyPjJET4PqAOLDwmlINDaqAOLDwnNbMzXkA\";\n}\n\n#total-progress\n{\n\tdisplay: none;\n}\n\n#title\n{\n\ttext-align: left;\n\tpadding-left: 10px;\n\twidth: 100%;\n}\n\n#cancel\n{\n\tdisplay: none;\n}\n\n#next\n{\n\torder: 1;\n\tcontent: \"Close\";\n}\n\nprogress\n{\n\tmargin-right: 30px;\n\tcolor: #999;\n}\n\n\n\nth\n{\n\tdisplay: none;\n\tcolor: #ddd;\n\tpadding: 10px 0px;\n\tfont-size: 18px;\n\t\n}\n\ntr\n{\n\tborder: 0px solid;\n}\n\n.toggle-button,\n.toggle-button:hover\n{\n\tbackground: transparent;\n}\n\ntd\n{\n\tborder: 0px solid;\n\tbackground: #282828;\n\tcolor: #aaa;\n\tfont-size: 0.95em;\n}\n\ntd:hover\n{\n\tbackground: #353535;\n\tcolor: #aaa;\n}\n\n\nscrollbar\n{\n\tdisplay: none;\n}\n", + "Style": "label\n{\n\tdisplay: none;\n}\n\n.top-label\n{\n\tcolor: #ddd;\n\twidth: 100%;\n\ttext-align: left;\n}\n\n.toggle-button\n{\n\tcolor: #ccc;\n\ttext-align: left;\n\tpadding-left: 10px;\n\t\n\t\n}\n\n\n.text-button\n{\n\t\n\n\ttext-align: left;\n\tpadding-left: 70vh;\n\theight: 40px;\n}\n\n.text-button::before\n{\n\tcontent: '';\n\tbackground-color: #ccc;\n\twidth: 100vh;\n\tmargin: 8px;\n\t\n}\n\n\n\n#OpenDocs button::before\n{\n\tbackground-image: \"339.t0FcPhCQHoXJCwFchCAQHoXJCI1lyt.QHoXJCA.fGPDSXoyP..3ADQ1DOMDa..3ADomSROjX..3ADAw1WODJZh.QL2R2CsFjJPD3YD9PhgpgLPDcFT9PZ+xCDwsNmOTI1GAQbqy4CwF..VDQbqy4CwF..VDQfU2UCwVSZ3CQfU2UCwVSZ3CQN5j2CIVSZ3CQN5j2CgrOfPjiN48PRWtDD4nSdOjXyiSDD4nSdOjpc9.Q9mO2CglaNPjTap8PhwxOMPjo7f8PQSICDwhAUOTzTx.Q.xZzCwVzTx.QHqXzCIVzTx.QrviyCgNOMPjvPr7PjflCDYhtHOjXfM4CDQ3XFOzNoDAQ9MQwCoFzRPjeST7PrQGj3PjeST7PrQGj3PDRJlxPi0FcPhCQPEfyCwlHpHAQPEfyCwlHpHAQ5BV0CwFcPhCQ5BV0CwFcPhCQPEfyCMVY\";\n\t\n}\n\n#SetupExport button::before\n{\n\tbackground-image: \"666.t0183qBQHxaPCI1zAfBQ...PC0h+jPD...zPJbfHDgHuAMDawK+GDglcsMjXUYvGDAtrtMz2d3AQPFC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C0SUWPDn7u5PhQ1ccPD7.g6PYy1IDAOP3NDoN1BQfx+pCIFlyHCQ5JqnC4DUyPjJET4PqAOLDwmlINDaqAOLDwnNbMzXkA\";\n}\n\n#total-progress\n{\n\tdisplay: none;\n}\n\n#title\n{\n\ttext-align: left;\n\tpadding-left: 10px;\n\twidth: 100%;\n}\n\n#cancel\n{\n\tdisplay: none;\n}\n\n#next\n{\n\torder: 1;\n\tcontent: \"Close\";\n}\n\nprogress\n{\n\tmargin-right: 30px;\n\tcolor: #999;\n}\n\n\n\nth\n{\n\tdisplay: none;\n\tcolor: #ddd;\n\tpadding: 10px 0px;\n\tfont-size: 18px;\n\t\n}\n\ntr\n{\n\tborder: 0px solid;\n}\n\n.toggle-button,\n.toggle-button:hover\n{\n\tbackground: transparent;\n}\n\ntd\n{\n\tborder: 0px solid;\n\tbackground: #282828;\n\tcolor: #aaa;\n\tfont-size: 0.95em;\n}\n\ntd:hover\n{\n\tbackground: #353535;\n\tcolor: #aaa;\n}\n\n\nscrollbar\n{\n\tdisplay: none;\n}\n", "UseViewport": true, "ConfirmClose": false, "CloseMessage": "Do you want to close this popup?", @@ -62,6 +62,14 @@ "Help": "Start with an empty HISE project or download the Rhapsody Player template", "UseInitValue": "" }, + { + "Type": "Button", + "Text": "Open existing project", + "ID": "OpenProject", + "ButtonType": "Text", + "Code": "{BIND::openProject}", + "Help": "Load a project folder of an existing HISE project" + }, { "Type": "Button", "Text": "Browse example projects",