• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 57701 end: 57800]

world-name: r3wp

Group: !REBOL3 GUI ... [web-public]
BrianH:
26-Aug-2010
Ah, wrong group then. The layout dialect is implicit in R3's VIEW 
function now, not implemented by a separate LAYOUT function.
BrianH:
26-Aug-2010
Get rid of the call to LAYOUT, and it will create and show a layout 
with a button titled "test Brian". When that button is clicked, the 
button's action will be triggered, and the result of NOW will be 
printed to the console.
Pekr:
26-Aug-2010
Graham - in R3 VID there is simply a 'do keyword, preceeding the 
action block, nothing more ...
Graham:
26-Aug-2010
so either there is a compose/deep somewhere .. or there is a switch 
to the do dialect occuring
BrianH:
26-Aug-2010
That demo is outdated, but yes, there is a compose somewhere.
Graham:
26-Aug-2010
whether it has, or whether it should be put in ... I do a lot
Henrik:
26-Aug-2010
Actually there are several changes by Bolek and Cyphre, that I've 
not yet studied, but much of the work that was handled by LAYOUT 
before is now relegated to PANEL and GROUP, which is why we talk 
so much about them and not a central LAYOUT function. They call various 
subfunctions that specifically focus on creating faces and laying 
them out and resizing them.


So the styles themselves are capable of custom layouts and resizing 
mechanisms and also mechanisms such as face init and triggers. So 
that means you are no longer a "slave" of the LAYOUT function.

That's also why:


1. I was talking a while ago about that you can build a style that 
emulates VID, complete with a dialect, or replace the layout mechanism 
with your own, by rewriting PANEL or GROUP or adding new panel styles.

2. That whenever you want to do a new thing, you should make it as 
a style. That's where you start.
Pekr:
26-Aug-2010
BrianH: stop claiming we don't refer to R3 GUI as VID, please? Where 
did you find out such a claim? It was VID 3 (Gab's version), and 
Carl's version was marked as VID 3.4 by Carl himself imo. There is 
NO point to stop calling it a VID, unless we find another marketing 
name, just because the architecture changed ...
Graham:
26-Aug-2010
in a panel ?
BrianH:
26-Aug-2010
Yeah. And then we decided to stop calling it VID because of the confusion. 
There was even a blog where a new name was requested, but it never 
came to a consensus. So we ended up calling it the R# GUI by default. 
The only one who still calls it VID is Pekr.
Henrik:
26-Aug-2010
graham, if you want, you can do something like this:

view [vid [...regular vid dialect...]]

If you write a style called VID and implement the dialect in it.
Henrik:
26-Aug-2010
there's no limit to the size and complexity of a style, if that's 
what you mean.
Pekr:
26-Aug-2010
There is no confusion, sooner or later we do reach the matrix's "there 
is no spoon" = there is no R2 - old, forgotten, boring. Do you call 
Delphi 6 not a Delphi, because you can't run the code in Delphi 2 
anymore? Does Perl 6 rename, even if different to the old generation? 
VID is a good name. Simply put version 3.x is not compatible with 
version 2.x, easy as that ... I can't see any confusion, if we talk 
about VID in R3 related channels ...
Pekr:
26-Aug-2010
R3GUI is surely not a final name, althought not that bad. It reads 
as REGUI, which is close to RebGUI :-) It will not work, once R4 
is introduced (in 2020 or so :-)
Pekr:
26-Aug-2010
vivid.com si a porn-site though, so I think that VIVID is 1) not 
useable due to the factor mentioned 2) maybe too general name to 
google for? maybe vivid-gui.com would work though, dunno ... let's 
not opent the topic right now, there was something like 40 or more 
names suggested :-)
BrianH:
26-Aug-2010
Vivid is a standard english word, so it will not be as easy to search 
for on the internet.
Henrik:
26-Aug-2010
(finally a topic that everyone can contribute to :-))
BrianH:
26-Aug-2010
A search for GOD may take a lifetime to find any useful answers :)
BrianH:
26-Aug-2010
How would a search for REBOL GOD not turn up references to Carl, 
Gabriele or Ladislav? :)
Graham:
26-Aug-2010
http://www.rebol.net/wiki/Glossary
Face

