Get an Epic Experience with Premium

LibSimpleWidgets

Libraries Login to Add Favorites
  • 1 Like
  • Rift
  • 201 Monthly Downloads
  • Supports: 2.2.4
  • 1,470 Total Downloads
  • Updated 04/28/2013
  • Created 04/25/2012
  • 1 Favorites
  • Project Site
  • Release Type: Release
  • License: zlib/libpng License
  • Newest File: v1.14.1
or

About LibSimpleWidgets

LibSimpleWidgets is a library which provides a set of simple widgets not provided by the official Rift API. It integrates into the UI.CreateFrame function, adding several new frame types:

  • SimpleCheckbox (checkbox with a label)
  • SimpleGrid (grid of widgets)
  • SimpleList (list of selectable items, single/multi-select)
  • SimpleScrollList (same as above, scrollable, handles very large lists, recommended as replacement for SimpleList+SimpleScrollView)
  • SimpleRadioButton (radio button with a label)
  • SimpleScrollView (wraps any fixed-height frame)
  • SimpleSelect (dropdown list)
  • SimpleSlider (slider with the current value displayed next to it)
  • SimpleTabView (tabbed frames)
  • SimpleTextArea (multi-line textfield in scrollview)
  • SimpleTooltip (mouseover popup frame with text)
  • SimpleWindow (draggable RiftWindow)

The new frame types inherit all of Frame's functions and add a few more functions specific to each widget.

SimpleRadioButton has a companion function called RadioButtonGroup, which returns a controller object that manages a group of radio buttons to ensure that only one is selected at a time and to generate an event when the selected radio button changes.

The Layout function, given a table describing a widget layout, will create frames and lay them out accordingly. If you've ever used AceConfig and AceGUI, then you'll find this familiar. You can call Layout with the same parent frame and config table to refresh the widgets without creating new frames.

Documentation can be found here.

tag v1.14.1
a994095840b954ade92fb3dccc1766ddd2f84b05
Gordon Tyler <gordon@doxxx.net>
2013-04-28 13:38:01 -0400

--------------------

Gordon Tyler:
    - Add RemoveAllRows function to grid.
    - Clean up existing row frames and cells when replacing or removing rows.
    - Hide existing cells in Grid's SetRows.
    - Use self:Layout() instead of Layout(self).
    - Bump version to v1.14.1
    - When positioning scrollview content set its width instead of setting its TOPRIGHT point.
    - Raise Select's dropdown layer.
    - Grid layout should do nothing if there are no rows.
    - Clarify Grid's SetRows documentation.
    - Add simple example for Grid to documentation.

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!