Changes in release and a screen shot of “Open Dialog” which uses sprite sheet for on/off states.
- Image buttons. These can be specified using a single image or two images (sprite sheet) for on/off states. See menu.lua and look for “Open Dialog” for an example. See project wiki too https://github.com/arcadefx/material-ui/wiki/Buttons for more information. The sprite sheets are those from Corona SDK and uses display.newImage() with the sheet and index of image to use.

Also working on newer button animation and starting on themes. The below uses newNavBar(), newRoundedRectButton() and attachToNavBar(). “attachToNavBar()” can attach buttons and other mui widgets to the navigation bars.

Download the above example: http://www.anedix.com/fileshare/buttons-example.zip
View example video here: https://youtu.be/ZgdS6kIFnss
Changes: [0.1.49] - 2017-01-06
- Added “useTimeOut” parameter to newToast(…) method. useTimeOut is boolean. This is used to automatically timeout and close the toast notification. It defaults to “true” and if no “timeOut” in microseconds is specified it defaults to 2000 or 2 seconds.
- Added “timeOut” parameter to newToast(…) method. timeOut is in microseconds. This is used to automatically timeout and close the toast notification.
…and more changes on the way.
Online documentation:
http://www.anedix.com/docs/mui/
GitHub resource:
https://github.com/arcadefx/material-ui
@doubledashdesign I am working on your request.
[0.1.51] - 2017-01-09
Added
- ‘headerImage’ parameter to newSlidePanel() method. It will fit the image to the menu header dimensions.
See header image for title bar area below…

[0.1.52 and 0.1.53] - 2017-01-09
Added
- ‘iconImage’ parameter to “newSlidePanel(…)” method. It will fit the image to the font size dimensions. This is so it will look correct. See demo and “list {}” for an example.
- ‘iconImage’ parameter to "newToolbar(…)" method. It will fit the image to the font size dimensions. This is so it will look correct. See demo and “list {}” for an example.
See example of Menu using new Icon Images:

[0.1.55] - 2017-01-11
Added
- ‘iconColor’ parameter to newToolbar(…) list {} options. Specify color in on state per icon.
- ‘iconColorOff’ parameter to newToolbar(…) list {} options. Specify color in off state per icon.
- ‘iconColor’ parameter to newSlidePanel(…) list {} options. Specify color in on state per icon.
- ‘iconColorOff’ parameter to newSlidePanel(…) list {} options. Specify color in off state per icon.
Fixed
- Color bugs in newSlidePanel(…) and newToolbar(…) methods.
See a mix of icon images, icon symbols with multi-colors and basic colors. The multi-colors are “Location Information” and the first “To-do” in the newSlidePanel(…) example shown here:

Coming soon progress arc method based on time and percentage. Special thanks to horacebury for mathlib.
Example video:
https://youtu.be/ISoU91exIpM
Hello,
Can you please give me an example on how to hide the newSlidePanel by pressing a menu item.
Ans also how to keep that item selected (with gray color).
Thanks in advance.
@TheGiant, will do and I just added individual ‘callBacks’ per menu item. This way you can either use a single callBack or per menu item callBack if desired. I will get these additions in place and update the repo and report back here.
[0.1.59] - 2017-01-19
Added
- ‘closeSlidePanel()’ method to close a newSlidePanel() widget by name. This is now the default action if used the built-in callBack. You may call this in your own callBacks. This will close and release the menu from memory.
Example: mui.closeSlidePanel(“slidepanel-demo”)
- ‘callBack’ parameter added to each menu item. If used this callBack will be called instead of the parent callBack for the entire newSlidePanel() widget.
- ‘callBackData’ parameter added to each menu item. if used the data will be passed to the callBack being used.
- Documentation updated to match and demo updated to use these.
@TheGiant and I will be addressing your requests too.
[0.1.60] - 2017-01-19
Added
- ‘hideSlidePanel()’ method to hide a newSlidePanel() widget by name. This can be used in your callBacks. This keeps the slide panel in memory and hides it.
- ‘showSlidePanel()’ method to show a newSlidePanel() widget by name. This can be used in your callBacks. This uses the slide panel in memory and shows it.
See menu.lua for example.
@TheGiant. I will look into the other request to keep the menu item selected.
Changes
[0.1.61] - 2017-01-20
Added
- ‘iconImage’ parameter to newTileGrid() list options. Allows a tile to use an image (jpg/png) instead of icon font text.
- ‘fontIsScaled’ parameter to newTileGrid(). Defaults to true. If true scale the font to fit the width of the tile. If false let the user define the font to any size.
- ‘fontSize’ parameter to newTileGrid(). Sets the overall font size for icon and text.
- ‘parent’ parameter to newTileGrid(). If used it will place the newTileGrid widget into the group/parent.
See “iconImage” in use in the pic below (first row, middle tile):
