Mercurial > wow > raid-target-tactics
view UserSelect.lua @ 13:cc98f28b1c7c tip
remove geradd message
fix issue with --
add support for console commands
author | Jay Bird <a4blank@yahoo.com> |
---|---|
date | Thu, 13 Jan 2011 20:50:34 +0300 |
parents | d2cbfe498c4d |
children |
line wrap: on
line source
UserSelect = class() local AceGUI = LibStub("AceGUI-3.0") function UserSelect:draw(parent, x, y) self.field = AceGUI:Create("EditBoxRaid") self.field.frame:SetParent(parent) self.field:DisableButton(true) self.field:SetWidth(100) self.field:SetHeight(16) self.field:SetPoint("TOPLEFT", x, y) self.field.frame:Show() end function UserSelect:GetText() return self.field:GetText() end function UserSelect:SetText(text) self.field:SetText(text) end