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

World: r3wp

[!REBOL3 GUI]

Pekr
30-Aug-2010
[2949x2]
http://rebol.hmkdesign.dk/files/r3/gui/208.png
I just wonder if it is so difficult to adapt styles to the new resizing 
model, as we can hear about the adaptation process for several weeks 
already? I expect that the work is being done on some other things 
right now?
Henrik
30-Aug-2010
[2951x2]
Cyphre has been out of town for the past week and has not yet reported 
back on his progress, and he's also focusing on many host kit issues 
that need to be solved.
Bolek has spent some time at the hospital.
Graham
30-Aug-2010
[2953]
Carl is asking for suggestions for A105
Robert
30-Aug-2010
[2954]
resizing: This is a quite complex topic and we need to make tests, 
try different approaches and fine tune tor the special cases we find. 
So, we don't do it completely up-front, but we adopt it on the way 
until it stabilizes.
Steeve
30-Aug-2010
[2955x2]
In my GUI trial, the resizing of styles use a small amount of primitives.
When a resize event is triggered. I mix them in an intuitive way.

....
when [
	resize [resize xy]  ;full resizing both direction
	resize [resize x]   ; resize the height only (for menu bar)

 resize [move x resize y] ; move the x offset, resize the width (for 
 right scroll bar)

 resize [move y resize x] ; move the y offset, resize the height (for 
 bottom scroll bar)

 resize [resize xy do-childs [trigger resize]] ;full resize + pass 
 the resize event thru all child gobs (for container)
]
...must say that it's allowing fractionnal resizing.

resize [resize xy * 50%]

Easy, no ?
Anton
31-Aug-2010
[2957]
Why do you write 
	[resize x]  ; resize the height only
I was expecting 
	[resize y]  ; resize the height only
Graham
31-Aug-2010
[2958]
menu is vertical ??
Anton
31-Aug-2010
[2959]
I still don't understand it.
Graham
31-Aug-2010
[2960]
I think he means that the menu bar widens but does not deepen
Anton
31-Aug-2010
[2961]
Surely, then, the comment should be "resize the width only".
Graham
31-Aug-2010
[2962x2]
so the second to last example ...


move y ( move the bottom menu bar down ) resize x ( and widen but 
do not make it taller )
engish is his 3rd language
Anton
31-Aug-2010
[2964x2]
It seems unlikely to that Steeve has confused this:
<----- Width ----->
	^
	|
	|
      Height
	|
	\/
Maybe his monitor fell on its side?
Graham
31-Aug-2010
[2966]
or, he has a swivel monitor?
Anton
31-Aug-2010
[2967]
Or he's programming from the couch?
Graham
31-Aug-2010
[2968x2]
they're all the reverse way one would expect
maybe y = horizontal axis?
Steeve
31-Aug-2010
[2970]
Ah.... silly me.
Nobody was supposed to read it
Graham
31-Aug-2010
[2971]
should not post it then! lol
Henrik
31-Aug-2010
[2972]
A bit of status: Lots of work on resizing right now, specifically 
a bug that occurs on maximize.
Robert
31-Aug-2010
[2973]
And this bug is OS version specific... hard to hunt down.
Steeve
31-Aug-2010
[2974]
I know old-size and old_offset are hidden properties of gobs.

I just think it would be convenient to be able to read them (during 
the resizing process).
Graham
2-Sep-2010
[2975]
Any R3VIDs available for playing with yet??
Henrik
2-Sep-2010
[2976]
what do you think? :-)
Graham
2-Sep-2010
[2977x2]
The question was directed to Steeve, Ashley and anyone else writing 
GUIs for R3.
James Marsden was also writing a GUI for R3
Henrik
2-Sep-2010
[2979x2]
I need a code/prototype reviewer for reviewing the validation prototype 
and the dialogs prototype.
I need a review of specific source code, the concepts and prototype 
documents. This is to ensure that the prototype doesn't lack important 
features that I didn't think about, before the prototypes are integrated 
into the R3 GUI.
Pekr
2-Sep-2010
[2981]
still too high-level mumbo-jumbo (albeit needed later for app developers), 
instead of real styles work :-)
Henrik
2-Sep-2010
[2982]
ok, Pekr, you're not the one to use as reviewer :-)
ICarii
2-Sep-2010
[2983]
Im waiting for a more stable R3 before I continue GUI work.  Too 
busy at the moment to play with the host-kits.
Henrik
2-Sep-2010
[2984]
R3 GUI now builds and runs with the new build system. Nice and clean. 
:-)
Pekr
2-Sep-2010
[2985]
Does resizing work correctly with all existing styles already? :-)
Henrik
2-Sep-2010
[2986x2]
nope
the built GUI is 193 kb and 53 kb shrinked.
amacleod
2-Sep-2010
[2988]
Is there anything about this GUI that will make it standout from 
other languages's GUI's? or is this first version going to be standard 
stuff?
Henrik
2-Sep-2010
[2989]
it'll just be very nice to use.
Pekr
2-Sep-2010
[2990]
Henrik - it still has to be seen ... I require all keyboard navigation 
being OS compatible - can't wait to stress test tabbing, tree-view, 
etc. :-)
Henrik
2-Sep-2010
[2991]
pekr, yes, that will be nice, but the code review is required for 
these functions to go in. I hope you see how important that mumbo-jumbo 
is.
Pekr
2-Sep-2010
[2992]
what functions? form validation related you were talking about earlier? 
OK, do you have anything to test, including some basic instructions? 
If so - send it in ...
Henrik
2-Sep-2010
[2993]
I'll pack it up within the next hour.
Pekr
2-Sep-2010
[2994]
ok, I am leaving for a tomorrow's management meeting, so first day 
I will be able to play with it is Sunday, and maybe some of evenings 
next week, we will see ...
Henrik
2-Sep-2010
[2995x3]
http://rebol.hmkdesign.dk/files/r3/gui/r3-gui.r3
I guess you need that one. :-)
Please download it to avoid stressing my poor little connection, 
btw.
Steeve
2-Sep-2010
[2998]
argh... I don't like those compressed scripts, i don't run them if 
can't have a look before :o