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

World: r3wp

[View] discuss view related issues

Guest
29-Jan-2005
[310]
thx for reply eFishAnt, are these gui designers working with rebol 
? (e.g. creating a rebol code skeletons)
eFishAnt
29-Jan-2005
[311x3]
there are some absolutely brilliant GUI's that various REBOLers have 
designed.  I don't know where to start the list...and there is a 
layout.r tool which generates a GUI from a pallete of styles...not 
sure what you are looking for
layout.r gives you a Reblet (more flesh than a skeleton) and you 
can add actions to buttons, etc...if that is what you mean
(skeleton with flesh, but no fat)
Guest
29-Jan-2005
[314]
a graphical gui designer. drag and drop controls/components on a 
form . something like a nice IDE...
eFishAnt
29-Jan-2005
[315]
yes...at first I thought you meant a person...a gui designer...misunderstood 
;-)
Guest
29-Jan-2005
[316]
a commercial product will be welcome also.
eFishAnt
29-Jan-2005
[317x2]
I have done a lot of work to improve layout.r  and more to do in 
the future...but it is a good system, better than commercial products.
who are you?
Guest
29-Jan-2005
[319]
perfect, will take a closer look at this. perhaps it is a good idea 
to include a foreign tools/component page at rebol, to inform newbies 
about software making life easier.
eFishAnt
29-Jan-2005
[320x3]
http://www.rebol.net/has links to lots of places info for developers...let 
me find a couple good specific ones
http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.rwill give you 
the page to search and try layout.r if you want to try the old version.
I think Sunada has thought to do some download statistics for scripts 
people download.
Guest
29-Jan-2005
[323]
have had a look to layout.r. very impressive and entired written 
in rebol, a good starting point to step faster into view.
eFishAnt
29-Jan-2005
[324]
It saves a Reblet and it lets you lay out styles where you want them. 
 The code it generates in REBOL is much more readible than archaic 
systems like Visual C++/.Net  and Delphi
Guest
29-Jan-2005
[325]
agree, very flexible dynamic code generator. increasing the gadgets 
like list, tree  tab (e.g. as macro) will be very nice too :-)) thx 
for heading me to this.
eFishAnt
29-Jan-2005
[326]
so I still don't know who you are...you should get an account in 
here.
Guest
29-Jan-2005
[327]
tom, from spain. have had a account but was lost during the crash. 
will make a new .
eFishAnt
29-Jan-2005
[328x2]
cool, just post a message in Accounts and one of the men-in-black-hats 
will serve you.
Maxim also has a glayout.r in that library...and his demos at DevCon 
2004 were a smash.
Guest
29-Jan-2005
[330]
men in black :-) hopefully there will not flash me ... (but wait, 
perhaps this is fine because it could be easier to lern rebol, leaving 
the old coding paradigm at home) :-))))  thx, for your help.
eFishAnt
29-Jan-2005
[331]
great comeback, tom
Terry
29-Jan-2005
[332]
always the salesman ;)
eFishAnt
29-Jan-2005
[333]
it's easy to sell the best.
Terry
29-Jan-2005
[334]
http://powerofq.com/skins/rpoq.jpg
Geomol
29-Jan-2005
[335]
Nice picture there, Terry! The  "look-out" within the 'O' reminds 
me of some pictures, I made with my Amiga500 many years ago. :-) 
But we didn't have such nice colour fading back then. Very nice!
Geomol
31-Jan-2005
[336]
Is it possible to check on keyboard key-pressed and key-released 
events, like you can with mouse-button down and up? I need that for 
e.g. movement in games.
Pekr
31-Jan-2005
[337x2]
there is trouble with keyboard in rebol. I am not sure, but IIRC 
Cyphre can talk about that. You can't catch key-up event for e.g., 
no ctrl plus tab, etc keys ...
We already asked RT for new abstracted keyboard handler .... they 
tried to stay compatible, but not having some key combinations is 
not solution too ...
Geomol
31-Jan-2005
[339]
There's a fine example in the feel how-to: http://www.rebol.com/how-to/feel.html

