World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Henrik 14-Oct-2008 [7314x3] | I'm now able to study the R3 GUI source code. |
As far as I can tell there are animation effects in it as well as a small suite of debug tools. Each source file is really small, around 2-8 kb with a few going above 10 kb. Fully commented and very clean. | |
Running the GUI now. It's... colorful :-) | |
Graham 14-Oct-2008 [7317] | elastic? |
Henrik 14-Oct-2008 [7318] | meaning? |
Graham 14-Oct-2008 [7319] | resizing is automatic and good? |
Henrik 14-Oct-2008 [7320x6] | resizing is automatic, but buggy. there is a list of known bugs. |
there are animations in the GUI and I can resize the entire window while they play. | |
They are transitional animations and are fully interruptible. | |
http://rebol.hmkdesign.dk/files/r3/gui/001.png Skin is for testing purposes. | |
Carl says the animation system is a simple prototype. | |
Mostly because events are not yet pushed correctly to it. So it's an event based animation system. | |
Graham 14-Oct-2008 [7326] | automatic scrollbars? |
Henrik 14-Oct-2008 [7327] | meaning? |
Pekr 14-Oct-2008 [7328] | aaaah, what a mixture of colors :-) |
Henrik 14-Oct-2008 [7329] | Pekr, well, that's Carl's work. :-) |
Pekr 14-Oct-2008 [7330x2] | so we've got "transition" effect? What are they used for? |
.e.g. change of tabs/windows? | |
Henrik 14-Oct-2008 [7332] | The GUI feels fairly quick, but Carl says there is still a lot of optimization and caching to be done. This won't happen until he feels the entire system works correctly. |
Pekr 14-Oct-2008 [7333] | btw: what do you mean by "each source file" - is the code now organised more in the RebGUI way? E.g. each "widget" being one file? |
Henrik 14-Oct-2008 [7334x2] | the transitions right now are simply each element you see in the right side sliding into view one at a time. I've not yet studied how that works. |
each style is a separate file | |
Kaj 14-Oct-2008 [7336] | Alphe, ORCA is way, way underpowered to run any VID |
Henrik 14-Oct-2008 [7337] | the source is divided in two parts, with files beginning with g-* being the GUI system and s-* being style files. |
Pekr 14-Oct-2008 [7338] | are there any editable styles yet? I mean - text area, fields? What about focusing? |
Graham 14-Oct-2008 [7339] | So, Orca is where Rebol was 10 years ago? |
Pekr 14-Oct-2008 [7340] | ... those colors remind me of first VID version, which was called CID :-) http://www.xidys.com/rebol-view-screenshots/- the first one :-) |
Kaj 14-Oct-2008 [7341x2] | Yes, but ORCA is also where REBOL may be in ten years: open source :-) |
It's also where REBOL will hopefully be next year: an embeddable library | |
Pekr 14-Oct-2008 [7343] | r3 already is an embeddable library :-) it is just host source codes were not released .... yet ... :-) |
Kaj 14-Oct-2008 [7344] | As you just said above, R3 is not out. ORCA is |
Henrik 14-Oct-2008 [7345x2] | REBOL [ Title: "REBOL 3 GUI - Development Module Loader" ] files: [ %x-funcs.r %g-defs.r %g-debug.r %g-funcs.r %g-styles.r %g-faces.r %g-panels.r %g-events.r %g-text.r %g-effects.r %s-fonts.r %s-panel.r %s-button.r %s-bars.r %s-text.r %s-image.r %s-lists.r ] code: collect [foreach file files [keep load file]] len-kb?: func [s] [round/to divide length? s 1024 .1] src: mold/flat code gui-cmp: compress src gui-size: len-kb? gui-cmp print ["GUI Size:" gui-size "KB /" len-kb? src "KB"] do code |
That's the GUI loader. | |
Pekr 14-Oct-2008 [7347] | s-bars, s-list - do those files contain multiple styles? |
Henrik 14-Oct-2008 [7348] | yes |
amacleod 14-Oct-2008 [7349] | One Screen shot? Henrik? |
Graham 14-Oct-2008 [7350x2] | see above. |
Now do we have yet a system with core R3 that is capable of running LNS? | |
amacleod 14-Oct-2008 [7352x2] | I saw that one...I was loking for some ore... |
looking for some more | |
Pekr 15-Oct-2008 [7354] | New doc posted to DocBase, including some screenshots: http://www.rebol.net/wiki/GUI_howto_styles |
Graham 15-Oct-2008 [7355x2] | why not style instead of stylize ? |
the iz is redundant | |
PeterWood 15-Oct-2008 [7357] | Isn't stylize meant to infer "make style" whereas style is a "A style is essentially an informal class used to define the attributes and behavior of its face instances" t? |
Graham 15-Oct-2008 [7358] | style can be a verb |
PeterWood 15-Oct-2008 [7359x2] | but wouldn't using style for both the style objects and making a new style be a little ambiguous? |
Personally, If I ever got around to using view, I'd be very happy if the syntax was make style! [ ....] or, looking at Carl's red box example.. red-box: make box [ about: "A red box" facets: [ area-color: maroon ] ] | |
Graham 15-Oct-2008 [7361] | The screenshots look good |
Pekr 15-Oct-2008 [7362x2] | as for screenshots - those seem a bit "fuzzy" (?) to me. I wonder if it is due to jpeg compression, or is it caused by antialiasing? |
Peter - make style! would mean, that style is a datatype. As for me, I have no problem with stylize vs style ..... | |
older newer | first last |