HISE Logo Forum
    • Categories
    • Register
    • Login

    Factory vs. User Presets

    Scheduled Pinned Locked Moved General Questions
    21 Posts 7 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MikeBM
      MikeB
      last edited by

      This is my current workaround - you put the browser and two buttons in one panel
      One button "User" - when clicked the panel extends by 50pixel and the buttons Add, Rename and Delete become visible
      One button "Factory" - when clicked the panel decreases by 50 pixels and the functions become invisible.

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

      1 Reply Last reply Reply Quote 0
      • MikeBM
        MikeB
        last edited by

        My wish would look like this

        {
          "ShowSaveButton": false,
        *"Show Searchfield": true/false,
        *"Show Factory-Folder": name here
        *"Show USER-Folder": name here
        *"Set Factory presets NOT overwriteable": true/false,
        *"Set User presets writeable": true/false,
          "ShowExpansionsAsColumn": false,
          "ShowFolderButton": false,
          "ShowNotes": false,
          "ShowEditButtons": false,
          "ShowFavoriteIcon": true,
          "NumColumns": 1,
          "ColumnWidthRatio": [
            0.3333333333333333,
            0.3333333333333333,
            0.3333333333333333
          ]
        }
        

        The idea is to avoid/prevent overwriting factory presets.
        When preset are saved by user they are always USER presets

        "One hour of trial and error can save 10 minutes of reading the manual."
        "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
        HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

        d.healeyD 1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.healey @MikeB
          last edited by

          @MikeB Search field and buttons can already be hidden/shown using LAF. But we definitely need some way to disable the user overwriting specific presets.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • MikeBM
            MikeB
            last edited by

            @d-healey
            You mean "drawPresetBrowserSearchBar".
            I can leave that empty - but the space for the search bar does not disappear.
            At least I have not managed to do that yet

            "One hour of trial and error can save 10 minutes of reading the manual."
            "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
            HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @MikeB
              last edited by

              @MikeB Yeah you're correct. It just makes it invisible but the control is still there.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              MikeBM 1 Reply Last reply Reply Quote 1
              • MikeBM
                MikeB @d.healey
                last edited by

                @d-healey
                Therefore: "Show Searchfield": true/false, :-)

                "One hour of trial and error can save 10 minutes of reading the manual."
                "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                1 Reply Last reply Reply Quote 0
                • Tania GhoshT
                  Tania Ghosh
                  last edited by Tania Ghosh

                  🍭

                  Tania Ghosh

                  NatanN d.healeyD 2 Replies Last reply Reply Quote 1
                  • NatanN
                    Natan @Tania Ghosh
                    last edited by

                    @Tania-Ghosh Wrong Thread,Lol

                    Tania GhoshT 2 Replies Last reply Reply Quote 2
                    • Tania GhoshT
                      Tania Ghosh @Natan
                      last edited by

                      @Natan Oops...

                      Tania Ghosh

                      1 Reply Last reply Reply Quote 1
                      • d.healeyD
                        d.healey @Tania Ghosh
                        last edited by

                        @Tania-Ghosh One post per request/bug report so Christoph can track them separately.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 1
                        • Tania GhoshT
                          Tania Ghosh @Natan
                          last edited by

                          @Natan Thanks dear.

                          Tania Ghosh

                          NatanN 1 Reply Last reply Reply Quote 1
                          • NatanN
                            Natan @Tania Ghosh
                            last edited by

                            @Tania-Ghosh No Problem 👏 You Mentioned What I Wished 👏 More Visualization Are Welcome

                            1 Reply Last reply Reply Quote 3
                            • marcLabM
                              marcLab
                              last edited by

                              @d-healey If we can't do it dynamically with Content.setPropertiesFromJSON, then you can always put a panel over it (Save Preset) and play with "visible" true/false to hide the panel. It's a bit sketchy. But it's an idea.

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post

                              26

                              Online

                              1.8k

                              Users

                              12.1k

                              Topics

                              105.8k

                              Posts