World: r3wp
[!REBOL3 GUI]
older newer | first last |
Maxim 22-Jun-2010 [1637] | ah ok, that makes sense, but then you are limited in that each gob has to fit within a rectangular area, and do 2 checks. first on the area then on the mask. |
ChristianE 22-Jun-2010 [1638] | Yes, point taken, but I don't expect those double check to be a big performance burden. First, it's still fast, and second, it probably is reserved for special needs only. Not every button with e.g. rounded borders needs to be detectable on a per pixel basis, often a rectangular region would suffix in most cases, I guess. |
Maxim 22-Jun-2010 [1639] | No it won`t be a performance problem for sure. |
Ladislav 22-Jun-2010 [1640] | resizing: no, Carl does not like RebGUI resizing model, nor some look-alikes. Neither do I. That is why Cyphre and I had to try two distinct prototypes not being fully content with any of them (the second one being able to deliver some nice pictures already). Tomorrow, it is time to try yet another resizing model, this time adhering to Carl's original idea more, than his own implementation, so the system is going to be quite advanced (it took a lot of time to fine-tune some algorithm details, we almost gave up). |
Gregg 24-Jun-2010 [1641] | Wow, if you and Cyphre almost gave up... |
Graham 24-Jun-2010 [1642] | Will there be a way to swap languages in the GUI? |
Henrik 24-Jun-2010 [1643] | if you can reference strings from outside the GUI, that shouldn't be a problem to do on your own. I don't find it generally to be a good idea to provide language support inside a GUI engine. |
Robert 24-Jun-2010 [1644] | Gregg, solution was found and we should soon have a prototype. |
NickA 24-Jun-2010 [1645] | @Gregg: when I imagine Ladislav and Cyphre working like that on code, I picture a slow motion movie scene with epic music thumping in the background, lots of dramatic cuts between close up face shots, etc... |
Ladislav 24-Jun-2010 [1646] | Resizing prototype working well, both Cyphre and I like it. |
NickA 24-Jun-2010 [1647] | ... and the glorious slow motion victory scene with fists pumping in the air :) |
Ladislav 24-Jun-2010 [1648] | :-) |
NickA 24-Jun-2010 [1649] | ... and the crowd cheering :) |
Rebolek 24-Jun-2010 [1650] | Yes, it's nice. I would print the demos in 1mx1m and present them in gallery. Piet Mondrian would be proud. |
Robert 24-Jun-2010 [1651] | Works well and is pixel precise. |
Henrik 24-Jun-2010 [1652] | screenshots coming soon |
Pekr 24-Jun-2010 [1653] | Cool, because I did not like RebGUI resizing either, dunno why. Maybe because I was not getting what I exptected ... |
Claude 24-Jun-2010 [1654] | again 2 weeks :-( |
BrianH 24-Jun-2010 [1655] | Good, because I've been waiting for the R3 GUI resizing model to be finalized before I retrofit the R2 VID resizing patch with its algorithm. |
Pekr 24-Jun-2010 [1656] | Claude - what two weeks? |
Claude 24-Jun-2010 [1657x3] | carl say => With the above renewed effort on the GUI, the priority of moving the graphics library to the Host-Kit has jumped up a few notches. This is a non-trivial project; however, the next sprint is expected to arrive in two weeks |
http://www.rebol.com/roadmap.html | |
perhaps more ;-) | |
Pekr 24-Jun-2010 [1660] | Claude - I understand what you mean, but I am also glad, that things are finally moving forward :-) |
Claude 24-Jun-2010 [1661] | ;-) justo |
Henrik 24-Jun-2010 [1662] | Posted 5 shots: http://rebol.hmkdesign.dk/files/r3/gui/212.png from 212 to 216. I think they need some explanation from either Ladislav or Cyphre. |
Pekr 24-Jun-2010 [1663] | yes, nice boxes, and? :-) |
Rebolek 24-Jun-2010 [1664] | Claude, it took 2 weeks not because nobody was working on it, but because it was really tough problem. |
Henrik 24-Jun-2010 [1665] | well, they resize really nicely. |
Pekr 24-Jun-2010 [1666x2] | so it is a mixture of original Carl's VID model, plus some new alghoritms? |
btw - is there still the need to define max-size for the style? :-) | |
Rebolek 24-Jun-2010 [1668] | Pekr: nice boxes, and? ... MAGIC! That's the holy grail of resizing, you just don't see it. |
BrianH 24-Jun-2010 [1669] | Reminds me of Mondrian :) |
Gregg 24-Jun-2010 [1670] | Mondrian indeed. :-) What does the code look like to define sizing behavior, or is this still all low level and will be wrapped in VID++? |
Davide 24-Jun-2010 [1671] | Piet ? http://en.wikipedia.org/wiki/Piet_(programming_language) |
Pekr 24-Jun-2010 [1672] | I hope it does not make VID code to look bad, and that most of the behaviour is kind of "hidden" ... |
Rebolek 24-Jun-2010 [1673] | No and yes. I'm not sure, why you're so afraid this must be bad somehow. |
Ladislav 24-Jun-2010 [1674] | http://rebol.hmkdesign.dk/files/r3/gui/212.png- this is a layout using a PANEL style, elements are layed vertically, (in columns), center-aligned, having different (randomly adjusted) sizes |
Rebolek 24-Jun-2010 [1675] | NO to bad code and YES to hidden behaviour |
Gregg 24-Jun-2010 [1676] | I agree Petr. And while we still may not *need* and IDE, we should consider how one would be built that allows you to easily set anchor and sizing behaviors. Congratulations, and thanks, to the team! |
Davide 24-Jun-2010 [1677] | (Henrik why you don't use alt-print instead of manual cropping the image ?) |
Ladislav 24-Jun-2010 [1678] | aha, sorry, I swapped 212 and 213, actually, the above description belongs to 213, 212 is layed out horizontally (in rows) |
Gregg 24-Jun-2010 [1679x2] | Is 212 vertical or is 213? |
:-) | |
BrianH 24-Jun-2010 [1681] | We're afraid because we've see some of these before, and they didn't turn out well. Specification dialects that don't require much specification and are easy to understand, make and maintain are preferred. If you were able to show us some layout dialect source with the resize specification markup, it would help a lot. |
Gregg 24-Jun-2010 [1682] | It's very exciting though. I want to see it in action. |
BrianH 24-Jun-2010 [1683] | Agreed :) |
Ladislav 24-Jun-2010 [1684x2] | 214 - vertical layout, in which all elements happen to have the same transversal size |
(good to test the resizing accuracy) | |
Henrik 24-Jun-2010 [1686] | Davide, much harder actually, since I use virtual box on a mac. :-) |
older newer | first last |