Home » Developing U++ » UppHub » Knob control
Re: Knob control [message #28148 is a reply to message #28141] |
Wed, 18 August 2010 22:27 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
jerson wrote on Wed, 18 August 2010 17:09 |
koldo wrote on Wed, 18 August 2010 20:31 |
I understand the algorithm but I do not know the reason. Why to have MajorTickinterval, MinorTickInterval and range instead of simply MajorTickinterval and MinorTickInterval?
|
Simply MajorTickInterval and MinorTickInterval should be fine. Range is nothing more than Min & Max and stays as it is.
An example. If I have Max = 100, MinorTickInterval = 5 and MajorTickInterval = 20, I will get minor marks at 5,10,15, major mark at 20, minor at 25,30,35, major at 40 and so on. Only reason I suggested this arrangement is it is easier to understand while designing the UI.
|
Oh. In fact the first version was like this, like in Meter.
If everything agrees I will implement it tomorrow.
Best regards
IƱaki
|
|
|
|
|
Knob control
By: koldo on Wed, 11 August 2010 22:30
|
|
|
Re: Knob control
By: jerson on Thu, 12 August 2010 02:44
|
|
|
Re: Knob control
By: koldo on Thu, 12 August 2010 08:13
|
|
|
Re: Knob control
By: jerson on Thu, 12 August 2010 10:11
|
|
|
Re: Knob control
By: koldo on Thu, 12 August 2010 10:23
|
|
|
Re: Knob control
By: jerson on Thu, 12 August 2010 13:29
|
|
|
Re: Knob control
By: jerson on Fri, 13 August 2010 06:29
|
|
|
Re: Knob control
By: koldo on Sat, 14 August 2010 01:55
|
|
|
Re: Knob control
By: jerson on Sat, 14 August 2010 04:04
|
|
|
Re: Knob control
By: koldo on Sat, 14 August 2010 16:09
|
|
|
Re: Knob control
By: jerson on Sat, 14 August 2010 16:58
|
|
|
Re: Knob control
By: koldo on Sat, 14 August 2010 21:10
|
|
|
Re: Knob control
By: koldo on Tue, 17 August 2010 10:10
|
|
|
Re: Knob control
By: unodgs on Tue, 17 August 2010 10:36
|
|
|
Re: Knob control
By: koldo on Tue, 17 August 2010 16:01
|
|
|
Re: Knob control
|
|
|
Re: Knob control
By: koldo on Tue, 17 August 2010 21:17
|
|
|
Re: Knob control
By: jerson on Tue, 17 August 2010 14:16
|
|
|
Re: Knob control
By: jerson on Wed, 18 August 2010 03:30
|
|
|
Re: Knob control
By: koldo on Wed, 18 August 2010 08:15
|
|
|
Re: Knob control
By: jerson on Wed, 18 August 2010 15:00
|
|
|
Re: Knob control
By: koldo on Wed, 18 August 2010 17:01
|
|
|
Re: Knob control
By: jerson on Wed, 18 August 2010 17:09
|
|
|
Re: Knob control
By: koldo on Wed, 18 August 2010 22:27
|
|
|
Re: Knob control
By: koldo on Thu, 19 August 2010 23:17
|
|
|
Re: Knob control
By: jerson on Fri, 20 August 2010 03:22
|
Goto Forum:
Current Time: Fri May 10 21:07:56 CEST 2024
Total time taken to generate the page: 0.02272 seconds
|