WIDGET CANDY FOR CORONA®
ADDS PROFESSIONAL, EASY TO USE WIDGETS TO YOUR APP.

Most programmers hate the task to add a fully functional, decent looking interface to their apps and games. It's a time-consuming, tedious work that also usually requires the (expensive) help of professional artists. If you, as a developer, ever tried to solve this, you probably found that creating a fully functional GUI (graphical user interface) from ground up is an extremely complex task which can in fact take even longer than working on your app itself.

Don't waste your precious time anymore, here is what you've been looking for:

All kind of widgets! Widget Candy is a lightning fast, professional GUI extension to add all kind of graphical user interfaces to your apps and games. Add buttons, checkboxes, radio buttons, sliders, scrolling lists, wrapping texts, text labels, input texts, on/off switches -and even draggable windows- all with a few lines of code!

Fully customizable! Widget Candy gives you full control over the look and feel of your app. Use an unlimited amount of different themes to skin your app's buttons, sliders, lists and windows -you can even use different themes (skins) at once, or swap themes in realtime to switch the complete look of your app within a second! Each theme only requires a settings file (where you can define text colors and other settings) and a single texture image that contains the widget graphics.

Efficient use of texture memory In fact, a single texture image is required only to provide the complete look and feel of an entire custom OS on your device! There is no need to edit dozens of images. There are almost no limits to what your app can look like.

Using OpenGL acceleration Widget Candy uses Corona's OpenGL accelerated image sheets (although it is also backward compatible with previous versions of Corona), as well as optimized texture atlas techniques to minimize texture swaps wherever possible to ensure the best possible performance.

Automated widget layout Widget Candy comes with a powerful, automated layout system to arrange your widgets automatically inside a window widget, for example. There is no need to fiddle with widget coordinates, Widget Candy will do this for you. Each widget's position, as well as it's width and height, can be set to percentage values (which are either referring to the screen size or a parent window's size). Additionally, automatic widget alignment allows you to use "left", "center" or "right" as a widget's x-position, for example to automatically place it on the left or right border of the screen (or a parent window) or to center it for you. You even don't need to specify any coords at all for your widgets, simply place them inside a window widget and let Widget Candy layout them automatically for you. Layouting an interface has never been easier!

As a fundamental and vital tool in the world of app programming, the Candy libraries are prominently featured in Jayant Varma's great book Learn Lua for iOS Game Development. Learn Lua for iOS Game Development walks you through the Lua basics, then shows you how to create games using the top Lua frameworks like the Corona SDK and last, but not least, how to use the Candy libraries to create professional, top-level apps and games.




THE FEATURES
LIBRARY
  • Comes with many clean, easy-to-follow sample codes!
  • Clean, commented LUA code that can be extended by your own!
  • Efficient use of memory, requires a single image only.
  • Supports OpenGL-accelerated Corona® Image Sheets
  • Built-in backward-compatibility to older Corona® versions (old sprite API)
  • Optional debug mode with detailed error messages
  • Adds sound effects to your buttons, checkboxes etc.
  • Use an unlimited number of themes (skins) - even at once!
  • Swap themes on the fly to change the look of your app
  • All GUI elements provide detailed listeners which you can react to
  • Automatic window layout system -positions widgets automatically!
  • No need to fiddle with widget x/y coords anymore!
  • Automatically align widgets to screen borders, corners or screen center

WIDGETS INCLUDED

  • Text Buttons (also including icons)
  • Squared Buttons (Icon Buttons)
  • Arrow Buttons (drag up and down to adjust a number, for example)
  • Checkboxes
  • Radio Buttons
  • Auto-Wrapping Textfields
  • Progress Bars
  • Borders & Frames
  • On / Off Switches
  • Horizontal Sliders
  • Vertical Sliders
  • Scrollable, editable Lists
  • Text Labels (also including icons)
  • Input Texts
  • Images
  • Alerts & Notify Boxes
  • Confirmation Dialogs
  • Complete, draggable windows (to hold any buttons, sliders, texts etc.)
  • ...more widgets to be added with frequent updates!

SAMPLES INCLUDED

  • Border Widgets
  • Drag Buttons
  • Simple Buttons
  • Square Buttons
  • Toggle Buttons
  • Checkboxes
  • Radio Buttons
  • Sliders
  • Switches
  • Adding Images
  • Text Labels
  • Multiline Texts
  • Labels
  • Progress Bar
  • Alerts & Notify Boxes
  • Confirmation Dialogs
  • List, Simple
  • List, Adding & Removing Items
  • List, Changing Lists
  • List, Switches
  • List, Setting Item Colors
  • List, Category Dividers
  • Widget Sounds
  • Windows, Basic
  • Windows, Auto-Layout
  • Windows, Change Depths
  • Positioning Widgets
  • Percentual Widget Size
  • Tinting (colorizing) Widgets
  • ...more samples to be added with frequent updates!




X-PRESSIVE.COM  •  WIDGET CANDY FEATURES  •  QUICKSTART  •  API REFERENCE  •  HINTS & TRICKS  •  VIDEOS  •  SUPPORT