World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Robert 12-May-2007 [6462x2] | It's two things: position and text independend (which solve I18N as well) storage. |
Fonts: I want to get some text / labels in "Arial Narrow" on the screen. How do I do this? I tried but don't know what I need to do. | |
Pekr 12-May-2007 [6464x4] | Robert - what is your level of multilang apps? Only data, or also UI? |
I am not e.g. sure I would use native RebGUI localisation, because it goes from messages, UI elements, to of course data. And as for data, you have to establish the concept yourself. | |
e.g. you have a list-box for fruits: ["apples" "bananas" "cherries"] .... that can't be sufficient in any way - it could be, if those "texts" could serve you as index to some localisation table: langs: [cz "Cesky" us "English" de "German"] fruits: ["apples" "bananas" "cherries"] trans: [ ;table-id (name), lang, key, translation fruits [ cz [ "apples" "jablka" "bananas" "banany" "cherries" "tresne" ] ] ] select trans/fruits/cz "apples" just an example (not practical one :-) | |
but above would mean, that every translation for all tables would be in one 'trans table - not sure it is practical. Another model - simply have langs table, as in above example: langs: [cz "Cesky" us "English" de "German"] fruits: [ 1 uk "apples" 1 cz "apples" 2 uk "bananas" 2 cz "banany" 3 uk "cherries" 3 cz "tresne" ] select * from fruits where language = 'cz' That is more practical - simply use one more key - that of your default or selected (preferred) language ... In some sense, you don't need IDs, but I prefer to have one- it depends what kind of databases you use. But - it is surely nearly INSANE to use text, which can eventually change, as a key value (e.g. because of typo and later need to change that text) | |
Ashley 12-May-2007 [6468] | want to get some text / labels in Arial Narrow"" text "Some Narrow Text" font [name: "Arial Narrow"] assuming you're on WIndows and that font is available of course. |
Robert 13-May-2007 [6469x2] | I18N: We have written an own I18N system, that can handle all UI aspects dynamically. Table columns, drop-list data etc. Works very well. And it can be used not only inside GUI stuff but through the whole code. |
For example you just specify the "master-language" drop-list data, provide a translation and it will change on the fly. | |
Pekr 13-May-2007 [6471x2] | what is that cryptic l18N word? |
If I need to translate UI, drop-list elemetns plus whole data, I refuse to use external system for it - it belongs into tables with other data, at least if it concerns data itself. UI elements can be in catalogues, no problem here. But - whatever works for particular usage case is ok ... | |
Robert 13-May-2007 [6473] | I18N = internationalization |
btiffin 15-May-2007 [6474] | There are screenshots of a RebGUI and RebDB app posted at http://peoplecards.ca/rebol/vidpics |
Louis 15-May-2007 [6475] | Nice work, Brian. |
btiffin 15-May-2007 [6476] | Thanks. This is posted more to support Ashley, and show off RebGUI. I'm a big fan of RebGUI. :) |
Maxim 15-May-2007 [6477x3] | that's just cause you never tried glayout ;-) |
<joke> | |
brian: looks like a large app! | |
btiffin 15-May-2007 [6480x2] | About 600k of sources, 5 meg total with satelite maps. |
I've started playing with Glayout. In prep for usage docs... :) | |
Maxim 15-May-2007 [6482x2] | 600k sources! |
with SDK code? or rebgui and other public includes? | |
btiffin 15-May-2007 [6484x2] | public includes...A few REBOL games etc... |
All with DO. Didn't have the SDK when I wrote it. | |
Maxim 15-May-2007 [6486] | games? |
btiffin 15-May-2007 [6487x2] | Links to rebsites...planetary defender, etc, that ended up in the cache... |
I didn't show the spreadsheet screen shot. I noticed it had some real $ amounts shown. | |
Maxim 15-May-2007 [6489] | not sure I grasp what you mean by the cache... you mean the rebol sandbox is 600k ? |
btiffin 15-May-2007 [6490] | No from DO-THRU |
Maxim 15-May-2007 [6491x2] | yes exactly. |
thru, stores stuff in the "sandbox" which is the cache... same thing... just wanted to be sure we meant the same thing. | |
btiffin 15-May-2007 [6493] | Ok. Learned a new term today. :) Thanks. |
Gregg 16-May-2007 [6494] | Very cool Brian. |
btiffin 16-May-2007 [6495x2] | I posted that for Ashley's sake. RebGUI RebDB is a nice little app building combo. |
I kinda wish we could Print with REBOL. Posting through the browser is kinda...I don't know. Not quite right. :) | |
Ashley 16-May-2007 [6497] | Thanks for the link, I've updated the RebGUI home page with a new "SItes using RebGUI" section (and removed the long-dead link to this AltME group as we don't seem to be broadcasting anymore ;( ) |
DaveC 16-May-2007 [6498] | Printing should be a big priority at some point. Rebol will not be taken seriously in commercial circles until we can hook into printing systems directly. I know it maybe a boring area for developers to work on. It's it is a hard sell when one has a great looking RebGUI interface without a print option. HTML has is limits, PDF generation is more of an option. |
Graham 16-May-2007 [6499x2] | I use postscript |
it works | |
DaveC 16-May-2007 [6501] | Yes, of course. Not everyone has a PS printer or a rendering sub-system though. (e.g. Ghostscript). I've also output to LaTeX on the backend. If the system is client server then the backend can handle printing. |
btiffin 16-May-2007 [6502] | Ashley; Thanks for that. I kinda wish I hadn't cleared the database before taking the screenshots. I just noticed the screens look fairly empty. :) |
Graham 17-May-2007 [6503x2] | We do need a directory selector that can access directories across the network. At present i have to resort to using request-file,and selecting a file in the target directory. |
wonder if the background colour to an info field shouldn't be more obvious to indicate that it is an info field | |
DaveC 17-May-2007 [6505] | I'm currently building an interface. I have a tip which works ok until I open a dialog, say request-ui or question. There are no actions hooked up to the dialogs yet. Once the dialogs are dismissed, the tip does not show again. Every other widget is responding to events BTW. The tip is attached to symbol text. Lots of head scratching going on here. It feels like some event has been killed. Any ideas anyone? Thanks. |
Ashley 17-May-2007 [6506] | directory selector that can access directories across the network We're limited to what "read %/" can pick up. Real solution is to have a native request-dir func (and request-color, request-font). background colour to an info field ... how about making it the same color as tooltips? field ctx-rebgui/colors/tooltip-fill Any ideas ... looks like a RebGUI bug as I can reproduce it with: display "" [ box tip "Some text" button [alert "Text"] ] Hmm, also noticed that tooltip and tooltip-time are dynamically escaping to the global context. Will look at this later today. |
Ashley 18-May-2007 [6507] | Build#94 uploaded to SVN. Contains minor tooltip, drop-list, request-menu, on-click and on-alt-click fixes. |
DaveC 18-May-2007 [6508] | Ashley, thanks for the quick fix. Previously, I've used the files from the demo in the Rebol directory via Viewtop. As an end user, how can I easily get hold of build#94, not having used SVN before BTW. Cheers. |
Graham 18-May-2007 [6509] | 23-Apr-2007 11:50:36 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 23-Apr-2007 13:02:38 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 24-Apr-2007 10:08:44 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 24-Apr-2007 22:30:03 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 17-May-2007 23:11:58 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 18-May-2007 17:53:46 Caret trap password origin: 2x2 margin: 2x2 indent: 0x0 tabs: 0 wrap?: false scroll: 0x0 |
Ashley 18-May-2007 [6510] | Dave, easiest way to grab the latest SVN build (without using any client s/w) is via a simple REBOL script like this: write %rebgui.r read http://trac.geekisp.com/rebgui/browser/rebgui.r?format=raw %rebgui.r (the complete merged distribution sans %tour.r) is now regenerated and uploaded every build. |
Graham 18-May-2007 [6511] | that was my rebgui.log |
older newer | first last |