World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Ammon 26-Mar-2009 [12321] | But why does ANY work without /all while SOME doesn't??? |
Steeve 26-Mar-2009 [12322x2] | because any is an optionnal rule not some |
basics | |
Ammon 26-Mar-2009 [12324] | That doesn't make sense to me still. If the parser is skipping whitespace unless you use /all then any should fail the same way that some does. |
Steeve 26-Mar-2009 [12325] | No, Optionnal means that if ANY fails , the parsing process continue with the next rules |
Ammon 26-Mar-2009 [12326] | Ah, but ANY didn't fail. The paren was evaluated which means that ANY succeeded. |
Steeve 26-Mar-2009 [12327] | show me your code |
Ammon 26-Mar-2009 [12328x2] | But whatever. I have what I need and as long as parse is behaving as Carl intended then, whatever... |
I posted the code a few messages back. | |
Steeve 26-Mar-2009 [12330x3] | Then, it's not related, the parent is not associated with the ANY rule. So that, the ANY rule can failed and the parent will be executed each time |
cardinality of ANY is 0,N cardinality of SOME is 1,N | |
I changed my mind, i uses the default caret and highlight behavior, much simple. | |
shadwolf 26-Mar-2009 [12333] | Ammon some doesn't work for SOME reason ^^ .... probably ^^ |
Graham 27-Mar-2009 [12334] | Most widgets are rectangular in shape ... any reason for this? Are other shapes feasible? |
Pekr 27-Mar-2009 [12335] | So far, there is not much widgets, which could have different shape, no? |
Graham 27-Mar-2009 [12336] | Lack of imagination? |
ICarii 27-Mar-2009 [12337] | edge / hgit testing is the main reason |
Graham 27-Mar-2009 [12338] | easier computationally? |
ICarii 27-Mar-2009 [12339x2] | much |
you have to use alternative methods like colour testing for non-regular shapes | |
Graham 27-Mar-2009 [12341x2] | well, what can you do with quad core cpus ?? |
I've watched those multitouch demos ... seem to use irregular shapes | |
ICarii 27-Mar-2009 [12343x2] | ill dig out my radial menu thingy and update it for r3 and test it for speed.. have a old version at http://rebol.mustard.co.nz/readial.tar.gz |
http://rebol.mustard.co.nz/radial.tar.gz.. oops | |
Graham 27-Mar-2009 [12345] | Ok, that is cute |
ICarii 27-Mar-2009 [12346] | meh - ive done it in assembly before - its rather sad in rebol :( |
Graham 27-Mar-2009 [12347] | though I suspect it's not working ... I only see shapes and no text |
ICarii 27-Mar-2009 [12348] | its 2003 - back before the text in agg changed |
Graham 27-Mar-2009 [12349x2] | ahh... |
I'm surprised you were able to find it so quickly! | |
ICarii 27-Mar-2009 [12351] | i downloaded my website today to look for some old sudoku code :P |
Graham 27-Mar-2009 [12352] | Silverlight is starting to use radial menus too |
Chris 27-Mar-2009 [12353] | My Daylight Map used color to detect irregularly shaped hit spots... |
ICarii 27-Mar-2009 [12354] | yeah colour testing is fast and maps nicely to functions |
Graham 27-Mar-2009 [12355] | Are you still working on your own graphics system for R3? |
Chris 27-Mar-2009 [12356] | http://ross-gill.com/r/daylight/map.jpg http://ross-gill.com/r/daylight/map-zones.png |
ICarii 27-Mar-2009 [12357] | im waiting for Carl/Cypher to fix some of the view holes.. and also for modules and timers and threads :P |
Graham 27-Mar-2009 [12358] | :( |
ICarii 27-Mar-2009 [12359] | view is currently swiss cheese and the underlying Core has some large gaps that really need addressing before GUI sees the light of day.. IMHO.. |
Graham 27-Mar-2009 [12360] | the presence of holes suggests some underlying substance |
ICarii 27-Mar-2009 [12361x2] | the thing that gets frustrating is when something works fine in earlier builds then mysteriously dies in later builds :P |
thats a great colour example CHris :) | |
Chris 27-Mar-2009 [12363] | Pretty, is it not? : ) |
ICarii 27-Mar-2009 [12364] | its one example where the benefits of colour testing over poly testing are clear to see. |
Chris 27-Mar-2009 [12365] | Doesn't scale well though... |
ICarii 27-Mar-2009 [12366] | of course.. zooming and SVG night be another method :) |
Chris 27-Mar-2009 [12367] | With AA turned off... |
ICarii 27-Mar-2009 [12368] | with AA on you can do approximation mapping with tolerances |
Chris 27-Mar-2009 [12369] | Sounds like it could get complex - it certainly is a useful pattern for many situations, especially when you can use graphics programs to develop the maps. |
Pekr 27-Mar-2009 [12370] | Hmm, isn't jus alpha transparency enough? Why to do any shape detection? We just need the ability to define level, which will let events to go to underlying faces, just like Amiga DE did it. And if you look at Cyphre's irregular window shape, you will see, that it simply is not rectangular, or is it? do http://www.rebol.cz/~cyphre/trans-gui.r |
older newer | first last |