This commit is contained in:
Hao Tran 2024-03-03 00:08:34 -05:00
commit 298cc8b961
11 changed files with 50 additions and 0 deletions

15
Core/SharedMedia.lua Normal file
View File

@ -0,0 +1,15 @@
local LSM = LibStub('LibSharedMedia-3.0')
if not LSM then return end
--------------------------------------------------------------------------------
-- # CORE > SHARED MEDIA
--------------------------------------------------------------------------------
-- fonts
LSM:Register(LSM.MediaType.FONT, 'AvantGarde', [[Interface\AddOns\KlazMedia\Media\Fonts\AvantGarde.ttf]])
LSM:Register(LSM.MediaType.FONT, 'Pepsi', [[Interface\AddOns\KlazMedia\Media\Fonts\Pepsi.ttf]])
-- status bars
LSM:Register(LSM.MediaType.STATUSBAR, 'KlazFlat', [[Interface\AddOns\KlazMedia\Media\StatusBars\KlazFlat]])
LSM:Register(LSM.MediaType.STATUSBAR, 'KlazKindaFlatLight', [[Interface\AddOns\KlazMedia\Media\StatusBars\KlazKindaFlatLight]])
LSM:Register(LSM.MediaType.STATUSBAR, 'KlazLight', [[Interface\AddOns\KlazMedia\Media\StatusBars\KlazLight]])

8
KlazMedia.toc Normal file
View File

@ -0,0 +1,8 @@
## Interface: 100205
## Title: Klaz|cff1994ffMedia|r
## Author: Klaz
## IconTexture: Interface\AddOns\KlazMedia\Media\KlazAddOnIcon.blp
## Notes: Adds custom assets to the shared media library.
## OptionalDeps: LibStub, LibSharedMedia-3.0
Core\SharedMedia.lua

BIN
Media/Fonts/AvantGarde.ttf Normal file

Binary file not shown.

BIN
Media/Fonts/Pepsi.ttf Normal file

Binary file not shown.

BIN
Media/Icons/Healer.tga Normal file

Binary file not shown.

BIN
Media/Icons/Tank.tga Normal file

Binary file not shown.

BIN
Media/KlazAddOnIcon.blp Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

27
README.md Normal file
View File

@ -0,0 +1,27 @@
# KlazMedia
A World of Warcraft add-on that adds custom assets to the shared media library.
All settings are hard-coded.
See [LibSharedMedia](https://www.curseforge.com/wow/addons/libsharedmedia-3-0) (not affiliated) for further information and details.
## Features
- Additional fonts:
- Avant Garde
- Pepsi
- Additional custom status bar textures:
- KlazFlat
- KlazKindaFlatLight
- KlazLight
- Available custom icons:
- Blue square (which is intended to be used to indicate tank roles)
- Green square (which is intended to be used to indicate healer roles)
## Installation
1. Backup `World of Warcraft\_retail_\Interface` and `World of Warcraft\_retail_\WTF` folders. Just in case.
2. Download and extract folder.
3. Place extracted folder in `World of Warcraft\_retail_\Interface\AddOns\` directory.
4. Restart World of Warcraft client.