Reorganizing for submodule use.

main
ck 11 months ago
parent 328b9c77e3
commit 132c1e94da
  1. 0
      CallbackHandler-1.0/CallbackHandler-1.0.lua
  2. 0
      CallbackHandler-1.0/CallbackHandler-1.0.xml
  3. 0
      DiesalComm-1.0/ChatThrottleLib.lua
  4. 0
      DiesalComm-1.0/DiesalComm-1.0.lua
  5. 0
      DiesalComm-1.0/DiesalComm-1.0.xml
  6. 0
      DiesalGUI-2.0/DiesalGUI-2.0.lua
  7. 0
      DiesalGUI-2.0/DiesalGUI-2.0.xml
  8. 0
      DiesalGUI-2.0/Objects/Accordian.lua
  9. 0
      DiesalGUI-2.0/Objects/AccordianSection.lua
  10. 0
      DiesalGUI-2.0/Objects/Bar.lua
  11. 0
      DiesalGUI-2.0/Objects/Branch.lua
  12. 0
      DiesalGUI-2.0/Objects/Button.lua
  13. 0
      DiesalGUI-2.0/Objects/CheckBox.lua
  14. 0
      DiesalGUI-2.0/Objects/ComboBox.lua
  15. 0
      DiesalGUI-2.0/Objects/ComboBoxItem.lua
  16. 0
      DiesalGUI-2.0/Objects/Container.lua
  17. 0
      DiesalGUI-2.0/Objects/DropDown.lua
  18. 0
      DiesalGUI-2.0/Objects/DropDownItem.lua
  19. 7
      DiesalGUI-2.0/Objects/IconToggle.lua
  20. 0
      DiesalGUI-2.0/Objects/Input.lua
  21. 0
      DiesalGUI-2.0/Objects/ObjectBase.lua
  22. 0
      DiesalGUI-2.0/Objects/QuickDoc.lua
  23. 0
      DiesalGUI-2.0/Objects/ScrollFrame.lua
  24. 0
      DiesalGUI-2.0/Objects/ScrollingEditBox.lua
  25. 0
      DiesalGUI-2.0/Objects/ScrollingMessageFrame.lua
  26. 0
      DiesalGUI-2.0/Objects/Spinner.lua
  27. 0
      DiesalGUI-2.0/Objects/Text.lua
  28. 0
      DiesalGUI-2.0/Objects/Toggle.lua
  29. 0
      DiesalGUI-2.0/Objects/Tree.lua
  30. 0
      DiesalGUI-2.0/Objects/Window.lua
  31. 0
      DiesalMenu-2.0/DiesalMenu-2.0.lua
  32. 0
      DiesalMenu-2.0/DiesalMenu-2.0.xml
  33. 0
      DiesalMenu-2.0/Objects/Menu.lua
  34. 0
      DiesalMenu-2.0/Objects/MenuItem.lua
  35. 3
      DiesalStyle-2.0/DiesalStyle-2.0.lua
  36. 0
      DiesalStyle-2.0/Media/Fonts/DejaVuSansMono-Bold.ttf
  37. 0
      DiesalStyle-2.0/Media/Fonts/DejaVuSansMono.ttf
  38. 0
      DiesalStyle-2.0/Media/Fonts/FFF Intelligent Thin Condensed.ttf
  39. 0
      DiesalStyle-2.0/Media/Fonts/FiraMono-Bold.ttf
  40. 0
      DiesalStyle-2.0/Media/Fonts/FiraMono-Medium.ttf
  41. 0
      DiesalStyle-2.0/Media/Fonts/FiraMono-Regular.ttf
  42. 0
      DiesalStyle-2.0/Media/Fonts/FiraSans-Regular.ttf
  43. 0
      DiesalStyle-2.0/Media/Fonts/Hack-Bold.ttf
  44. 0
      DiesalStyle-2.0/Media/Fonts/Hack-Regular.ttf
  45. 0
      DiesalStyle-2.0/Media/Fonts/Inconsolata-Bold.ttf
  46. 0
      DiesalStyle-2.0/Media/Fonts/Inconsolata-Regular.ttf
  47. 0
      DiesalStyle-2.0/Media/Fonts/LUCON.TTF
  48. 0
      DiesalStyle-2.0/Media/Fonts/MaterialIcons-Regular.ttf
  49. 0
      DiesalStyle-2.0/Media/Fonts/MaterialIconsOutlined-Regular.otf
  50. 0
      DiesalStyle-2.0/Media/Fonts/MaterialIconsRound-Regular.otf
  51. 0
      DiesalStyle-2.0/Media/Fonts/MaterialIconsSharp-Regular.otf
  52. 0
      DiesalStyle-2.0/Media/Fonts/MaterialIconsTwoTone-Regular.otf
  53. 0
      DiesalStyle-2.0/Media/Fonts/OfficeCodePro-Bold.ttf
  54. 0
      DiesalStyle-2.0/Media/Fonts/OfficeCodePro-Medium.ttf
  55. 0
      DiesalStyle-2.0/Media/Fonts/OfficeCodePro-Regular.ttf
  56. 0
      DiesalStyle-2.0/Media/Fonts/RobotoMono-Bold.ttf
  57. 0
      DiesalStyle-2.0/Media/Fonts/RobotoMono-Medium.ttf
  58. 0
      DiesalStyle-2.0/Media/Fonts/RobotoMono-Regular.ttf
  59. 0
      DiesalStyle-2.0/Media/Fonts/SourceCodePro-Black.ttf
  60. 0
      DiesalStyle-2.0/Media/Fonts/SourceCodePro-Bold.ttf
  61. 0
      DiesalStyle-2.0/Media/Fonts/SourceCodePro-Medium.ttf
  62. 0
      DiesalStyle-2.0/Media/Fonts/SourceCodePro-Regular.ttf
  63. 0
      DiesalStyle-2.0/Media/Fonts/SourceCodePro-Semibold.ttf
  64. 0
      DiesalStyle-2.0/Media/Fonts/Standard0755.ttf
  65. 0
      DiesalStyle-2.0/Media/Fonts/UbuntuMono-B.ttf
  66. 0
      DiesalStyle-2.0/Media/Fonts/UbuntuMono-R.ttf
  67. 0
      DiesalStyle-2.0/Media/Fonts/calibrib.ttf
  68. 0
      DiesalStyle-2.0/Media/Fonts/monof55.ttf
  69. 0
      DiesalStyle-2.0/Media/Fonts/monof56.ttf
  70. 0
      DiesalStyle-2.0/Media/Textures/DiesalButtonIcons32x128x512.tga
  71. 0
      DiesalStyle-2.0/Media/Textures/DiesalGUIcons16x256x128.tga
  72. 0
      DiesalStyle-2.0/Media/Textures/DiesalGUIcons32x256x256.tga
  73. 0
      DiesalStyle-2.0/Media/Textures/DiesalGUIcons64x256x256.tga
  74. 0
      DiesalStyle-2.0/Media/Textures/shadow.tga
  75. 0
      DiesalStyle-2.0/Media/Textures/shadowNoDist.tga
  76. 0
      DiesalTools-2.0/DiesalTools-2.0.lua
  77. 0
      LibSharedMedia-3.0/LibSharedMedia-3.0.lua
  78. 0
      LibSharedMedia-3.0/lib.xml
  79. 5
      README.md