A REBOL object serving as a VID element. A higher level than the 
gob! datatype.
BrianH:
26-Aug-2010
Gabriele, thanks for that "dying for our sins" thing. That was a 
classy thing to do :)
Graham:
26-Aug-2010
You'll be more than a tea port in a planetary orbit
Graham:
26-Aug-2010
Ahh... Gabriele has gone .. in a puff of celestial smoke!  http://en.wikipedia.org/wiki/Russell's_teapot
shadwolf:
28-Aug-2010
steeve is doing an irc mini client like ... the font is well designed 
but a gamma correction 2.0 isn't it a bit too clear ? why 2.0 and 
not 20.0 ? seems something completly arbitrary again a speudo hack 
to solve a lack of real work ...
shadwolf:
29-Aug-2010
CAn we have a better calling for R3 hostkit package ... since it's 
supposed to haven't change on API level can't we distinguish the 
number for the hostkit api version and a number for the GUI related 
engine ? something like r3-hostkit-102-GUI-still-the-same.zip ?
Pekr:
29-Aug-2010
IIRC there was a screenshot showing grid is available for new gui? 
Done by Cyphre?
Robert:
30-Aug-2010
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
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)
]
Graham:
31-Aug-2010
or, he has a swivel monitor?
Henrik:
31-Aug-2010
A bit of status: Lots of work on resizing right now, specifically 
a bug that occurs on maximize.
Graham:
2-Sep-2010
James Marsden was also writing a GUI for R3
Henrik:
2-Sep-2010
I need a code/prototype reviewer for reviewing the validation prototype 
and the dialogs prototype.
Henrik:
2-Sep-2010
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.
ICarii:
2-Sep-2010
Im waiting for a more stable R3 before I continue GUI work.  Too 
busy at the moment to play with the host-kits.
Pekr:
2-Sep-2010
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 ...
Steeve:
2-Sep-2010
argh... I don't like those compressed scripts, i don't run them if 
can't have a look before :o
Henrik:
2-Sep-2010
not yet. I can upload a bunch in a minute, but try:

view [button]
Henrik:
2-Sep-2010
Steeve, that's a lowlevel bug that Cyphre wants to fix. it's in the 
queue.
Henrik:
2-Sep-2010
that is the resize bug mentioned a couple of pages back, also in 
the queue.
Graham:
2-Sep-2010
I take it that this is a hidden queue
Graham:
2-Sep-2010
I hope they have a way of integrating back to CC later on!
Henrik:
2-Sep-2010
it's not a formal release. I decided to do this, because the build 
system became available for use internally today.
Ashley:
3-Sep-2010
Any R3VIDs available for playing with yet?
 ... I'm still experimenting, but nothing in a useable state.
Maxim:
4-Sep-2010
well, did you see the images?

henrik (and I) did a few aqua-esque AGG driven buttons.
Steeve:
4-Sep-2010
That is, Thanks a lot
Henrik:
4-Sep-2010
well, they were just a test of what DRAW could do. I have something 
hopefully better in mind. :-)
Henrik:
4-Sep-2010
that part is not so difficult. it's more difficult to get a style 
that works in both high and low contrast and with many different 
colors. much of what is in that script is hardcoded.
Henrik:
4-Sep-2010
http://rebol.hmkdesign.dk/files/r3/gui/026.png


Some of the last glow stuff I did which is not hardcoded, but done 
using a real material system with calculated specular highlight.
Henrik:
4-Sep-2010
http://rebol.hmkdesign.dk/files/r3/gui/143.png


It'll probably be closer to this. I find a good source of inspiration 
in this skin that can yield some interesting results.
Maxim:
4-Sep-2010
yep... in my experience ... back face glowing is the hardest color 
staturation issue to solve  :-)


we must not think in terme of color but energy, which is related 
to gamma and brightness of the color saturation (probably even channel 
based, since green is perceived twice or fourtimes a smuch as blue 
and red)
Maxim:
4-Sep-2010
also note that wavelenghts for red don't penetrate as well thru blue 
IIRC... so a red sign under water appears black at a VERY short distance... 
something like 30meters IIRC.
Oldes:
4-Sep-2010
Henrik... if it's not too soon to talk about look, but please, make 
a light version as well... I would like to know, what's your monitor's 
resolution because I have 1440x900 and you style is so heavy!
Henrik:
4-Sep-2010
Oldes, I have changed display a couple of times since the cool-widget 
script was made and the heavy look in the later screenshot is mostly 
because I found fonts to be not very readable in buttons unless it 
was precisely that look and size. My current screen is 1680x1050 
and I test also on a bad 1280x800 display. I have some ideas for 
different widget sizes and different types of contrast.
Graham:
4-Sep-2010
It's also a lot wider than that of RebGUI's
Graham:
4-Sep-2010
the scroller handle looks as though it is illuminated from a different 
side to the scroller ??
Henrik:
7-Sep-2010
Generally, always use this (please download as it's on a low bandwidth 
connection):

http://rebol.hmkdesign.dk/files/r3/gui/r3-gui.r3

For validation, a proposal was written:


http://rebol.hmkdesign.dk/files/r3/gui/docs/validation-proposal.html

