Drop shadows for Studio library
Lawrence Smith
lawrence at lawrencesmith.com
Sun Mar 19 09:40:00 EDT 2017
I like this thinking but I’d like to see it taken to the next level. I do this sort of thing in Swift all the time using extensions or subclassing. I can create an extension to a class (like a text field) and add functions and computed properties to the extension and set attributes as I need them at runtime (a Decorator pattern). I’d love to see this in Studio. I’d also love to see the equivalent of Java interfaces or Swift protocols/delegates but that’s another discussion…
Lawrence
> On Mar 18, 2017, at 12:43 AM, Scotte Meredith <spomacguy at gmail.com> wrote:
>
> I've been experimenting with different kinds of interfaces/widgets that can be used in Omnis Studio to spiff things up. On web pages, it is common to use dropshadows to provide some depth to the interface. So why not Studio?
>
> Notes on how to implement it are in the library and is just a sample to spur discussion.
>
> This concept could be extended to create kind of a CSS for Omnis windows. The current theme could be read from a preferences row in the database and applied to each type of object in the window. In this way, you could allow users to set the colors and style for any type of object from a preferences pane.
>
> Feel free to use this in anyway you wish.
>
> https://github.com/SpoMacGuy/drop-shadow-for-omnis
>
>
> Scotte Meredith
> SpoMacGuy at gmail.com
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list