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

World: r3wp

[View] discuss view related issues

Anton
29-Jul-2005
[1975]
Check out this old script. It's a bit messy, but the example works.
http://www.lexicon.net/antonr/rebol/gui/transparent-events.r
Izkata
29-Jul-2005
[1976]
See my newly uploaded package - %Entity.r - I'm looking for ways 
to have some unusual fun with Rebol faces, and right now I'm trying 
to get it to draw one top of everything, but still let buttons and 
such work
Anton
29-Jul-2005
[1977]
Yes, that is something I definitely wanted to be able to do too. 
So I've been stuffing around on that bit. I have updated the script 
(still not perfect, but could help you on your way.) See above link.
Volker
29-Jul-2005
[1978x2]
IIRC Cyphre has in his drag-drop-demo a find-face-underneath which 
scans the all faces, not only the ones in the parent-pane.
and to emulate events better, you can also do this:
 reduce [e/1 e/2 e/3 e/4 e/5 e/6 e/7 e/8   offset e/offset ..]
then poth event/1 and event/offset work
Anton
29-Jul-2005
[1980]
Yes, find-face-underneath is rudimentary. Needs to be a recursive 
search.
Volker
29-Jul-2005
[1981]
(that means " 'offset e/offset " of course
Anton
29-Jul-2005
[1982]
Volker, I just uploaded 1.0.1, which uses that technique.
Volker
29-Jul-2005
[1983]
Ah, got confused. you have a 'copy-event without it, thought you 
used that.
Anton
29-Jul-2005
[1984x2]
Check http://www.lexicon.net/antonr/rebol/library/window.r
for find-face-deep, which recurses.
Ah you're right. That is just remnant code from 2002.
Volker
29-Jul-2005
[1986x2]
reading %window.r . looks interesting.
from reading source, 'sum-face-offsets maybe needs update: it does 
not add the /edge for now?
Anton
29-Jul-2005
[1988]
Ok, thanks, I added to todo list to check that out.
Izkata
29-Jul-2005
[1989]
ehh.. 10kb will take a while for me to go through *and* understand 
- for the moment I'm sticking to transparent-events  ^.^  eenyways, 
lunch and work meeting, then I'll start  >.>
Volker
29-Jul-2005
[1990x3]
i guess the important part in %window.r is 'find-face-deep (at the 
bottom).
and from rebol 'win-offset? to find the offset in your face, to add 
to event/offset . that should give the face under mouse.
but for a start the face-finder in %transparent-events.r is enough. 
i would stick with that script for a while :)
Anton
31-Jul-2005
[1993]
Yep. First get it working using simple one-level face-finder, then 
when all the events are going to the right place, merge in the deep 
face-finder.
Pekr
1-Aug-2005
[1994x5]
Window Face Options part of new View doc describes 'activate-on-show 
option. So - does it mean my app will be activated (it will flash 
at taskbar or eventually brought to the front), or does it provide 
me with always-on-top window option?
Is it currently possible with REBOL to have always-on-top dialog 
box, so I can e.g. urge user to select/enter something and will not 
allow him/her to go back to underneath window screen?
one further question re new doc - does Event Flow section image displays 
for you in your browser? Maybe image link is incorrect?
... and I tend to agree with someone (do not remember now) who submitted 
RAMBO bug re strange behavior of 'over function. It is imo useless 
(try to prove me being wrong), if 'engage has to be used instead 
for "over" detection, when e.g. mouse button is pressed ... because, 
imo, it still belongs to 'over, although it is a bit "engaged" :-)
maybe 'over should be dismissed altogether ....
DideC
1-Aug-2005
[1999]
Not always-on-top. The Window becomes active (take OS window focus) 
or task bar button blinks each time you 'show the window.
Anton
2-Aug-2005
[2000x3]
The latest rotate-knob demo:
site: select load-thru http://www.reboltech.com/index.r[folder "Anton"]
clear find site %index.r
load-thru/update site/gui/rotate-knob.r
load-thru/update site/gui/demo-rotate-knob.r
do-thru site/gui/demo-rotate-knob.r
(needs View1.3.1)
Rebolek
2-Aug-2005
[2003]
nice work Anton! I like the leverarc
Anton
2-Aug-2005
[2004]
Thanks Kru ! See the history, I've been working on it all month. 
When I close my eyes I see knobs everywhere.
Pekr
2-Aug-2005
[2005]
hmm, I copied and run above in my console and it displays message 
"Cannot run ...." to me ...
Anton
2-Aug-2005
[2006]
Levelarc is nice but unfortunately shows some small but noticeable 
inaccuracies in agg (implementation ?). Not a showstopper and hopefully 
they will be fixed in good time.
Rebolek
2-Aug-2005
[2007]
Anton, here's small idea for future improvements - leverarc should 
be able to change it's colour from green through yellow to red when 
changing value :)
Anton
2-Aug-2005
[2008x2]
Mmm. I think I've seen that somewhere...
I'll stick it in the ToDo list. :)
[unknown: 10]
2-Aug-2005
[2010x2]
Actualy it would be nice to see some final Linux 1.3 this month... 
Im leaking intrest currently while only Windows version is released.. 
Its a pitty..
IIm not often complaining but Im getting a bit disapointed about 
this.....Well anyway.. Im killing GUI time here with some alternatives...Hope 
RT do  thier best..
Pekr
3-Aug-2005
[2012x6]
We should not complain here probably, as this group has web-public 
flag and is web-visible :-) But, you are probably right. Rebol is 
meant being cross-platform. It was said SDK and other platforms will 
come shortly after. We all probably differ in what does "soon" mean. 
E.g. no single last year devcon announced technology change was delivered 
yet, and that is not a good signal.
RT showed very good signal when they choosed few of community members 
to bring us View 1.3. But I thought things will go faster. Some kind 
of Rebol DLL was talked about in the past, which would bring us some 
parts of Rebol open sourced, to be ported faster. Now we wait for 
Linux "recompile" of View 1.3 for so long and noone does know why. 
I would expect blog article covering "What's next" and especially 
WHEN?
Although blogs are meant to be personal, being RT I would really 
ommit articles like "Yep ... REBOL summertime", as it shows RT in 
VERY bad light, being kind of one-man home company, which simply 
sends message like "we are on a vacation, don't expect much activity 
in upcoming weeks" ....
But maybe otoh it is better for us to know reality = there may be 
some slow-down, instead of thinking we will get product updates tomorrow 
:-)
Other strange factor I noticed, and correct me if my feelings about 
it are wrong somehow. The same way as Altme "has stolen" some life 
from ml, once there are some business oportunities for top rebollers 
(and I really wish it to all of them), community seems to be kind 
of dying. We can see ppl like Cyphre, Doc being almost invisible 
in the sense of community activity (posts to ml, or even here on 
altme) ...
... currently there is probably no single project running (well, 
maybe except RebGUI). Maybe it would be good if Rebol.NET would feature 
links to some top rebol products/projects (Maarten's bundle?) IIRC 
Carl mentioned it is a good idea, so maybe I could put small reminder 
about that in RAMBO? (if this is the right place, but I think it 
is ...)
Rebolek
3-Aug-2005
[2018x3]
a nebo rovnou trista tisic
sorry
ALtME always pops to front and I did not notice
Pekr
3-Aug-2005
[2021]
never mind, just gimme those 300K :-)
Tomc
3-Aug-2005
[2022]
Kru: settings -> unseect activate window on new message or some such
Gabriele
3-Aug-2005
[2023]
Now we wait for Linux 

recompile" of View 1.3 for so long and noone does know why." You 
do. Fonts.
Pekr
3-Aug-2005
[2024]
What is with fonts - it was said - "it needs to be decided". Doc 
decision takes so long? If that is not solvable, we have to think 
about font-engine licensing or creation of our own, or is there any 
other way?