• Item Image
    •  Downloads offline

    •  Downloads: 6757

    •  File Size: 136914

    •  Version: 4.0.340
    •  Author: StormFX, jjsheets

ButtonFacade

4.0.340

- General:
- ToC updated to 40000.
- Bug Fixes:
- Fixed an issue with HotKeys not obeying skin settings. (Ticket 56)
- All texture layers now correctly support the "TexCoords" attribute. (Ticket 59)
- Layers set to false in the ButtonData table will now be ignored instead of being hidden first.
- Text layers will now be above all texture layers, where they should be.
- Fixed an issue with negative frame levels.
- LibButtonFacade:
- Minor version bumped to 40000.
- GUI:
- Increased the step value for the "Opacity" option for the Gloss layer from 1 to 5.
- Skin API:
- Layers not defined in the SkinData table will now be set as hidden.
- Colors must now be passed as a table such as {r, g, b, a}. The attributes "Red", "Blue", "Green" and "Alpha" are no longer supported.
- The HotKey layer no longer supports a "Color" attribute due to update calls overwriting it.
- ToDo:
- Add support for the new "flash alert" frame.
- Add support for the AutoCast frame textures.

3.3.330

- General:
- Updated for 3.3.5. All future versions will be for 4.0 and later.
- ButtonFacade should much more CPU friendly. (I hope)
- LibButtonFacade:
- Border color support has been removed. This leaves coloring the borders up to add-on authors, as it should be. (Use SetVertexColor)
- The Group:AddButton() method will now correctly return if attempting to add a button to a group that already has that button assigned to it.
- The Group:Skin() method now only supports a table of the layers and their respective colors. The single layer specification used by the ButtonFacade GUI has been removed.
- The Group:SetLayerColor() method used by the ButtonFacade GUI will now correctly update the skin with new color.
- A button's additional frame layers will now automatically update their levels when Button:SetFrameLevel() is called.
- Removed the redundant code for SetTextColor() and SetVertexColor() since they apparently work as they should.
- A new method, Group:ReSkin(), is available so authors can reapply the skin after calls that may interfere with LBF's engine.
- A new method, LBF:Debug() is available that will cause LBF to throw errors on certain issues (IE, bad skin parameters, etc). Note that this function acts as a toggle.
- Authors can use LBF, version = LibStub("LibButtonFacade") to check the LBF version for compatibility. This release is 30305.
- More code optimization. (Scope: It's not just for bad breath.)
- Skin API
- The "Border" layer no longer supports the "Color" attribute.
- ButtonFacade GUI:
- The ButtonFacade GUI has been reworked a little and tool tips should now be slight more descriptive.
- Layers that are disabled in the skin definition will now show their respective options as disabled in the GUI.
- Miscellaneous:
- ButtonFacade will no longer be registered in the global namespace. Authors will have to use AceAddOn or IsAddOnLoaded() to check for it.
- Removed AceLocale.

by StormFX & jjsheets

ButtonFacade, with its associated library, is a small add-on that allows for the dynamic skinning of button-based add-ons. It is composed of two individual components:

LibButtonFacade
A small library which provides addon authors with the tools needed to skin their add-ons.

ButtonFacade
A GUI for the LibButtonFacade library that allows users to adjust their settings on a per-add-on, per-group and per-button basis.

Options

* Access the options panel via the /bf chat command or the Interface Options Window.

Quick Links

* Official Forum Thread
* Skins Forum Thread
* FAQ
* Skin List
* LibButtonFacade-1.0 API
* Creating Skins for ButtonFacade

Installation

1. Download the package.
2. Extract the package to your "World of WarcraftInterfaceAddOns" directory.

Feedback

Please post all comments in the ButtonFacade thread in the forums. For bug reports and suggestions, please post a ticket.
Translations

If you would like to help translate ButtonFacade, please use the localization system. Special thanks to those that have helped thus far.
History

The idea for ButtonFacade and its format were conceived by JJ Sheets, the original author. It was based loosely on the concept of cyCircled, which has long since been discontinued.

After some discussion, it was decided that the project would best serve authors and users alike if the skinning engine were provided as a library and a separate GUI were written to allow for configuration changes.

The library was written in a manner that required add-on authors to add support for ButtonFacade and to store the settings provided by the ButtonFacade GUI in the add-on's own saved variable file.

At some point, JJ Sheets stopped playing World of Warcraft and stopped maintaining ButtonFacade. I took over the project in an attempt to become familiar with programming for World of Warcraft and have since been keeping the project up to date.

~ Storm

ButtonFacade

Item Image

 Downloads offline


ButtonFacade

4.0.340

- General:
- ToC updated to 40000.
- Bug Fixes:
- Fixed an issue with HotKeys not obeying skin settings. (Ticket 56)
- All texture layers now correctly support the "TexCoords" attribute. (Ticket 59)
- Layers set to false in the ButtonData table will now be ignored instead of being hidden first.
- Text layers will now be above all texture layers, where they should be.
- Fixed an issue with negative frame levels.
- LibButtonFacade:
- Minor version bumped to 40000.
- GUI:
- Increased the step value for the "Opacity" option for the Gloss layer from 1 to 5.
- Skin API:
- Layers not defined in the SkinData table will now be set as hidden.
- Colors must now be passed as a table such as {r, g, b, a}. The attributes "Red", "Blue", "Green" and "Alpha" are no longer supported.
- The HotKey layer no longer supports a "Color" attribute due to update calls overwriting it.
- ToDo:
- Add support for the new "flash alert" frame.
- Add support for the AutoCast frame textures.

3.3.330

- General:
- Updated for 3.3.5. All future versions will be for 4.0 and later.
- ButtonFacade should much more CPU friendly. (I hope)
- LibButtonFacade:
- Border color support has been removed. This leaves coloring the borders up to add-on authors, as it should be. (Use SetVertexColor)
- The Group:AddButton() method will now correctly return if attempting to add a button to a group that already has that button assigned to it.
- The Group:Skin() method now only supports a table of the layers and their respective colors. The single layer specification used by the ButtonFacade GUI has been removed.
- The Group:SetLayerColor() method used by the ButtonFacade GUI will now correctly update the skin with new color.
- A button's additional frame layers will now automatically update their levels when Button:SetFrameLevel() is called.
- Removed the redundant code for SetTextColor() and SetVertexColor() since they apparently work as they should.
- A new method, Group:ReSkin(), is available so authors can reapply the skin after calls that may interfere with LBF's engine.
- A new method, LBF:Debug() is available that will cause LBF to throw errors on certain issues (IE, bad skin parameters, etc). Note that this function acts as a toggle.
- Authors can use LBF, version = LibStub("LibButtonFacade") to check the LBF version for compatibility. This release is 30305.
- More code optimization. (Scope: It's not just for bad breath.)
- Skin API
- The "Border" layer no longer supports the "Color" attribute.
- ButtonFacade GUI:
- The ButtonFacade GUI has been reworked a little and tool tips should now be slight more descriptive.
- Layers that are disabled in the skin definition will now show their respective options as disabled in the GUI.
- Miscellaneous:
- ButtonFacade will no longer be registered in the global namespace. Authors will have to use AceAddOn or IsAddOnLoaded() to check for it.
- Removed AceLocale.

by StormFX & jjsheets

ButtonFacade, with its associated library, is a small add-on that allows for the dynamic skinning of button-based add-ons. It is composed of two individual components:

LibButtonFacade
A small library which provides addon authors with the tools needed to skin their add-ons.

ButtonFacade
A GUI for the LibButtonFacade library that allows users to adjust their settings on a per-add-on, per-group and per-button basis.

Options

* Access the options panel via the /bf chat command or the Interface Options Window.

Quick Links

* Official Forum Thread
* Skins Forum Thread
* FAQ
* Skin List
* LibButtonFacade-1.0 API
* Creating Skins for ButtonFacade

Installation

1. Download the package.
2. Extract the package to your "World of WarcraftInterfaceAddOns" directory.

Feedback

Please post all comments in the ButtonFacade thread in the forums. For bug reports and suggestions, please post a ticket.
Translations

If you would like to help translate ButtonFacade, please use the localization system. Special thanks to those that have helped thus far.
History

The idea for ButtonFacade and its format were conceived by JJ Sheets, the original author. It was based loosely on the concept of cyCircled, which has long since been discontinued.

After some discussion, it was decided that the project would best serve authors and users alike if the skinning engine were provided as a library and a separate GUI were written to allow for configuration changes.

The library was written in a manner that required add-on authors to add support for ButtonFacade and to store the settings provided by the ButtonFacade GUI in the add-on's own saved variable file.

At some point, JJ Sheets stopped playing World of Warcraft and stopped maintaining ButtonFacade. I took over the project in an attempt to become familiar with programming for World of Warcraft and have since been keeping the project up to date.

~ Storm


top