Greetings,
New update, 1.09 :
* i18n enhancement - GTKTextArea.areaText and gadgets GetText now return ISO8859 strings.
Web modules are also updated...
This fixes a problem with Blitz strings not supporting UTF8 strings properly ;-)
Gadgets now return Strings in ISO8859 format instead of UTF8, which caused highlighting issues in the IDE.
What this means for non-latin locales, I've no idea really. I suppose I'll need to store the "original" string locale (if I can find out what it was) and use that when reverted back to a Max String... ho hum.
@Seb
This works on mine ok. The panel appears as a lime green. Do you get *no* colour change or the wrong colour?
Aye... On occasions a gadget would reposition itself to a negative coord (so I thought it better to disallow that to happen). It's an issue related I think to WINDOW_CLIENTCOORDS, which I'm still struggling with. Try sebtest_7 to see what I mean. - mouse over the panel and watch in amazement as the window resizes itself... *sigh*
Window sizing is a bit niggly...
But that probably doesn't work on Mac either tho? (sure it didn't when I tried it). What I did for GED was to overlay "invisible" panels on top of each gadget, which would catch clicks and drags. Of course, I haven't added support for making anything transparent on GTK yet - actually, it doesn't support it, but there *is* a concept of an actual "invisible" widget, which might be useful. I should have a read up about it...
Okay... let's start with GTKHTML... It does actually work. However, it only displays itself when it is *finished* loading everything on the page. And at the moment, your example URL blitzmax.com is a bad choice as one of the news items has links to images which aren't available. It will show up eventually...
...and mozilla... try uncommenting line 29 :
'Import "-lxpcom_core"
...rebuild and re-run. Being built on Gecko, this shows the page *as* it loads, and also has a "wait" cursor over the gadget til it's done. Mozilla is a *much* better gadget for overall html useability.
I'm providing both so there's some choice. As I've said already, getting mozilla working takes a bit of effort to get things setup right.
btw... the Community Edition IDE appears to work *really* well with the latest version. (although without the new lexer it renders the text slightly slower...)
New update, 1.09 :
* i18n enhancement - GTKTextArea.areaText and gadgets GetText now return ISO8859 strings.
Web modules are also updated...
This fixes a problem with Blitz strings not supporting UTF8 strings properly ;-)
Gadgets now return Strings in ISO8859 format instead of UTF8, which caused highlighting issues in the IDE.
What this means for non-latin locales, I've no idea really. I suppose I'll need to store the "original" string locale (if I can find out what it was) and use that when reverted back to a Max String... ho hum.
@Seb
it seems SetPanelColor() appears to have been broken
This works on mine ok. The panel appears as a lime green. Do you get *no* colour change or the wrong colour?
Do you mean gadgets can't be drawn at negative co-ordinates
Aye... On occasions a gadget would reposition itself to a negative coord (so I thought it better to disallow that to happen). It's an issue related I think to WINDOW_CLIENTCOORDS, which I'm still struggling with. Try sebtest_7 to see what I mean. - mouse over the panel and watch in amazement as the window resizes itself... *sigh*
Window sizing is a bit niggly...
In Windows, I can acheive this by disabling the gadget
But that probably doesn't work on Mac either tho? (sure it didn't when I tried it). What I did for GED was to overlay "invisible" panels on top of each gadget, which would catch clicks and drags. Of course, I haven't added support for making anything transparent on GTK yet - actually, it doesn't support it, but there *is* a concept of an actual "invisible" widget, which might be useful. I should have a read up about it...
I can't get a HTML gadget to show with either module (GTKHTML or Mozilla)
Okay... let's start with GTKHTML... It does actually work. However, it only displays itself when it is *finished* loading everything on the page. And at the moment, your example URL blitzmax.com is a bad choice as one of the news items has links to images which aren't available. It will show up eventually...
...and mozilla... try uncommenting line 29 :
'Import "-lxpcom_core"
...rebuild and re-run. Being built on Gecko, this shows the page *as* it loads, and also has a "wait" cursor over the gadget til it's done. Mozilla is a *much* better gadget for overall html useability.
I'm providing both so there's some choice. As I've said already, getting mozilla working takes a bit of effort to get things setup right.
btw... the Community Edition IDE appears to work *really* well with the latest version. (although without the new lexer it renders the text slightly slower...)