Mercurial > wow > reaction
comparison modules/ReAction_ModuleTemplate/ReAction_ModuleName.lua @ 77:da8ba8783924
- added revision updater to each code file
- Changed button/bar class mechanic to metatable-based
- Changed buttons to live within a sub-frame, to play nicely between show-empty-buttons and hidestates
- bar frame is now available only via accessor
- Changed some semantics with AddButton/PlaceButton
- Cleaned up action buttons options, fixed hide-when-empty option
- moved show-action-ID-label as a button method
- converted drag overlay from nested-frame to :Raise()
- fixed ReAction:SetConfigMode() to not call event when mode doesn't change
- Fixed ordering for dynamic state tab (always last)
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 23 Jun 2008 22:27:50 +0000 |
parents | 768be7eb22a0 |
children | 42ec2938d65a |
comparison
equal
deleted
inserted
replaced
76:c8c8610fd864 | 77:da8ba8783924 |
---|---|
5 | 5 |
6 -- local imports | 6 -- local imports |
7 local ReAction = ReAction | 7 local ReAction = ReAction |
8 local L = ReAction.L | 8 local L = ReAction.L |
9 local _G = _G | 9 local _G = _G |
10 | |
11 ReAction:UpdateRevision("$Revision: 103 $") | |
10 | 12 |
11 -- module declaration | 13 -- module declaration |
12 local moduleID = "MyModuleName" | 14 local moduleID = "MyModuleName" |
13 local module = ReAction:NewModule( moduleID, | 15 local module = ReAction:NewModule( moduleID, |
14 -- mixins go here | 16 -- mixins go here |