HISE Logo Forum
    • Categories
    • Register
    • Login

    Image drawing into panel problem in compiled plugin

    Scheduled Pinned Locked Moved Solved General Questions
    2 Posts 1 Posters 66 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.
    • M
      mehmethand
      last edited by mehmethand

      inline function bannerSetter()
      {
      	bannerImage = "{PROJECT_FOLDER}"+styleCombo.getItemText()+."png";
      	
      	infoPanel.loadImage(bannerImage,"banner");
      	infoPanel.repaint();
      }
      

      Hi I'm using this function in preset post callback. It successfully works in Hise. I have a comboBox (styleCombo) with image name list and a panel (infoPanel) to show selected image. When a preset is loaded, it changes the image inside the panel. But it is not working in compiled plugin. It seems that plugin cannot locate the image files. I checked the "Embed Image Files" option in Settings. Any help would be great.

      (Hise 4.1.0 , Apple M1 Sequia, VST3 compiled)

      M 1 Reply Last reply Reply Quote 0
      • M
        mehmethand @mehmethand
        last edited by

        @mehmethand ok I found the solution. I need load all images into pool.

        Engine.loadImageIntoPool("{PROJECT_FOLDER}"xxx.png");
        
        1 Reply Last reply Reply Quote 1
        • M mehmethand has marked this topic as solved on
        • First post
          Last post

        51

        Online

        1.7k

        Users

        11.7k

        Topics

        101.9k

        Posts