World: r3wp
[!REBOL3 GUI]
older newer | first last |
Pekr 8-Jan-2010 [52x2] | Max continuead a bit: ---------------------- part of what I want to attempt for my host code work is to implement liquid and globs natively in R3. with access to AGG I could build the single most powerfull canvas engine in any language... we'd have absolutely nothing to envy to ANY other language, not even Apple's engine... as long as the AGG can render a few more things and add filters to AGG strokes. globs use AGG and allow events to be sent to individual AGG strokes. so you can "slide" a single line by clicking on it. the cool thing is that the input mask and display are separate... and you can implement any number of layers per display element that you want. |
The nice thing is, that all View code is going to be part of Host Kit, once View moves over to command! interfacing. So anyone experienced can experiment ... | |
Henrik 8-Jan-2010 [54] | I agree with Max on this. Hopefully he'll get to start on those changes soon along with Cyphre. |
Pekr 8-Jan-2010 [55] | Yes, we want REBOL being an ultimate media engine :-) Do you remember Carl stating Multimedia is his second name? One point at the time we were even teased with REBOL/Media :-) |
Alan 11-Jan-2010 [56] | lava ! |
Ashley 11-Jan-2010 [57] | Getting a window plus event handler up and running only using View (no load-gui) is pretty simple. The code, for those interested, is: system/view/event-port: open [scheme: 'event] system/view/event-port/awake: make function! [[event][print event/type]] f: make system/standard/font [size: 36] d: make gob! [text: "Title" offset: 50x50 size: 300x200 flags: [resize]] append d make gob! [text: [font f "Text"]] append system/view/screen-gob d show system/view/screen-gob wait system/view/event-port |
Cyphre 11-Jan-2010 [58] | here is another version (more abstracted): win: make gob! [ size: 300x300 draw: [ fill-pen blue box 5x5 90x90 ] ] init-view-system view/options win [ title: "test" offset: 'center handler: [ name: 'my-handler priority: 100 handler: func [event] [ if event/type = 'close [ unhandle-events self ; Remove this handler from the global list. unview event/window quit ] none ] ] ] |
Graham 15-Jan-2010 [59x5] | What sort of widgets do we actually have so far in the GUI ? |
Is there a list somewhere? | |
cool... .. type "demo" | |
Is the way the panels are redrawn visibly a special effect ? Or something else? | |
The alerts don't focus on the "OK" so that you can use the space bar to dismiss them. | |
Henrik 15-Jan-2010 [64x2] | graham, if you have an account to the r3-gui world, there is a list in there |
But... the list is likely to change. I hope some of my ideas will be added. | |
Graham 15-Jan-2010 [66x3] | Henrik ... I don't |
I'd like to start writing some test scripts .. but need a table widget/face/whatever ... | |
Also a tabbed panel ... | |
Henrik 15-Jan-2010 [69x2] | there's only a single column list available at this time. |
no tabbed panels either | |
Graham 15-Jan-2010 [71] | R3 gui is supposed to be easier to code for than VID isn't it ? |
Henrik 15-Jan-2010 [72] | yes it is, but you can of course not do so much, when there is only a small set of styles available. |
Graham 15-Jan-2010 [73x2] | I don't know anything about the intricasies of GUI programming .... |
Does the text-list use a fixed font style? | |
Henrik 15-Jan-2010 [75] | No, it uses a standard arial font. |
Graham 15-Jan-2010 [76x2] | Then I won't need a table yet if the font is fixed pitch |
and are face iterators used for text-lists ? | |
Henrik 15-Jan-2010 [78x2] | Some things are the same as in R2: You still create layouts with a dialect and you still create styles, but style writing is more important now, since face hacking like in VID isn't possible anymore. |
VID3.4 has no face iterators. Too heavy and unnecessary for GOBs. | |
Graham 15-Jan-2010 [80] | Has anyone written any demos apart from "demo" ? |
Pekr 15-Jan-2010 [81] | Graham - I think it is preliminary to use VID3.4 productively or to extend it. There are planned some design changes to happen ... |
Graham 15-Jan-2010 [82] | I have noticed some instability. If you halt from a GUI script and then try and close it ... r3alpha crashes |
Henrik 15-Jan-2010 [83] | Graham, no other demos, but I have a lot of private ones, that only work with my styles. You have seen all the screenshots. |
Graham 15-Jan-2010 [84] | How do you see the source for a style? |
Henrik 15-Jan-2010 [85x2] | The resizing and aligning issues makes VID3.4 difficult to use for creating decent aligned faces. I would probably wait until that is at least fixed. |
Graham, all available through R3 chat. | |
Graham 15-Jan-2010 [87x2] | Ok. |
so a text-list is now called a "style" ? | |
Henrik 15-Jan-2010 [89] | #2686 and "get lists.r" |
Graham 15-Jan-2010 [90] | Hmm.. no messages in GUI in R3 chat for this year |
Henrik 15-Jan-2010 [91] | they are all styles |
Graham 15-Jan-2010 [92] | How do I download all the files I see with 'ls ? |
Henrik 15-Jan-2010 [93] | get * |
Graham 15-Jan-2010 [94x2] | thnx |
So, I guess I need to wait a couple of months .... | |
Henrik 15-Jan-2010 [96] | yes, probably a good idea |
Pekr 15-Jan-2010 [97] | Yes, the result of constant "topic jumping" during the development :-) |
Graham 15-Jan-2010 [98x2] | Sigh ... |
I presume I can change the font used to a monospaced font ... | |
Henrik 15-Jan-2010 [100] | you can, if you can find where the font specification is used in the list, but you want to create a new style that uses that font. |
Graham 15-Jan-2010 [101] | noob question .... how can I define a function that accesses a field before the layout is created? |
older newer | first last |