Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AceGUI = LibStub("AceGUI-3.0")
- local AC = LibStub('AceConfig-3.0')
- local ACD = LibStub('AceConfigDialog-3.0')
- local ACR = LibStub('AceConfigRegistry-3.0')
- local Options = {
- name = "Test",
- type = 'group',
- args = {
- range = {
- order = 1,
- name = "Width",
- type = 'range',
- min = 64, max = 768, step = 1
- }
- }
- }
- AC:RegisterOptionsTable(AddOnName.."1", Options)
- AC:RegisterOptionsTable(AddOnName.."2", Options)
- local container1 = AceGUI:Create("Frame")
- local container2 = AceGUI:Create("Frame")
- ACD:Open(AddOnName.."1", container1)
- ACD:Open(AddOnName.."2", container2)
Advertisement
Add Comment
Please, Sign In to add comment