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

World: r3wp

[!GLayout] ask questions and now get answers about GLayout.

Maxim
21-Sep-2006
[1]
ok, lets talk about GLayout here :-)
Graham
21-Sep-2006
[2]
Is the documentation better?
Maxim
21-Sep-2006
[3x2]
First topic !   LICENSE
Glayout is LGPL meaning unless you link it within your code, you 
do not get infected with GPL.
Graham
21-Sep-2006
[5]
So, if it resides on the local drive, and you load it each time .. 
you're okay?
Maxim
21-Sep-2006
[6x2]
I am also willing to license GLayout differently on demand.
yes.
Graham
21-Sep-2006
[8x2]
I demand it now!
:)
Maxim
21-Sep-2006
[10x2]
in detail, unless you use slim-link to produce a source which INCLUDES 
glayout or slim, your application is not obliged to be open source, 
this applies even when your application is encapped.  just keep the 
slim.r and glayout files external and you are still ok in using it.
hehehe  (wrt demand)
yeksoon
21-Sep-2006
[12]
my preference is also BSD (or MITish)
Maxim
1-Nov-2006
[13x6]
GLayout now only functions on view 1.3.2
GLAYOUT LICENSE in last release IS NOW MIT
for those of you who missed the announcement, there is now a GLayout 
demo on REBOL.org you can lauch it via:


do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=glayout-demo.r
its a quick slap of many styles and serves as a simple preview and 
hint about some of the GLayout features like full nested resizing, 
advanced menuing, inspector, and snapshot.
can anyone give me feedback on the GUI snapshot feature?
there is a link to some info about it in the glayout-demo.r.

menu:  "Features > Gui snapshots"
xavier
1-Nov-2006
[19]
looks amazing, i just tried it and its wonderfull
Maxim
1-Nov-2006
[20]
some visuals are borrowed from henrik's previous work.
xavier
1-Nov-2006
[21]
it looks very clean, i think i ll use it for my next interfaces
Maxim
1-Nov-2006
[22x3]
I am looking into putting time on improving the look a bit, or in 
the least allow a bit more global control.
the real power lies in the engine and api.  The way styles can be 
created is pretty cool.
MANY hooks allow you to control how stuff is created, rendered, resized, 
etc.
xavier
1-Nov-2006
[25]
u think about using agg directly ?
Maxim
1-Nov-2006
[26x7]
its VID based, so any current draw blocks set in the effects can 
be used.  the buttons, field, and choice use AGG for their rendering.
importing current VID styles should be pretty easy.  nothing is removed. 
 ex:  I still use the obscure init block myself.
some usefull tidbits are pre and post layout hooks... which allow 
a style to add faces to its spec BEFORE layout is called (usually 
much easier than trying to create faces directly).
this is how the scroll pane works.  it adds its scrollbars to the 
layout, dynamically and then lets the layout take care of everything.
the post layout hook, allows you to react to the layout, just after 
its done, but before moving on to other gadgets.
so you can change values, setup pointers.  sort of like the init 
block.. must much less obscurely.
there is also the refine-vid function which lets you add word to 
any style's dialect very easily.  it even pre-allocates some local 
vars for you, keeping you from stomping the global space too much.
xavier
1-Nov-2006
[33]
an help to create widgets in vid ?
Maxim
1-Nov-2006
[34x2]
next week.
I think I misunderstood your question.  Its possible some  methods 
could be extracted from GLayout, but I have no time to do that kind 
of task.
xavier
1-Nov-2006
[36]
no problem, my question was about preallocation and refine vid but 
it is something that can help with the existing vid ... it will be 
sufficient for my needs
Ingo
4-Nov-2006
[37]
Hi Maxim, 

looks very good!
Only the colors don't match my personal taste ...

And I like to work with up and back arrows in file requestors, which 
yours doesn't have ...

Guess I should now start to learn more about it ...
Maxim
5-Nov-2006
[38x2]
the more users I have the more I commit to priorities.  it helps 
with the motivation.  :-)
arrows in file requestors , good idea.  I didn't put any shorcuts 
there, I didn't realize how usefull that can  :-)
xavier
3-Jan-2007
[40]
hello maxim
Maxim
3-Jan-2007
[41]
hi
xavier
3-Jan-2007
[42x3]
i have intention to use GLayout to improve an interface i have already, 
wrote in vid
i was wondering if there was a possibility to reuse what i have already 
wrote
and having features as elasticity
Maxim
3-Jan-2007
[45x3]
cool ,  you can recycle some/most of it.
the exact nature of your tool will make it easier or harder.
some styles are not part of glayout (for no real reason other than 
time and user demand)
xavier
3-Jan-2007
[48x2]
i have a stylesheet where i created my personnal widgets in vid
can i reuse them ?
Maxim
3-Jan-2007
[50]
By default its easy to add  VID styles if you use the static-sizing 
extension by default.  This means you do not expect your face to 
resize, and is very easy to accomodate (obviously)