derickd / moaigui Goto Github PK
View Code? Open in Web Editor NEWGUI implementation for the MOAI SDK
License: MIT License
GUI implementation for the MOAI SDK
License: MIT License
Hi Derick - I have been using loadLayoufromData() in the moaigui API, to be able to things like this:
app_screens = {
{ data = dofile(resources.getPath("layout_welcome.lua")), layername="welcome_" },
{ data = dofile(resources.getPath("layout_genderselect.lua")), layername="genderselect_" },
{ data = dofile(resources.getPath("layout_weightselect.lua")), layername="weightselect_" },
{ data = dofile(resources.getPath("layout_heightselect.lua")), layername="heightselect_" },
{ data = dofile(resources.getPath("layout_birthday.lua")), layername="birthday_" },
{ data = dofile(resources.getPath("layout_summary.lua")), layername="summary_" },
}
--- then, later on:
roots, widgets, groups = g:loadLayoutfromData(app_screens[screen_requested].data, app_screens[screen_requested].layername)
.. and actually, this has worked very well for multi-form layouts. I was just wondering what the reason for removing this from the API was, and if there is an alternative method that you'd like us to be using?
Line 51 of widgetlist.lua, I believe you intend a row to derive from Image. But on line 518 (the WidgetListRow init() method) you call AWindow's init, as opposed to Image. This leaves some of row's image-based properties uninitialized.
I found it when trying to use different images for row's background image. It's a quick fix (modify line 518 to call image.Image.init(self, gui)), just thought you'd like to know.
Hi Derick - just wanted to let you know that our app which uses MOAIGUI has been released: https://play.google.com/store/apps/details?id=at.allaboutapps.medmedia.rauchfreidurchstarten
Its also shipping in the Apple Store (search for "rauchfrei durchstarten") as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.