Moonshyne
World of Warcraft® guild on Ravenholdt·EU, and UI Addon creation & development

...powered by Darkmoon Special Reserveâ„¢!
Tue 07 Sep 2010 01:12:58 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: MyRolePlay 3.3.55 (compatible with WoW 3.3.5.12340) released!
Home Help Search Login Register
Pages: 1
Print
Author Topic: GUI  (Read 157 times)
0 Members and 1 Guest are viewing this topic.
Acenth
Visitor

Offline

Posts: 5


GUI
« on: Sat 10 Jul 2010 00:48:57 »

I started working on a GUI for MyEmotes.



The problem I ran into was the sheer number of emotes available and the limit of screen space. The only thing I can think of is adding categories ("Happy", "Sad", "Interact", "My Emotes", "Favorites"). I'd rather not change the file structure myself since it's not my addon, so I'm working around that problem.

Thoughts?

I also added a window to add an emote from ingame (And some functions to save the input into the Saved Variables):
« Last Edit: Sat 10 Jul 2010 03:57:57 by Acenth » Logged
Elandru Moonshyne
Founder

Offline

Posts: 218



« Reply #1 on: Sat 10 Jul 2010 07:48:20 »

Ooh, wow, thankyou very much. That’s a start, I didn’t expect anyone else to help with it! Smiley

As you see, just doing the Add function should plonk it into the SavedVariables, that persists.

What I was going to do and will eventually end up doing was to place it in the interface options addons panel (alongside the others) and give it a GUI there.

I’m a bit pants at frame design though. Smiley

GUI I was planning was more like this:—

[ Default] [Addons]________________________________________________
[ (Other addons…)][   MyEmotes 3.3.5a                      [Reset] [Help] ]
[ MyEmotes           ][--------------------------------------------------------------------------]
[                            ][ /cheer            | cheers!  · cheers at %t!                        ][__]
[ this is the            ][ /embarrassed| looks embarrassed. · looks embarras…]|    |
[ normal addons     ][ etc etc                                                                         ]|    |
[        panel in        ][                                                                                      ]|    |
[ Interface Options ][                                                                                      ]|    |
[                            ][                                                                                      ]|    |
[                            ][                                                                                      ]|    |
[                            ][                                                                                      ]|    |
[                            ][                                                                                      ]|    |
[                            ][___________________________________________]|__|
[                            ][                                                                                            ]
[                            ][  Commands:  [ cheer cheers                       ] [      New     ]  ]
[                            ][  No target:  [ cheers!                                   ] [     Save     ]  ]
[                            ][  Targeted:   [ cheers at %t!                         ] [    Delete   ]  ]
[______________][______________________________________________]


/cheers is highlighted in that one because you’ve left-clicked it. Save saves it to the top panel (and adds it to the live list, and will be saved in SavedVariables).

New clears it and lets you input a new one.

Delete, well, obvious.

All edits are reflected in the list above when saved. All of those boxes are one-line EditBoxes with a max length of ~300).

Make sure Reset has a (Are you really sure you wish to reset all of your custom emotes to the default?) setting.

Left-clicking highlights and selects which one appears in the panel below (discard existing unsaved content down there). When you’re editing a New one that hasn’t been saved yet, nothing’s highlighted.

Help shows some assistance on the commands, for the ones that aren’t intuitive.

…what do you think?
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Elandru Moonshyne
Founder

Offline

Posts: 218



« Reply #2 on: Sat 10 Jul 2010 07:48:57 »

Note mine is more targeted at typing slash commands, ‘cause it’s what I do (do really that many people click-emotes?).
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Acenth
Visitor

Offline

Posts: 5


« Reply #3 on: Sat 10 Jul 2010 08:19:28 »

Oh that makes sense.

Being able to manage emotes without editing the LUA file should be great.

I'm still trying to work out how to display emotes for use, so you don't need to remember them all. I had changed the LUA file to support a 4th property, but because not all emotes have a 3rd property, the information may get mixed up.

What about updating the LUA file containing emotes to have the same emote for targetted and non-targetted if there isn't a Targetted version? That way you can add additional properties to emotes like Category.

If you could change that, I could write up the code to show the emotes menu by category.
Logged
Acenth
Visitor

Offline

Posts: 5


« Reply #4 on: Sat 10 Jul 2010 08:23:56 »

The other thing I like about using categories (Espically user-defined ones), is that RPers could come up with categories and emotes for different events and jobs, like a "Bartender" category with related emotes.
Logged
Acenth
Visitor

Offline

Posts: 5


« Reply #5 on: Sat 10 Jul 2010 19:58:26 »

Just a note about clicking vs typing, I do think people type more, but trying to remember over 160 emotes isn't easy and having to open the interface options to see them may be a little overkill.
Logged
Acenth
Visitor

Offline

Posts: 5


« Reply #6 on: Sun 11 Jul 2010 02:14:48 »

Since my first update, I've added an Edit window and started work on the Interface options frame and a way to list the emotes. I'm thinking for now the actual editing will be done from this seperate window, but I may move it onto the Interface Options frame.

I also added a function to "fix up" the emote file (Not the default one) so every emote has a 3rd property (Right now it just copies the 2nd property to the 3rd property).
Logged
Pages: 1
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
World of Warcraft® and Blizzard Entertainment® are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries.
These terms and all related materials, logos, and images are copyright © Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment®.
Valid XHTML 1.0! Valid CSS!