World: r3wp
[!REBOL3 GUI]
older newer | first last |
Rebolek 9-Nov-2010 [4194] | I see no use forguie/widgets, style dependencies can be covered in documentation. |
Pekr 9-Nov-2010 [4195] | Henrik - tags - very nice! |
Henrik 9-Nov-2010 [4196] | 1) It's possible to make the style tree, when the styles are being initialized. In fact I already have this as a separate script, but it has not been used lately. |
Pekr 9-Nov-2010 [4197] | btw - when I derive style by 'stylize, is there the 'parent field being set, so that the hierarchy can be created? |
Henrik 9-Nov-2010 [4198x3] | Tags are really trivial. They are just a list of words and we have a few TAG functions to set/unset/inspect them during runtime. It's entirely up to styles or the higher level code to use tags correctly and this is for example done with face navigation. |
'stylize hierarchy, not at this time, I think. it would be easy to implement if we need it. | |
The hard part about tags is to name the right ones, so they won't overlap too much. | |
ssolie 15-Nov-2010 [4201] | Was just trying out the r3-gui.r3 script and found out the fonts are hard-coded for Windows. I changed them to some Amiga fonts and the hello world GUI popped up. We'll need to find some way of handling fonts on non-Windows platforms via freetype to keep that script generic... |
Henrik 15-Nov-2010 [4202] | Thanks for info. Passed on to Carl. |
Pekr 15-Nov-2010 [4203] | ssolie - IIRC Cyphre reported here, that he has FreeType support done for A110, he just has to release it. That should help platforms like OS-X, Linux, Amiga IIRC . |
ssolie 15-Nov-2010 [4204] | Pekr: I'm using Cyphre's patch along with my own changes which enables the FreeType support on Amiga to function. |
Rebolek 15-Nov-2010 [4205] | I've got one question. There's face/faces for all faces that are part of a face. There also needs to be some container for faces that are part of face but are not visible (hidden) right now. Currently it's called face/cache, but I think the name should be different. Any ideas? |
GrahamC 15-Nov-2010 [4206] | face/hidden ? |
Rebolek 15-Nov-2010 [4207] | Thanks! Native speaker is always appreciated when chosing right names for words :) |
Henrik 16-Nov-2010 [4208] | I'm considering a rewrite of the validation prototype as there are some parts missing with regards to initial state. Have there been any considerations on how to use the DIRTY tag? I have some ideas on when DIRTY is set: - The user creates an edit in a field, changes setting in a radio group, etc. It would not be enough to focus the face, but a specific action would have to be taken. - When the user deliberately moves the edit back to the original state, the field is still dirty, so we can observe which fields were manipulated. - Using a function DIRTY?, we can observe whether a field or a panel is dirty. - It's not possible or logical to set the DIRTY tag programmatically (other by forcing it in with TAG-FACE face 'dirty) It would be cleared when: - Using a function CLEAN, we can unset the DIRTY tag in a face or panel of faces. This would be the only way to unset the tag. |
Robert 16-Nov-2010 [4209] | - When the user deliberately moves the edit back to the original state, the field is still dirty, so we can observe which fields were manipulated. - I don't like this one. Than we should have a manipulated flag. As dirty means: changed. |
Henrik 16-Nov-2010 [4210] | ok, we need specific scenarios for the use of both DIRTY and MANIPULATED. |
Pekr 16-Nov-2010 [4211] | What about finally releasint useable GUI with more than useable button style? :-) |
Henrik 16-Nov-2010 [4212x2] | For DIRTY being changed, that has relevance for when validation is not used, for enabling submit buttons. But this also means the original value should be stored, which may be covered by the undo system. I'm not sure that's useful, if the undo system can show the number of changes in a field. For MANIPULATED doing what is described above, it overlaps most of what DIRTY would do and it would also overlap most of what validation already does, namely detect and approve/deny changes in a field. I'm not sure it's useful either. |
It all depends on what DIRTY would be used for. | |
jocko 16-Nov-2010 [4214] | I have a very basic question, that I have already asked to Carl : how to get a working gui.r version ? when doing load-gui, I get the following error message : ** Script error: size-text has no value. It seems to me that this point should be definitely fixed, as it prevents anybody to do view tests (for instance the ones given in the reference doc http://www.rebol.com/r3/docs/gui/guide.html) I think that this should be done quickly and independently of any improvement and evolution of the gui styles and functions. |
GrahamC 17-Nov-2010 [4215x4] | you're loading the wrong gui |
load-gui references Carl's old GUI but you need to manually load Henrik's Gui | |
script | |
which is a result of the work of the RM team | |
jocko 17-Nov-2010 [4219] | Is it the r3-gui file ? Then the gui doc page should be corrected accordingly ... |
GrahamC 17-Nov-2010 [4220] | yeah .. it should be if anyone has the time and rights |
Henrik 17-Nov-2010 [4221] | Now provides a visible frame for keyboard navigation: http://94.145.78.91/files/r3/gui/248.png |
Pekr 17-Nov-2010 [4222] | nice! |
Kaj 17-Nov-2010 [4223] | Henrik, what happened to your skin of a few years ago? That looked much better |
Henrik 17-Nov-2010 [4224] | Kaj, it was very hardcoded, but it will probably be reimplemented. |
Kaj 17-Nov-2010 [4225] | That would be good |
Henrik 17-Nov-2010 [4226] | This won't start until sometime later though, so it's going to look like this for a while. I'd hate to do too many rewrites, if I were to start now. |
Claude 18-Nov-2010 [4227] | henrik, could you tell me if your r3-gui.r3 will works on linux ? |
Henrik 18-Nov-2010 [4228x2] | not until the View part will be enabled in the hostkit |
you can possibly test under Wine. Earlier R3 alphas worked there. | |
Claude 18-Nov-2010 [4230x2] | i just try it now with wine ;-) and it s works |
do you think carl will choose your gui for R3 standart ? | |
Henrik 18-Nov-2010 [4232] | that's not certain yet as he has not made any evaluation yet, but it will be a publicly distributed GUI, so you can at least get to use it. |
Claude 18-Nov-2010 [4233] | could you give me an url to try all your style ? like tour.r on rebgui ? |
Henrik 18-Nov-2010 [4234] | http://94.145.78.91/files/r3/gui/style-browser.r3 I think that works. |
Claude 18-Nov-2010 [4235] | thanks you |
Henrik 18-Nov-2010 [4236] | I should update it soon. There have been quite a few changes since that version... |
Claude 18-Nov-2010 [4237] | i just download your last version of r3 and r3lib.dll. i will wait for it ;-) |
Henrik 18-Nov-2010 [4238] | I cannot build right now, so you might as well play with that one. |
Claude 18-Nov-2010 [4239] | oki thanks |
ssolie 18-Nov-2010 [4240] | Henrik: I have buttons working on the Amiga now using your r3-gui.r3 script. I'll blog about it soon-ish. |
Pekr 18-Nov-2010 [4241] | Guys - what is the reason of kind of slow R3 GUI progress? At least from external observer point of view? That is not complaint nor is it any kind of attack. It is just that I thought that you need R3 GUI for a commercial project? And from external pov we could see: - new resizing system - some new higher-level systems (validation, tabbing/focusing) - some news about low level tweaks - Cyphre posting REP about new possible rich-text system - some endless work on styles However - from external point of view, and unless it all plugs together, Carl's original VID felt more concrete, more complete. Is there any estimate when stuff will plug together to form usable system? Simply put - maybe if system would be docced, ppl could start working on additional styles? Or is it still too early, and non-yet-finished subystems could break any such code? |
Henrik 18-Nov-2010 [4242x2] | Pekr, A110 doesn't work with the build system, so no new releases recently. Pace is the same as before. |
ssolie, cool :-) | |
older newer | first last |