This has been translated into a prototype:

http://rebol.hmkdesign.dk/files/r3/gui/validation.r3


and then a set of notes on how the prototype works has been written:


http://rebol.hmkdesign.dk/files/r3/gui/docs/validation-prototype.html
Henrik:
8-Sep-2010
and building it into the style we need to validate is as far as I 
can tell, a whole lot more work.
Henrik:
8-Sep-2010
yes, validation is a simple indicator style. the "catch" is that 
you need to place it one place to the right of the style to validate. 
Carl also talked about doing the validation action itself as a reactor, 
but the role of reactors is still not clearly defined to me.
Graham:
8-Sep-2010
instead of having a dedicated icon
Pekr:
8-Sep-2010
Probably a bit different topic, albeit related - in one DOS app generator 
I worked with, there was a possibility to e.g.:

- init form values (e.g. when you create new record)

- set 'update trigger - you could have multiple update actions (it 
was quite primitive, but sufficient - operators like +, -, replace), 
so e.g. entering some value into 'amount field, could trigger an 
update into other field on the form, or later during the commit, 
to even a different table.

- getting/setting values of the form/panel is surely going to come 
IIRC
Henrik:
8-Sep-2010
graham, that's not a good alternative:

1. you create multiple ways of indicating validation

2. you may not be validating a field, but an entire panel or any 
other style

3. you still need to alter the style itself, which will be a ton 
of work.
Henrik:
8-Sep-2010
that's a small problem compared to working validation into each style
Henrik:
8-Sep-2010
also fields will eventually become sub-fields in tight panels, where 
the fields themselves may not be incorrect, but the overall value 
combination may be wrong, such as that for a date field and that 
can be for multiple different reasons. this is why the valid-indicator 
would contain a tool-tip to describe the problem. you would be eventually 
able to click on it, to get an overview or deeper help on how to 
solve the issue via the help system (not yet written).
Pekr:
8-Sep-2010
As for business apps - that sounds fine, it is just that we did not 
see e.g. list of styles, you might need. Is there e.g. a tree-view? 
Tabs? Table is there IIRC (there is a screenshot on henrik's site)
Henrik:
8-Sep-2010
graham, and I posted all the relevant information to validation and 
dialogs a week ago, the build system 2 weeks ago. zero feedback.
Pekr:
8-Sep-2010
when is validation triggered? In DOS app generator I mentioned, there 
was such a functionality, that you could limit values to type - it 
was called 'vtg - variable-to-get, and it was used e.g. when you 
wanted to limit selection to floppy drive A, B values, etc. :-) Nowadays 
we have list-boxes, but I still can imagine special kind of fields, 
e.g. Date, IP field with various masks, allowing to type only numbers 
for e.g. But that would require validation being triggered on per-press 
basis ... just thinking out loudly ....
Henrik:
8-Sep-2010
currently validation is triggered on window open to init state. then 
you can call it on the window as needed and it runs also as a reactor, 
hence every time a field is unfocused or a button is pressed. it 
also is triggered on window close, given the button that closes the 
window is a dialog button.
Henrik:
8-Sep-2010
as for the type of validation, that is completely customizable. you 
can also scope validation, so you can say that a panel of fields 
may not be empty, by adding that option to the panel instead of each 
field.
Henrik:
8-Sep-2010
http://rebol.hmkdesign.dk/files/r3/gui/236.png

Materials system is back in (just a quick test)
Pekr:
8-Sep-2010
Cool :-) Cold you please say few words about the material system? 
What's its purpose, design? Is it more complex/flexible system, or 
just mostly a gradient/background replacement? thanks ....
Henrik:
8-Sep-2010
the purpose is both to eliminate the need for fiddling with colors 
directly when creating a gradient surface for, say, a button, and 
both to store material settings, so you can switch quickly between 
them or select one for a style. so for gradients, instead of working 
with RGB values (unwieldy), you work with brightness, diffusion and 
specular.
Pekr:
8-Sep-2010
and also - does material mean a skin? Or is material system going 
to be part of even more complex/flexible skinning? Note - those are 
just question, so no offense :-)
Henrik:
8-Sep-2010
no, material doesn't mean skin. it's only a small part of the skin 
where you can reference a pre-calculated gradient by name for a single 
part in the draw block.
Henrik:
8-Sep-2010
if anything, inspiration was drawn from 3D modelers on how they apply 
textures and surface to a 3D model. Bolek is working on improving 
the way that materials are created and used.
Henrik:
8-Sep-2010
no, the material system simply calculates a gradient block or a color. 
then you are free to use it whereever you want.
Pekr:
8-Sep-2010
Henrik - maybe I do, maybe I don't. What I did not get is - why the 
stuff is not nested? I mean - is 'required parameter kind of related 
to validation stuff? If so, I would expect something like:

