Download
(1 MB)
Download
Updated: 07-12-10 03:27 PM
Pictures
File Info
Updated:07-12-10 03:27 PM
Created:05-10-10 06:04 AM
Downloads:10,403
Favorites:35
MD5:
gMedia  Popular! (More than 5000 hits)
Version: 2.21
by: Goldpaw [More]
What is this?

This is a media and function library for use with mainly my gMod addons, but accessible for the entire WoW addon environment. It contains fonts, backgrounds, statusbar textures, icons, borders, the usual media. It allows other addons to register their media in the gMedia library, as well as allowing addons to share their media.

It also has functionality to create background panels and shadows behind frames, as seen frequently in my upcoming UI gUI. This addon is a requirement for gUI, as well all other gMods containing any sort of media.

Documentation will be provided at a later date, but the code is fairly well documented and should be easily understandable to anybody experienced in LUA.
2.21
- Removed the fonts from the previous update, and released them as separate plugin modules for gMedia
- Fixed a potential bug in the :Register() function related to upper/lower case conversion

2.2
- Now includes 5 Traditional Chines fonts, 4 Simplified Chines fonts, and 4 Russian fonts.

2.11
- :panel() no longer requires the parent frame to have a name

2.0
- Rewrite of the original gMedia, with options to register new media for other addons. Fully backward compatible with gMedia 1.x
- Fixed some issues with the panel shadows in non-perfect UI scales. Shadows should stick better to their parents now.
- panel() now uses one less frame per object
- Removed the formatCoin() function, as this is now handled (better) by gLib
- Added a lib.fontn to handle the display name of fonts

1.152
- Further modified the kerning on the bugged "EURO"-style font
- Updated the name schemes in the panel() function

1.151
- New font included.
- Fixed a bug with the kerning on commas followed by space on the "EURO"-style font.

1.15
- Now uses rActionButtonStyler - Dajova for button skinning, all default button textures replaced

1.142
- Added a new texture

1.141
- panel() has 1 new attribute: alpha
- the function shadow({ parent = PARENTFRAME, anchor = ANCHORFRAME, name = FRAMENAME }) has been added to produce shadows
- new library; gMedia.colors
- replacement raid class colors in gMedia.colors.RAID_CLASS_COLORS

1.14
- panel() has 4 new attributes: offsettop, offsetbottom, offsetleft, offsetright.

1.13
- panel() has a new format. Attribute list is now delivered as an array, instead of separate values
- Darkened the border of the default panel() backdrop

1.12
- Rewrote :panel() function to provide internal scaling for pixel borders in all UIscales
- Changed the order of things to avoid some nils and taints

1.11
- Fullscreen shaded texture added
- Certain rescaling features removed, as it ultimately proved unreliable. If people want perfect borders, they're just going to have to accept the correct UIScale.

1.1
- New functions and constants for UIscaling: UI_SCALE_IDEAL, UI_SCALE_MULTIPLIER(),
- Added default values to all functions

1.06
- Unregisters events when no longer needed

1.05
- Fixed the CVar for "uiScale"

1.04
- Added scaling to the panel() function, to maintain perfect 1px borders in nearly all UIscales

1.0
- Release version
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
2.21
1MB
Goldpaw
07-12-10 03:27 PM
2.2
47MB
Goldpaw
07-12-10 09:35 AM
2.11
574kB
Goldpaw
06-01-10 05:14 AM
2.0
574kB
Goldpaw
05-10-10 06:04 AM


Post A Reply Comment Options
Unread 07-13-10, 04:09 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by xandora
So the version of Curse is gonna be changed soon?
Yes.
gMedia 2.21 is already online on Curse now, and I expect the new plugins to be soon too.

I uploaded the new version, plus the 3 Russian/Chinese plugins to both WoWInterface and Curse at the same time yesterday. Curse just takes longer to accept updates and new projects.
__________________
http://www.friendlydruid.com/
Last edited by Goldpaw : 07-13-10 at 04:10 AM.
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 01:00 AM  
xandora
A Chromatic Dragonspawn
 
xandora's Avatar

Forum posts: 188
File comments: 56
Uploads: 0
So the version of Curse is gonna be changed soon?
__________________
xandora is offline Report comment to moderator  
Reply With Quote
Unread 07-12-10, 02:20 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by ffcloud2000
Is the file size supposed to be 47 megs? Looks like a bunch of new fonts are thrown into it
Yes, it's supposed to be huge.

Maybe not this huge, though. Gotta say I never really looked at the size before uploading it though. Chances are I'll split those non-latin fonts into an optional plugin for gMedia instead.

But don't worry. Nothing is loaded into memory. Just whatever each addon uses. For me, (and I have all my addons...) gMedia only uses 55.6 KB. KiloBytes, that is. It's all a matter of download time and diskspace.


EDIT:
I'm reverting the change, fixing a bug I discovered in the process, and splitting the new fonts into 3 separate modules for Trad Chines, Simple Chinese and Russian. That will keep gMedia relatively small, while still providing the extra fonts needed.
__________________
http://www.friendlydruid.com/
Last edited by Goldpaw : 07-12-10 at 03:09 PM.
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 07-12-10, 12:55 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 22
File comments: 111
Uploads: 0
Is the file size supposed to be 47 megs? Looks like a bunch of new fonts are thrown into it
__________________
Last edited by ffcloud2000 : 07-12-10 at 12:56 PM.
ffcloud2000 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.