Guest User

Untitled

a guest
Jul 17th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local AceGUI = LibStub("AceGUI-3.0")
  2. local AC = LibStub('AceConfig-3.0')
  3. local ACD = LibStub('AceConfigDialog-3.0')
  4. local ACR = LibStub('AceConfigRegistry-3.0')
  5.  
  6. local Options = {
  7. name = "Test",
  8. type = 'group',
  9. args = {
  10. range = {
  11. order = 1,
  12. name = "Width",
  13. type = 'range',
  14. min = 64, max = 768, step = 1
  15. }
  16. }
  17. }
  18.  
  19. AC:RegisterOptionsTable(AddOnName.."1", Options)
  20. AC:RegisterOptionsTable(AddOnName.."2", Options)
  21.  
  22. local container1 = AceGUI:Create("Frame")
  23. local container2 = AceGUI:Create("Frame")
  24.  
  25. ACD:Open(AddOnName.."1", container1)
  26. ACD:Open(AddOnName.."2", container2)
Advertisement
Add Comment
Please, Sign In to add comment