World: r3wp
[!REBOL3 GUI]
older newer | first last |
shadwolf 14-Feb-2010 [656] | hidden face + multi tasking thread in video application can be really great to smooth things |
Henrik 14-Feb-2010 [657] | yes, will look at HIDDEN. |
Robert 14-Feb-2010 [658x2] | Does anyone know where in VID34 the entry to the face-tree is? I saw that win-face is set in VIEW but can't find any reference to it. |
And I don't find my set-words I used in the VID spec block. | |
Henrik 14-Feb-2010 [660] | I embarrassingly forgot where it is. :-( |
ChristianE 14-Feb-2010 [661x2] | set-words are found in window/data/faces/1/names, where window is your window gob. Not meant to be like that, should be accessible by an accessor function. |
Oh, I've just found that particular accessor function already in %panel-access.r, called GET-PANEL-VAR: window: view/no-wait [test: button "Test"] button: get-panel-var window 'test | |
Henrik 14-Feb-2010 [663] | in the R3 console, when typing: ? do- Does 'do-style turn up in the list? |
ChristianE 14-Feb-2010 [664] | No. And that's after LOAD-GUI. |
Robert 14-Feb-2010 [665x2] | Why is DATA not shown if I just enter: window? |
It's hidden? | |
Henrik 14-Feb-2010 [667x2] | yes, some GOB attributes are not shown. |
which is why I was wondering about reflection functions on GOBs not working before. | |
BrianH 14-Feb-2010 [669] | Henrik, if you are concerned with making the code modular, it might be a good idea to stick with the .r file extension for now. |
Henrik 14-Feb-2010 [670] | it's quick to change, but Robert's dev environment is set up for .r3 for now. |
Graham 14-Feb-2010 [671x2] | I use hidden panels and buttons all the time .. to reduce GUI clutter. When the user does something that satisfies some condition, I then show these hidden buttons, panels. |
Other systems use ghosting to achieve the same benefit | |
Henrik 14-Feb-2010 [673] | there would be a difference between disabled and hidden items. |
Graham 14-Feb-2010 [674] | hidden is invisible disabled |
Henrik 14-Feb-2010 [675] | yes, it could be that |
shadwolf 14-Feb-2010 [676] | i read an article stating that the 2D acceleration on windows seven was really poor |
Henrik 14-Feb-2010 [677] | I reworked the traversal code. It should correspond now to the diagrams on the implementation page on the wiki. It's also much easier to read. |
Graham 14-Feb-2010 [678] | Do you have tooltips in this gui? |
Steeve 14-Feb-2010 [679x3] | I think an hidden item should not be disabled by default (allowing "ghost" validation). I you want both, then add the both flags HIDDEN + DISABLED |
i mean it should accept some events event if it's hidden | |
*even if | |
Graham 14-Feb-2010 [682] | what sort of events? resize ? |
Steeve 14-Feb-2010 [683x3] | VALIDATION |
required for tab-panels | |
When you switch of tab and hide some sub-panes, then when you validate the whole screen, you need to validate event the hidden ones | |
Graham 14-Feb-2010 [686] | if they're hidden you can't correct them if they fail validation |
Steeve 14-Feb-2010 [687x3] | why not ? |
just show them if validation fail | |
changing of state is a dynamic behaviour | |
Gregg 14-Feb-2010 [690x2] | Hidden faces should still be accessible programmatically, but can't get focus or key events, including access keys. |
To clarify, depending on the event loop model, you may be able to post messages to them, but the standard UI event loop won't. | |
Steeve 14-Feb-2010 [692] | exact |
Henrik 14-Feb-2010 [693] | graham, tooltips will come. I'll add them to the spec. |
BrianH 14-Feb-2010 [694] | Don't make the UI depend on tooltips too much - they aren't supported on touch screen UIs, and those are becoming more popular. |
Robert 14-Feb-2010 [695] | Well, that's an app decision not a framwork one IMO. Designing for touch screens looks different in a lot of aspects anyway. |
Steeve 14-Feb-2010 [696] | to my mind a tooltip should be an HIDDEN widget you add or not in a panel. This widget would "sense" the move events in its parent container and decide by himself if he must pop up or not. |
BrianH 14-Feb-2010 [697] | Framework design can shape app design. For a new GUI framework, it's best to support a variety of interaction models. There are a lot of apps written on legacy frameworks that are having trouble adapting to the current interaction models. For instance, we better assume that there can be more than one simultaneous input - multitouch is here already. |
Graham 14-Feb-2010 [698x2] | Does r3/view support multitouch? |
The idea that Rebol has to be the same on all platforms is a little crippling as it means you only have the lowest common denominator | |
shadwolf 14-Feb-2010 [700x3] | i'm agreed that's a compromise to find betwin interesting unique feature and common features allowing your script to be ported |
and all this in less than a mega where much of the actual other advanced script language use mode than 20 Mo | |
rebol for itab that could be really fun ... | |
Graham 14-Feb-2010 [703x2] | for scripting purposes, having a script that works on all supported platforms is a reasonable aim. I just don't see that it works for GUI based applications |
If a particular linux distro doesn't support multitouch, what relevance is it to me working with Windows? | |
shadwolf 14-Feb-2010 [705] | if a distribution of linux doesn't support multi touch you still have the oportunity to port the needed modules to make it feet your distro that's less problematic than windows for example |
older newer | first last |