r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Rebolek
12-Jul-2005
[1856]
that's because you must drag mouse up/down and not in circle
Pekr
12-Jul-2005
[1857]
I am not sure it should work by dragging the mouse up and down ... 
you should be able to hold the knob and do circular movement imo 
...
Rebolek
12-Jul-2005
[1858x2]
I'll probably add circular movement too - but IMO mouse really not 
suitable for circular movements (try to paint a circle with mouse...)
in Cubase there's option for up/down or circular movement for knobs, 
I'll add it later (it's just work in progress)
Anton
12-Jul-2005
[1860x4]
Pekr, there's a reason why up/down is the preferred way. It's weird 
to start with but it's better control in the long run. The hand is 
more precise in just one direction of mouse movement than two (or 
more, as you might like to see it).
Kru, nice demo ! :) Incidentally, this is just what I have been working 
hard on the last couple of days. Now I must post a demo :)
do http://www.lexicon.net/antonr/rebol/gui/demo-rotate-knob.r
In Reason and FruityLoops (audio sequencing software), up/down is 
the default behaviour.
shadwolf
12-Jul-2005
[1864x3]
Anton I'm working on a french rebol software witch names is FaireBo 
it's a weather dashboard  based on METAR/TAF information so I need 
a kind of widget like  the ones you give in your demo to symbolise 
the wind direction  ;)
METAR/ TAF information are comming from airports weather system and 
are usefull in aeronautic
I don't understand why the big view is so aliased
Anton
12-Jul-2005
[1867x3]
Is it really close to what you need ? If you can show me a picture 
of how the widget should look, I can see if rotate-knob can do it.
The big view is for looking at the pixels. It needs to be non-antialiased.
You can scale each widget by dragging on it then dragging on the 
pair-edit.
shadwolf
12-Jul-2005
[1870x4]
what I would like is a cardinal roze of the wind with a dynamical 
arrow that symbolise the wind direction according to the data comming 
from the weather station in the airports
I need to symbolise 8 directions N, NE , E, SE, S, SO, O, NO,
so up, up-right, right, down-right,  down, down-left, left, left-up
this are the direction where the dynamic arrow can be displayed
Anton
12-Jul-2005
[1874]
So, every 45 degres ?
shadwolf
12-Jul-2005
[1875x2]
My point is O I make 8 images and show the  right one according to 
the datas
yes ,)
Anton
12-Jul-2005
[1877]
What if there is no wind ?
shadwolf
12-Jul-2005
[1878]
or I make one image and I make a dynamic arrow using draw effects
Anton
12-Jul-2005
[1879]
Il ne souffle.
shadwolf
12-Jul-2005
[1880]
there is always wind  ;)
Anton
12-Jul-2005
[1881]
Every 45 degrees can be programmed by setting  rotate-knob-face/divisions: 
45
shadwolf
12-Jul-2005
[1882]
even if the wind speed is not enought significant
Anton
12-Jul-2005
[1883]
:)
shadwolf
12-Jul-2005
[1884]
for example today  on paris we have wind from north  N (360) speed 
12 KT.
Anton
12-Jul-2005
[1885]
OK, wind speed is shown by another widget.
shadwolf
12-Jul-2005
[1886]
in all cases your code is a good example  and a usefull working pass 
for me
Anton
12-Jul-2005
[1887]
Umm, I would need to add the ability to place multiple texts (N, 
NE, E ...) at any position in the face (I will use draw dialect).
shadwolf
12-Jul-2005
[1888]
Actually in the fairebo's dashboard  I only symbolise weather and 
temperature and for complete weather description we have to report 
to the text report (witch translate the METAR/TAF informations)
Anton
12-Jul-2005
[1889]
I am sure this demo will be useful to you.
shadwolf
12-Jul-2005
[1890x3]
What I want to symbolise is the wind speed and direction and the 
humidity
this will brings me 4 dynamic images built according to METAR/TAF 
informations ;)
My idea was to make a images that symbolise the cardinal direction 
(rose of the wind) and using draw effect over draw information like 
arrow or text :)
Anton
12-Jul-2005
[1893x2]
Well, adding the image is simple. Adding the text should be fairly 
quick too.
Kru, yep, definitely like your style Kru. Just skimming your codes, 
nice and clean. Your multiple colours handling looks smart, too. 
Something I haven't implemented so fully and nicely.
Rebolek
12-Jul-2005
[1895x2]
Anton your knobs are nice too, more posibilities than in my design
Anton if you want, use my code - this is probably enough for my purpose 
so I'm going to focus on other elements (now I've got sample window 
in my mind). BTW design of the knobs is inspired by Roland SH1000 
:)
Gregg
12-Jul-2005
[1897]
Kru and Anton. Both excellent demos! Should we add a folder on Viewtop 
for custom styles?
Rebolek
12-Jul-2005
[1898]
Probably yes. There are some good styles around there but it might 
be hard to find them
DideC
12-Jul-2005
[1899x2]
Draw style constest ?
Can I play too ?
:-)
do http://membres.lycos.fr/didec/rebol/stick-style.r
Rebolek
12-Jul-2005
[1901]
DiceC that's really nice! I really like it. Did you tried it with 
non-fixed positions of the stick?
DideC
12-Jul-2005
[1902]
Yep, but :
- Not easy to set value by mouse (as said before).

- Effect (fill-pen) is not "mathematicaly" link to stick angle (don't 
find a formula), so hard to do for any value.
shadwolf
12-Jul-2005
[1903x3]
très joli !! (very nice )
there is a tiny bug in your algo didec
drag the stick at what ever position stay with the mouse button down 
and you will see the pair position text to be increment every seconds