HISE Logo Forum
    • Categories
    • Register
    • Login

    drawAnalyserBackground = border around floating tile

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 4 Posters 464 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.
    • clevername27C
      clevername27 @Oli Ullmann
      last edited by

      @Oli-Ullmann Did you explicitly tell it not to draw a border in your paint routine?

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

        @clevername27 said in drawAnalyserBackground = border around floating tile:

        Did you explicitly tell it not to draw a border in your paint routine?

        How do you do that?

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

        clevername27C 1 Reply Last reply Reply Quote 0
        • clevername27C
          clevername27 @d.healey
          last edited by

          @d-healey I should have phrased my question better, thank you. I can't look at the snippet, so I'm essentially asking if the LAF was being successfully applied, and what was in the paint routine.

          1 Reply Last reply Reply Quote 0
          • clevername27C
            clevername27 @Oli Ullmann
            last edited by

            @Oli-Ullmann Ii don't see anything in your LAF that draws anything.

            Content.makeFrontInterface(600, 600);
            
            const analyserLAF = Content.createLocalLookAndFeel();
            
            const FloatingTile1 = Content.getComponent("FloatingTile1");
            FloatingTile1.setLocalLookAndFeel(analyserLAF);
            
            analyserLAF.registerFunction("drawAnalyserBackground", function(g, obj)
            {
            	 
            });
            
            analyserLAF.registerFunction("drawAnalyserGrid", function(g, obj)
            {
            	 
            });
            
            Oli UllmannO 1 Reply Last reply Reply Quote 0
            • Oli UllmannO
              Oli Ullmann @clevername27
              last edited by

              @clevername27
              I have also tried “g.drawRect”. That didn't work either with different border sizes.
              Is that what you meant?

              Or is there another way to stop the object from drawing a border?

              d.healeyD clevername27C 2 Replies Last reply Reply Quote 0
              • d.healeyD
                d.healey @Oli Ullmann
                last edited by

                @Oli-Ullmann said in drawAnalyserBackground = border around floating tile:

                Or is there another way to stop the object from drawing a border?

                I think this needs to be resolved in the HISE source.

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

                1 Reply Last reply Reply Quote 1
                • clevername27C
                  clevername27 @Oli Ullmann
                  last edited by

                  @Oli-Ullmann I default to @d-healey.

                  1 Reply Last reply Reply Quote 0
                  • oskarshO
                    oskarsh
                    last edited by

                    I just use a panel and offset floating tile -1 -1 to get rid of the border

                    d.healeyD Oli UllmannO 2 Replies Last reply Reply Quote 2
                    • d.healeyD
                      d.healey @oskarsh
                      last edited by

                      @oskarsh Clever :)

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

                      1 Reply Last reply Reply Quote 0
                      • Oli UllmannO
                        Oli Ullmann @oskarsh
                        last edited by

                        @oskarsh oh yeah, good solution! Thanks for the idea! :-)

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

                        29

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.5k

                        Posts