LAF ScriptSlider?
-
@ulrik Thank you Sir. This is a good starting point for me. :)
-
@Natan Uhhh... Nice .Bingo ..
-
@Natan @ulrik Now I have one more question... How can I make some thing like this?
So far I can Make only
HiseSnippet 1245.3ocwW01aaaCDlJIpXwcoXEXXelv.CvdwwQ14kMfrslWcVPSbMlyJ1PPWAsDkMWnIMnnShaV9SsususeJa+.Fv9GjcTT1RtwHuXjhpDHKd2yQ9bGOw6TCkzmFEIUHm4OdPOJx4ScaNPn6rSGBSfNXWjyybOhDooJrUz1C5QhhnAHGmY22HvY94PwW+2K1lvIBeZpHD50RlO8PVWlNUZiMeIiyqQBnGy5lA8padfuTrijK6C7YVWOTOh+oj1z5DCrYbQNOYu.lVpZpIZZDxYtskACZ1Qdtvh+0rHVKN0LnBpILQVw0j7.CiMRQ6zgwCZLzuiPvrzHMJLqMJ74tGwBXijmFM9rXE3TKxFObl41nWk6lddShdNYn2bV58b2l9JVOcpFC2dp6ABXiJj.aAYokEKZle8It6HADBc4tjSo0TvfQVTXMOuR3pddE2Xgb1+fMiHM9LhByIg3uCumnMSPK6qnf6sOW1hvsS8gR4oaIBpQo7BFySM7k02FLb3p1lp2Q1smT.CJjGzk2tXvzWVQayLoY05K70LonP9.E47CgEjnZxYATU9R3vgJaWBKa8aEWH2kKjCCWwjDVoJU71HUBAj.vJS.FmQ7Y0SjeFg2mVWp5R3r2QCx.IBFalt0xNcmyBzc.oqlQlne2l8TLQ6HC70SzXuiaWNDRz2hyKXVsVsso1ES.0tbDUuuhDvfvQM.XgSLvXZZWKvJkvdw+Ot3pkvjSp9FPyaFappIMQ0sTLBGBUUVwKUqITtEm0VPCNldAf52ADmTs55kWqTk0JspWoJddvLl2GnhhFju3XNxGS+fWbC73bYRNyIELS0xUWxrwsb0h3kvIRfmrxfGh2.MZ+JHGvr5qjEPo3es2mTr3dtxK93ux16KuLFCqphfCgSYG.viS7vzvPpuFiW5lWVCCkJbAFje5sAlg+1L4rv3EWrnE0kXL9N2Cvi.8HsK.2XKmRnGbnwbwBMt22i8JlJ6x2muOdN0he.cpQ74p3mtZ39+UomJO7LPrTTWpouRTnXtKyMeNvh2WUX3D0YNNVI4bpZhpMEkU2lgE.WqEUUBGe94HfP0owK+8z6W4Oea0gL.khCDL8q5QSFms98PudnVOzHmMqnTeLqzXWaBvREcy5unjpWlJwIvAn535vOKoNrs.EhAbz0EpqghiLYaMB8SGrKQSFNIv7AqQOpRyLQJmcomA8IYKtOu6tznS0xdwXSJWBq0crjWjssqAoCVYy3bS.ly+5fPcnr1cRaF6uZsYWY.LuegaZgvFTkIkD57BE0OLjcgI17kntrf.NsgLhYxGRWg+9EQ5A73dG+Aoh8Nv+HbzvxD.tmb80WGiL8veiz+ofUrFdUKU5PWHSgBi3+3O+E6bbytgfdxjA84D83MpY5NMQggtY6Hxz0i.biAY2hd.cu4cuat79R2m61fo86LY9NyD3KjI8gluI8Buf6dwUXRI6bt094osw2G.U9QYeMb94QDsxjB5VGNQERG7o.SDBJOxjSOi4MT6XOyXSjoIUDDO.x6tNQYEyXmDkUFpD0k3qju029dsoa6OIVBvIQ7GcLO70OvXbkguR655U1y7p.6s99lPwR.2mrMUmBaVYJrY0ovl0lBaVeJr4qmBa9la0Fy2esUesrq80DPPi8hOZ0wYOAAxxhyHQ++fOCfd
-
@Tania-Ghosh It Is More Close, But Can't Figure Out How To Make The Ramping Lines
HiseSnippet 1316.3ocuW0saaaCElJIpcwaoXcXX2raHBvJrabRjcZ6FPVmc9ycAMI0HtKY.EcELRT1bghTfhNotE8Ao2s61yvdD1aw.F1E8tg8BjcnnTjRZZWfWaUBrEO+vyGO7vuCcWkzmljHUHmoe3nXJx4Sb6MRnGr1.BSf1bcjyW5t0Jcv6yBzCv83r.pBeOEIfQEZzpihIIIz.jiyj2y3fyzSgRe96VqR3DgOsPDBsmj4S2hEwzER6199LNuCIf9PVTIquU6M8kh0jb4P.bS55ghI9GR5S2gXLaBWjyU1HfokpdZhllfblZUYvndCjGKr1uGKgc.mZFz.0ClHq3NRdf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k said in LAF ScriptSlider?:
Uuuuuuuuhhh.... That's what I wanted to create... Thank you so much :) -
@d-healey yes - but here used as png-stripe
-
@MikeB Cool one!
This is my LAF for the challengeHiseSnippet 1432.3ocuW0saaaCElJIpcwaoaEaXWqFfEH2Y6Ha2l0htMmecWPSbMhyR1PPQGsDsMWnHMnncraQA1qQuauF6QXuECXW065aP2gRxVxtp+fzs4DjDd98iGd3GOooT3RBBDRjwxGOtOAY7IlsFyU81oGlxQ6uKxXEyC1pt0wBKlXfGZ6w8wAADOjgwh2WahwxKgB+7xZaiYXtKIQDBchf5RNf5SUIRat4CnLVcrG4XpeJqu0l66J36Hf7.vYQSGTer643tjFXsYKXhLtxddTkP1RgUj.jwRaK7F2pm3Bdj8mPCnsYD8hxnVPfhDWWv7zHVKEsSOJyq4jsc.BhRyjhvhQEguv7PpGcp7jhwmEpvJwiz0CiEdavqbZ34jI7bxBdFof2RQv65lsbkz9pDMZr8wl6yUDYGLbDjFVQ1hVXMSycDfEbUIe74j5RXwTOr2vwof0scbxeuUxsRN3fHPYMDKsX3NVem0d7tTNojqj.as6yDswrnvdfPb9Vbu5DByV6ZhiOnw1fiSxXWhZGgeeAGVXuJna0nDAgujjzkF.3n9.tqhJ31q5IwWb.jPrrEi5QjqVvpyDkcKXIZ+q4WI2SWImE7QmKLjIPXILfu6kHdXiX4CwrAjFBoOlQeBwKkIAvZvnpNojcA0S0CDVIkrQvZ7YUdz5UrJF5z5o0NNTa0LzF8ytk5.s7awX1ZzztaTSd96MQa.QceI1iBEm5fg1moMipH9QFVtfkS32yJtRAqx5SMcleT9YRHsiMr4+VqxkbxmFB6wXz9AD6yFUzdzMASJFsaWuR9BViKZOddYg0mu1xVu2KpWj25lVI1j1fpYYPl356sbJc2XbEeJNsNTWnaP7HcvCXJ3buxslDgHSzsFawnc4DuiIiTgETE7GPYnf0ptPETR7flqPWd1rGBYD9xUm4THpvNMnyeNMexWcnfMvm.w4L3bHpFTwAp.1kKNrQ9BQsLUgcgyilAcuw.FPYDfCUGQsu2zozF2d1H+dD2WeCE8qfRsk.aTR50sDGQbU1mE2Fkf7MlquJczbFUutS06b2sbxJTgsJkiZXiiBzUEFnmEcoW+0j6yVBdCgh7Ptc9bOM2x4dVNq4U0oSl5zTKRAiQjYpV+3h7s4nMefeahrfUH6vTCAV1YowMeyz3oekwMhoKkgB99bp5g8I72zaOnX5QMMeLp.SUgj7WKljOhADQAtbSSf3DEB2zOxh9w82EqvSBBDOHG8IREUCeicICgGgid4XYycIAmqD8CsMlOFY74uiTNZZ59k1aNd5he6m2L7RdBXna1iP61SkVRfZLKbvhePHoOA.HlglPAB1ck0VasWosL.pbmn2aME8G..7plaSXhKBkqubrsXTTkN916IyVGdYs9Spr66oeotE0uOiXcDYHQ1tLLLgDli.dlQq8plmFBbegGDhuzL4sglDo95DL1AJXPmNzvb9UHepmGCPV.U2Dkj0+pVBerdy7J3S31NgkVKFghDqIUPFepILNUOnNY4i423FvHQu1S7vfFBuALrZ1oOzibEqPCizOyqeJmCvab5RxG7HIY109dB2qa1jpb6kMdWHC7Bcv+Wi23A7VwbuNc.1pDvtjY8e5e2o4J+tllKdh6qE2oF0nFePOWyaZfcjP32BZUiqa+9ye9KpsK1uOk2MVzlUq920NknN.7lkX1eVaW434j8hZmN6MXDptjPdB4vvaFSL6OpYr3rkiEe+XEy3z3Hw.Ef0CwJo91kYiA9sf6ItD3vfyILMkqwBZxwn0N50Zf0hv8BWnujEqrrdsQrxxST9+RN7wtRwicins0mseTnDXeyC+GVV17P8ZqxSXrMMcJ4nYRnO10U2wUDZQx1mJWBepdI74VWBet8kvmMtD97MWBetya0G8+61VCTB+H1HPPy8Be4zvXONF5dCueg9GG4bE.B
-
@ulrik Ultimate.... (y)
-
@ustk said in LAF ScriptSlider?:
// Range style slider
valueRangeStyleMin
valueRangeStyleMax
valueRangeStyleMinNormalized
valueRangeStyleMaxNormalizedHow is it with the range slider by now? Still not reliable? I am trying to customize the look and feel but I can't get my head around the min/max value problem!
-
@UrsBollhalder If I remember well, the issue was a display glitch, not in the behaviour. So try and see :)
-
@ustk hmm... That's a bit my problem... With a horizontal or vertical slider there is one input value, so that's clear to me how to get started... But how do you do it with 2 values? I am not sure I am making myself clear though...
-
@UrsBollhalder Is it a look & feel problematic that you have or with range slider in general? Since a range slider has a min and a max value, they can't be accessed through the original getValue() or setValue() methods.
You need to useget/setMinValue
and andget/setMaxValue
in the callbacks, andobj.valueRangeStyleMin
andobj.valueRangeStyleMax
in the custom LAF.
Make a simple snippet if you're lost -
@ustk Well... It is about painting my rectangle... If I click in the object area, how do I assign left and right sides (or better x and width)?? I know about the methods you mentioned but have trouble with my click event... It's not like with a horizontal slider you click and that event sets the width... (Sounds stupid when I write it like that, but that's the knot in my brain right now)
EDIT: I don't want you to solve this for me! I'll have to try some more and bring up a snippet eventually if Im completely out of it... Just starting is a bit difficult...
-
@UrsBollhalder I don't know if I understand well but does this help you to draw what you need?
startX = valueRangeStyleMinNormalized * fullWidth
widthToDraw = (valueRangeStyleMaxNormalized - valueRangeStyleMinNormalized) * fullWidth
-
@ustk Interesting! Thx for the nudge! I’ll do some digging and eye-ball-bleeding myself and hopefully come up with something. Thanks a ton. Always helpful! Appreciated!
-
This post is deleted!