oUF Simple

This is a tiny unitframe layout for oUF. This layout should just give an insight on how to create a basic oUF layout. Thats the only purpose. You can expand it yourself.

Install

The zip-file contains two folders: rLib and oUF_Simple. Put them in your AddOns folder.
Download the latest oUF from the link above. Create an oUF folder in your AddOns folder and put the content of the zip in there. Make sure to edit the TOC-number to 50001 in oUF.toc.

@Ferous
I applied no overlay (border) texture, that is correct and intended, but oUF does its own "button.overlay" in the elements/aura.lua that becomes visible for specific debuffs. The outer glow is done by using SetBackDrop(). You can skin the overlay ANYTIME.
Check http://code.google.com/p/rothui/sour...oUF_D3Orbs.lua and search for "button.overlay" this is how I do it for oUF_D3Orbs just copy that part over to the "lib.PostCreateIcon" function in lib.lua
Skinning aura icons in oUF is always done in the CreateIcon function.

@Poltig
Check core.lua how I implemented one function for each unit. I applied self.mystyle = "player" etc. so you always know which style function called the lib.function. So adjust your condition to

Code:

if self.mystyle == "player" then
...
end

Nevertheless this is just a tutorial, something that can be used to develop own stuff, not sth. that can be used out of the box.

When the realms go up, I'll be playing around with this a lot. I do have a quick question though; is there a way to change class colors/power colors? I've been playing with oUF ALZA and there's a bit here:

Ye this layout is awesome...however the cfg.lua is a bit restricted :P...I wonder if you can put the options to able/disable buffs/debuffs on target/party/player/pet/focus, to show/not show the castbars or hide the latency on the castbars also the ability to change the font etc. etc. ...If you can do all these to this addon it might just become my favourite OuF Layout

Party targets aren't that easy to do in oUF. You really need to know what you are doing. Some layouts have them. If you know how they are able to spawn them you could copy that behavior. If you are still learning oUF. Don't try this. It's one of the last steps in your oUF career.