Mercurial > wow > ouroloot
comparison AceGUIWidget-CheckBoxSmallLabel.lua @ 102:fe04f5c4114a
- expiring cache callback arg, handle new entries coming in during the
same loop at the previous ones ALL being removed
TODO: rework other "candidate" caches to use this instead
- raider snapshots use string tokens for 'online' field
- document callback args
- CheckBoxSmallLabel preemptively apply proposed fix for ace3 ticket 304
- now that option toggles are not wedged into tight space, revert to
using standard CheckBox widget instead of small-label variant
(go back if ticket 304 is not fixed for release)
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Sat, 04 Aug 2012 22:03:05 +0000 |
| parents | 822b6ca3ef89 |
| children |
comparison
equal
deleted
inserted
replaced
| 101:f7162a1cadc7 | 102:fe04f5c4114a |
|---|---|
| 109 self.disabled = disabled | 109 self.disabled = disabled |
| 110 if disabled then | 110 if disabled then |
| 111 self.frame:Disable() | 111 self.frame:Disable() |
| 112 self.text:SetTextColor(0.5, 0.5, 0.5) | 112 self.text:SetTextColor(0.5, 0.5, 0.5) |
| 113 SetDesaturation(self.check, true) | 113 SetDesaturation(self.check, true) |
| 114 if self.desc then | |
| 115 self.desc:SetTextColor(0.5, 0.5, 0.5) | |
| 116 end | |
| 114 else | 117 else |
| 115 self.frame:Enable() | 118 self.frame:Enable() |
| 116 self.text:SetTextColor(1, 1, 1) | 119 self.text:SetTextColor(1, 1, 1) |
| 117 if self.tristate and self.checked == nil then | 120 if self.tristate and self.checked == nil then |
| 118 SetDesaturation(self.check, true) | 121 SetDesaturation(self.check, true) |
| 119 else | 122 else |
| 120 SetDesaturation(self.check, false) | 123 SetDesaturation(self.check, false) |
| 124 end | |
| 125 if self.desc then | |
| 126 self.desc:SetTextColor(1, 1, 1) | |
| 121 end | 127 end |
| 122 end | 128 end |
| 123 end, | 129 end, |
| 124 | 130 |
| 125 ["SetValue"] = function(self,value) | 131 ["SetValue"] = function(self,value) |