@ -90,14 +90,15 @@ local methods = {
self:SetWidth(settings.width)
self:SetHeight(settings.height)
self.check:SetFont(MaterialIconsRegular:GetFont(), settings.height + 1, "")
self.check:SetFont(MaterialSymbolsRounded:GetFont(), settings.height + 1, "")
end,
---@param self Diesal.GUI.Object.IconToggle
---@param value boolean
SetChecked = function(self, value)
self.settings.checked = value
self.check:SetText(value and DiesalStyle.MaterialIcon("check_box") or DiesalStyle.MaterialIcon("check_box_outline_blank"))
self.check:SetText(value and DiesalStyle.MaterialIcon("check_box") or
DiesalStyle.MaterialIcon("check_box_outline_blank"))
self.frame:SetChecked(value)
self[self.settings.disabled and "Disable" or "Enable"](self)
@ -187,7 +188,7 @@ local function Constructor()
local check = self:CreateRegion("FontString", "check", frame)
check:SetAllPoints(frame, true)
--check:SetAllPoints(frame, true)
check:SetFont(MaterialIconsRegular:GetFont(), self.defaults.height, "")
check:SetFont(MaterialSymbolsRounded:GetFont(), self.defaults.height, "")
-- Setting self.check again is pointless when CreateRegion already does it....
-- self.check = check

@ -178,7 +178,8 @@ local function setColor(texture, r, g, b, a)
local status, err = pcall(texture.SetColorTexture, texture, r, g, b, a)
if not status then
errorhandler(
'error in "' .. (texture.style.name or "texture") .. '" ' .. texture.style.mode .. " or alpha setting", r, g, b,
'error in "' .. (texture.style.name or "texture") .. '" ' .. texture.style.mode .. " or alpha setting", r, g,
b,
a)
end
end

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

@ -1,5 +0,0 @@
# DiesalLibs
Required Libraries:
- [LibSharedMedia 3.0](https://www.curseforge.com/wow/addons/libsharedmedia-3-0)
- [CallbackHandler 1.0](https://www.curseforge.com/wow/addons/callbackhandler)
Loading…
Cancel
Save