HyperSim and more fun with xTalks on the Web.
Posted: Fri Jan 05, 2024 4:57 pm
@dandandandan
So holidays are over and I'm back to working in sandboxed web world.
I've been playing around with HyperSim again, picking apart a little more.
I made a quick OXT stack that uses the OXT rawClipBoard access to copy/paste buttons and field 'objects' back and forth between the OXT Engine and HC Sim.
Since HC Sim 'objects' are HTML Elements you can style them (to some degree, I'll get to that later) with CSS Styles. With CSS we could gain super fine control over appearance of UI elements, you can even have buttons on angle, and use different paint modes like 'Exclusion'
Styled Field text works well from OXT's 'the HTMLText of fld..' syntax and the HTML inserted into a old in HC Sim is retained when you save the stack, BUTTONS, however do NOT retain any additional styling I've added to them, when HCSim reads them back in, they're once again plain-old buttons (with only add-color background color retained). When I started down this path I was looking for a way to reverse-out to white the textColor of a button's label, but that is a non-extant property in HCSim, and it seems that accurate the emulation of HC's 'AddColor' external means that buttons are colorized via overlaying color shape with 'Multiply' or darken-only paint mode (so not-so-good for 'white' graphics)
So holidays are over and I'm back to working in sandboxed web world.
I've been playing around with HyperSim again, picking apart a little more.
I made a quick OXT stack that uses the OXT rawClipBoard access to copy/paste buttons and field 'objects' back and forth between the OXT Engine and HC Sim.
Since HC Sim 'objects' are HTML Elements you can style them (to some degree, I'll get to that later) with CSS Styles. With CSS we could gain super fine control over appearance of UI elements, you can even have buttons on angle, and use different paint modes like 'Exclusion'
Styled Field text works well from OXT's 'the HTMLText of fld..' syntax and the HTML inserted into a old in HC Sim is retained when you save the stack, BUTTONS, however do NOT retain any additional styling I've added to them, when HCSim reads them back in, they're once again plain-old buttons (with only add-color background color retained). When I started down this path I was looking for a way to reverse-out to white the textColor of a button's label, but that is a non-extant property in HCSim, and it seems that accurate the emulation of HC's 'AddColor' external means that buttons are colorized via overlaying color shape with 'Multiply' or darken-only paint mode (so not-so-good for 'white' graphics)