View Single Post
01-10-14, 06:01 PM   #23
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Choonstertwo View Post
I usually use slash commands for in-game configuration of my AddOns because they're easier to write than full-blown GUIs.
Having written plenty of command-line interface for addons in my day, I can tell you it's not significantly more difficult or time-consuming to write a GUI instead. The options panel for BetterBattlePetTooltip is just 66 lines of code (3.5kb) -- no libraries, just basic WoW API and Blizzard templates -- and if I strip it down to the bare minimum, it's only 40 lines (1.8kb). Adding another checkbox would take 6-12 lines of code. Adding a slider would take 8-22 lines.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote