5.2.177 rev

Home Forums General Using Ctrlr 5.2.177 rev

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30425
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Hi
      tried it
      all uiImageslider are broken
      a new property only for some of them is here :
      “like normal slider but with custom graphics”
      I notice combos have new properties since 5.2.172
      “current selected ID” = -1
      “current selected item index” = -1
      they always have a template look and feel at startup
      uiImageButtons don’t display images too

      #30484
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        Thanks for the report, i know what’s wrong and i’ll fix it asap.

        #30518
        zeoka
        Participant
          • Topics: 73
          • Replies: 466
          • Total: 539
          • ★★★

          look&feel seems promising

          if I understand there is possibilities to add design to tab backgrounds or add
          sliders or combos to a custom comp for example
          actually I’m trying to do sliders function to a custom mod , it’s near but crappy

          --
          -- Called when a mouse DOWN (any mouse button) event happens on a component
          -- @comp
          -- @event   http://www.rawmaterialsoftware.com/juce/api/classMouseEvent.html
          --
          
          Glbclick = function(comp, event)
          glbx = event.x
          glby = event.y
             for glv = 0,96,48 do
                 if glbx >= 48 and glbx <= 272 and glby >= 48 + glv and glby <= 48 + glv +48 then
                    comp:getOwner():setValue(glv/48,false )
                end 
             end
              if glbtab == 0 then 
                     if glbx >= 484 and glbx <= 484+96 and glby >= 96 and glby <= 96+24 then
                        gtne = 1
                   else gtne = 0     
                    end
          elseif glbtab == 1 then
          --to do
             end
          end
          GlbDrag = function(comp, event)
          
          gvl = event:getDistanceFromDragStartY() /2 
          
          gdry = event.y
          ---g0dr = glb0 +  (gdry - glby) 
           if glbtab == 0 then
                  if gtne == 1 then 
                     if gdry < glby and math.floor(gvl) + glb0  <=84  then 
                        glbdat:setByte(5,glb0 + math.floor(gvl) )
                 elseif gdry > glby and glb0 - math.floor(gvl) >=40 then
                        glbdat:setByte(5, glb0 - math.floor(gvl)  )
                    end
                        -- if g0dr <= 168 and g0dr >= 80 then 
                            --glbdat:setByte(5, math.floor(g0dr/2) )
                        --end
                 end
          end
          panel:getLabelComponent("GlobalData"):setText(glbdat:toHexString(1))
          comp:repaint()
          end

          they are like combo boxes but I would slide them

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘Using Ctrlr’ is closed to new topics and replies.
        There is currently 0 users and 78 guests online
        No users are currently active
        Forum Statistics
        Threads: 2,495, Posts: 17,374, Members: 77,605
        Most users ever online was 12 on January 22, 2019 3:47 pm
        Ctrlr