LAF ScriptSlider?
-
-
How to cut 4 Pixel From Each Side In This?
g.fillEllipse(obj.area);For Example obj.area But 4 Pixel Smaller?
-
@Natan obj.area is an array like the habitual area in graphics with the form [x, y, width, height] so you can access the element like all arrays obj.area[0], obj.area[1]... just perform the math you need on this
-
Little help, can someone smarter than me tell me how to make this slider bi-directional?
HiseSnippet 1028.3ocsV8taZbDDeOLmagVhhq5Cvp7InhhNbhSqjkUcrARQw1AEbhZjUTzxcyAaYucQ6sXCIxOM8EoOR8MHc16.tiVbpCRc+.1y++syMyu65oU9PbrRSbJc47I.w4ac6OWZFc5HFWR51h37.2yYwFPSSUcx7Ir3XHf33ryysJbJUjjb9qe4DlfI8gLUDxaTbe3LdD2jos2wufKDcXAvk7nbd+ji65qjmpDpoHd1w0iLg4OlMDtfYcqfKwY21AbiR22vLPL5yIpf48GotQl5+a3w7ABvJzjzGSTpZxoi3hfdKuqwDhSwdY27cRu4eu647.9J8YcfGlXflEQ9dfSg0gTw0fTy6BRcTh.aBtC34jCdESg2dt8807IlLKVr8Mtck3CmPF11yCqTeIEtof6oJzCooQDaLzQiBqhn5S87pSOvyq1gUJWoL17iMTAKjdDssbHWBM70.dsdtPMfIRS4YJ03mIC5.fnZZXX.MzvPtcHoyTougqjUeTflcyYXJX59Bd.neTcZ3RiCqSUC98ZUJ+wJko34ZllxvhhJavvJljVqAdHspUYrYt.nGcDc+ZoFVDn8LrQLXRGZR7cvvTAK3x7IDm3dkZpDa5uB7ML4PAT8J1UduqNkcUyje2O42G+N7O6mOZ64tqG2.QohMqc3cDw8q5zeHoCbMSLEtPoiXB9GffUX5fkX51E4+1ZGtrkRUxKTF3kxp0J+wxkJeaY5+zTX3FsYmNzJg.zazrcCU+4BrpbZz.PWml.6UNhisquWr68auvOcXMmiJYWI27xIvB4rMmlaXygrXZ2tCs.gnqljMnGrXCJcfjvwj7UtuPpFzjj.9LlnNGSdc2VLCaYZvLhUYBnMb6kwoEbMxqktXVxsEDO1nlj3azDkzVem89OK5Lh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wX+59V5C+cAA1RwiArudeZtA97jMvmmtA9ryF3yy1.e90Mvme6Z8w9ASOelQE6nIffAcSGt540URgtrzNRz+BN0ozoA
-
@ustk posted at the same time, :)
well yours is absolutely nicer -
Thanks guys!
-
Anyone Can Draw a Slider Like this:
No Luck Here :(
-
@Natan What have you tried?
-
@d-healey I Tried to make this Wrking But No Glory
HiseSnippet 1113.3ocsV81SabCF2Gv0MxV5Vk1G.q9pDFjcIszVoH1RAR5PEnQDVUqPnNm67k3gO6HeN.oUHsOZ6iz9Fz8X6jbWnAJKRbuHfe96uG6G+6wsUxPZZpTg7V83QCnHuu2uyHgt+N8ILAZucQdOz+.RplpvNQaOZ.IMkFg77V9UFAdqtBx98u+11DNQDRyDgPuUxBo6yRX5Losa7ZFm2hDQOlkjy5m1XuPoXGIWNDvyx9AnAjvyH8nGRLlsjOx6AMiXZopilnooHuU1VFMpSe4EBm8ukkx5xolEUQcf.4D2RxiLH1HEsSeFOp8j5NEAQoc1tvxtcgex+.VDap7rciezp.m4Q98CuktM3UMO7Bt6vyKG7VwAuG42ITwFnyzXv124um.NnhIvQPdX4rEsDeE+cjfEBckDxYzVJXwTOJ8rff0waFDTtdwBEK.GDoZLmDi2B2TziInUBUTnrdEW1kvcgbeo7rWJhZQo7RN2.Gpnn8XlFlVCEgZlTT5wQJxE6Cgfn5vYQT0iWGGOQYu0wxt+U4hE9TwBX36bhBSfjBBqPfLVOSrRNTDAp1brL2urXbIiwo5QbJdqsv0J6TLNfludURoZWik01t8bKJWOuMwPW4QlbPiNhFpIhdbZoSHmDb55XxIUs+Vy96SNE9Ss7dey4hooItkUmuClRqOgGe.SLL8nw0nIS+RM7Ftht9rVmpIJ80jcAKR2etwexFz4D9P5gRUBgy9HMB+q3fJaVNytb6WlOaR.jLKzpOqQ1rBFUxBy0pUF+yWuVVa9YeCa1As0xExqx9WJOk9+DaPL+xbWsR.HedHXsYOAu6kyMFRvg5yqV95MY1BZRWlEESayrPYBPuZb7txccqXgI2ivRwgRM8MhRkK7oBqV3pB3qqJNdt5LTBJImSUyUsghVcaNVRLLoKUsN1tYL0PfqZVxP+alLLOWcnigJmgRwdBl9MCnhahhDMlVyPVNFUfoZKU4CGSU5XdPLfQ7a7esP1sJxB3oie96lMP+wd6RzjIgAhHjkATklYJ.ucomCCybLvq5uKM8Lsbf01jARgI+d+vWMoWNMg+YTiQYC+Nsgk.yL.92kJ1Gg7S3nDVTDm1VlxLa54GrBLrC5.Mc4m+lPxhN58MRGFGytzrosOJQFAl562lHfflKRu+elPFBxd.H3yFoYjVFoeF9LRAd7d6xTzPGXlAoovA1wzK0aKuzLyA8kCsfQmxngbhd14olGQLVgIp4GbYFNIfReT9h7dYH6cEtOxuMSG1e93co4fWnW59FuiexRQ+lwwvQSFXWwu06t+eeBBXyzLQuCHZkoay+vgIcfFmPJfDg.3wAYdKYtk5VGXVa1Y5PEQ1El9qwJqZV6MVY0IJQIjPk7Cgt61lGE8sVI.lD12FtJ7HUXMd5kZe+fJAlqOrODFZ1J1.v978o1B3ySV.ed5B3ylKfOOaA744KfOu3V8w7L4WNTKSbWS.AsaZIW87ZJHPWlsiD8e.9dJ0K
-
What have you tried? :p
-
@d-healey Haha Cant Understand How This works in Slider Scenario
I Can Do Almost everything In Circle Knob Shapes, But Sliders No Sir!!! -
-
@d-healey :( Can't Understand This
-
@Natan Which part?
-
@d-healey The Circle That Moves, I Have no idea how to make it moving from left to right!
Simple to draw but how to make it slide?!!!Edit:
I'm trying to Create the slider In Look and Feel -
@Natan Scroll up to my post where I asked for help making a slider bi-directional. Use that as a starting point. All you have to do is draw a circle and change its x position based on the normalized value. Normalized value is always 0 - 1, so just use that as a percentage of the slider's width.
-
g.drawEllipse([a[0], a[1], a[2] * obj.valueNormalized, a[3]], 2);
Like This?
But this acts Very Crazy :/ -
@Natan
[x, y, w, h]