But it will only catch key-press events, as I see it. So again, is 
it possible to catch key-release events, anyone?
Pekr
31-Jan-2005
[340x2]
I think not ....
You can look for Cyphre's Shadow of the beast demo -  it is nice, 
it also shows parallax scrolling to some degree, but keyboard is 
real limitation ....
Geomol
31-Jan-2005
[342x2]
ok, will have a look.
Yes, his demo only catch key-pressed events too, so it seems, release 
events isn't supported yet. Well, I'll stick with that for now then.
Izkata
31-Jan-2005
[344]
I was once working on a game, and to make the character move, I used 
the basic code

of the "raw key press" button on http://www.rebol.net/plugin/tests/test.html

It worked quite well, the character kept moving as long as the key 
was held.
Cyphre
31-Jan-2005
[345x2]
the main problem is lack of 'key-up' (and maybe 'key repeat') events. 
But the key-up is the most fundamental one. Without this we aren't 
able to make multi-keypress control. So for example when user is 
holding up-arrow he is not able to move to left by pressing left-arrow 
simultaneously.
Moreover REBOL is using some high level OS keyboard handling routines 
so if you have setup key repeat delay too long on your system...this 
will affect your control in Rebol app too...so if user wants to go 
left he press the left-arrow but the 'repeat' events are sent after 
the delay (from os setup) so the action is delayed..very annoying.
Geomol
31-Jan-2005
[347]
I can see, it must be hard to support these features on all platforms. 
It's rather deep down in the OS.
Cyphre
1-Feb-2005
[348]
Maybe it is not easy(or time consuming) to implement but it would 
be cool to have it at least on main platforms(win, linux macosx). 
btw Flash has the same functionality so why not Rebol?
Pekr
1-Feb-2005
[349]
exactly - we can't use the least denominator forever ....
Anton
2-Feb-2005
[350]
Maybe we should get some example source codes for each platform.
james_nak
2-Feb-2005
[351]
You know the "btn" style? How do you adapt that to say, a toggle 
button?
Graham
2-Feb-2005
[352]
someone has to build the images used.
Allen
2-Feb-2005
[353x3]
view layout [btn "hi" "ho" with [flags: [toggle]] feel (get in get-style 
'toggle 'feel)]
james: that's a just a starting point to show that applying the toggle 
feel to the btn gives you the desired effect. I'd probably stylize 
in real usage.
same again with an action block

view layout [btn "hello" "goodbye" [print face/text] with [flags: 
[toggle]] feel (get in get-style 'toggle 'feel)]
Ashley
3-Feb-2005
[356]
My humble attempt to improve upon Gabriele's original rich text style 
can be found at http://www.dobeash.com/files/render-rich-text2.r
... supports strikeout and color. Suggestions for improvements (both 
functional and efficiency) more than welcome.
Anton
4-Feb-2005
[357x2]
I have united two previousliy existing styles, which were very similar; 
PAIR-EDIT and INTEGER-EDIT into a single source file. Now a CREATE-EDIT-STYLE 
function takes a datatype argument (eg. pair!) and generates the 
appropriate style. A bit of extra work and it supports also  decimal!, 
so you can have a decimal-edit style as well... I'm proud of this 
optimizing - only possible using Rebol. The final source is only 
a little over the size of the original pair-edit, so it is a very 
good increase in efficiency.
I will publish at some time... earlier if someone is interested.
Vincent
9-Feb-2005
[359]
It seems that demos for /View 0.9 (0.8?) are still available:
http://www.rebol.com/view/advanced.rip
http://www.rebol.com/view/face.rip
http://www.rebol.com/view/demos.rip
http://www.rebol.com/view/users.rip

Most code don't work in current /View, but there's a lot of information 
and examples on low-level face access.