validate [method: not-empty required: true]


... the way it is - we  might polute 'options namespace, which serves 
also other purpose. But again - its just a note, not a complain ...
Henrik:
8-Sep-2010
it is nested. 'required indicates that the field is required, so 
that if the field does not validate, that constitutes a fatal error. 
otherwise it only presents a warning.
Pekr:
8-Sep-2010
btw - back to my DOS app generator (Clipper + Zachary) :-) There 
was one other interesting feature. Let's say you have an invoice. 
And you have field to enter a company. That field is validated against 
customers table. There was a validation option named 'must-exist, 
may-not-exist. That way user could either enter new value, or only 
choose from existing values. But - the customer table was not probably 
a good example. 


And then - each grid/table had options too, called AED (Add, Edit, 
Delete), plus option, if you allow ADD option caused by validation. 
Example - you enter customer name - it is not found in customer table. 
If you allow 'Add option for grid, when user entered new customer 
name, and not found, it automatically popped-up a form, to enter 
new customer. If 'Add option was not allowed, then the person had 
to call someone, who had rights to enter the data directly into Customer 
table ... well, probably confusing description :-)
Maxim:
8-Sep-2010
there was a download link posted on altme... though its probably 
lost in the chat.
Henrik:
8-Sep-2010
Pekr, must-exist or may-not-exist could be done as validation, but 
unsure if it's a good workflow. That depends on each UI case, however 
you are free to design the validators as you see fit. you can also 
run mulitple validators in sequence.
Maxim:
8-Sep-2010
I think robert also had a precompiled version ... or is that in the 
zip file nowadays?
Maxim:
8-Sep-2010
I think that a compiled version of each host-kit should always be 
included in every release. who will mind the few extra kb required?
Maxim:
8-Sep-2010
this way a single rebol release channel covers everyone.
shadwolf:
9-Sep-2010
i like henrik's work so far  that's what i was talking about when 
i was asking for a mature widget set...
Henrik:
9-Sep-2010
thanks to Gregg for a really good session on reviewing the validation 
scheme. this is precisely what I needed.
Henrik:
9-Sep-2010
some notes:


- validators 'not-empty and 'selected are overlapping, so maybe 'selected 
should not work on blocks but simply check if the output of the face 
is NONE

- using the 'only-positive validator alone will cause a crash, if 
the input is not a number and if the previous validator is not a 
check for number values. I designed it like this to indicate that 
the value may not be anything but a number, but there is a disagreement 
over whether incorrect usage should cause a crash.
Robert:
9-Sep-2010
only-positive: I would expect an implicit check for a number. If 
it fails, it's not positive.
Robert:
9-Sep-2010
The message to the user should be: Not a number.
Henrik:
9-Sep-2010
Hence with the correct setup, you would get a not a number error.
Henrik:
9-Sep-2010
you can combine multiple validators in sequence for a face and the 
first one that fails, stops validation for that face.
Robert:
9-Sep-2010
Yes, I understand. I would expect that only-positive than combines 
two validators: is-number & greater-zero as a pre-set validator.
Henrik:
9-Sep-2010
ok, I guess we need a way to combine validators
Graham:
9-Sep-2010
It enforces a minimum size window but only after you first resize 
it
Henrik:
9-Sep-2010
it seems to be a broken exe. a new one should be distributed.
Graham:
9-Sep-2010
Also size must be a pair?  It complains if I just use an integer
Henrik:
9-Sep-2010
there is a method to restrict the window size. perhaps it is a bit 
too aggressive, but the option is needed in some cases.
Henrik:
9-Sep-2010
In that field, if you press backspace, do you get a crash?
Pekr:
9-Sep-2010
And plese - tell me if you are interested in such hints, as it might 
get you nervous :-) We like pre-releases, but so far my feeling is 
- Gabs VID3 was able to show us Image Lab demo - resizing IIRC, drag 
and drop, alpha channels, changing mouse pointer ... then came the 
VID3.4 from Carl, it felt lightweight, but did 70% of Gabs VID? And 
now we are seing some XY percent of functionality of Carl's VID :-) 
I just hope it' still just work-in-progress, but I really wonder 
if stuff like validation is important now, in a state where there 
is very few usefull styles?
Pekr:
9-Sep-2010
(that was caused by pressing the back-space in a field widget ....
Robert:
9-Sep-2010
As long as we don't explicitly state: Please give it a try and provide 
us feedback on A, B and C things might not work at all. you can give 
feedback but don't expect that we always care about it.
57701 / 6460812345...576577[578] 579580...643644645646647