Download
(14Kb)
Download
Updated: 12-05-07 09:03 AM
Pictures
File Info
Updated:12-05-07 09:03 AM
Created:unknown
Downloads:2,521
Favorites:4
MD5:

LegoBlock

Version: r144
by: JoshBorke [More]

LegoBlock lets you create a small block to display information in it like time, performance, haste or anything you can think of! Blocks can be snapped together in any position or order you can do simple things like snap them together into a long line to be positioned at the top of your UI, or you can snap them together in an "L" position and so on.

Theres two methods of snapping blocks together, one is simply to drag it to another block and it'll snap to the closet block for example if you drag block "A" to the bottom of block "B" it'll snap to the bottom, if you snap it to the left side of "B" it'll snap to that side and so on. If you have muultiple blocks and you need to specifically choose which one to snap to then drag block "A" into block "B" and you can choose which side to snap to without it trying to snap to anything else.

Blocks that are snapped togther become a group, if you have A, B and C you can drag any of those 3 and they'll all move together when you want to unsnap a block from a group hold down CTRL and drag it out.

LegoBlock is meant to display information, not as a methods of launching or viewing configuration.

For API see http://www.wowwiki.com/LegoBlock

Optional Files (0)


Post A Reply Comment Options
Unread 12-05-07, 11:02 PM  
Flarin
A Frostmaul Preserver
 
Flarin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 212
Uploads: 1
Getting started- need help...

I loaded this mod and was unable to see any options or any items to be displayed. I installed the OptionHouse mod in case that was what was missing but OptionHouse didn't find this mod.

How does one display items and configure them?

Thanks for the help - sorry if this is obvious but I couldnt figure it out.
__________________

"I will crush and destroy and...ooo...shiny..."

[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 12-05-07, 11:10 PM  
JoshBorke
A Chromatic Dragonspawn
 
JoshBorke's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 59
Uploads: 5
This doesn't do anything by itself, it's just a simple framework/library to make it easier to create these information blocks

--edit
check out the API page for the API
look at TimeBlock or PerfBlock or HasteBlock for examples of mods that use LegoBlock
Last edited by JoshBorke : 12-05-07 at 11:11 PM.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 02:12 PM  
Kelem
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 118
Uploads: 2
*edit*

Found how to move, now I need to find out how to add a "lock" button..

Also, is there a way to make the table show 2 columns instead of just 1?
Or a way to build 2 blocks from one Lua/config that lock side by side without making another addon folder?
Last edited by Kelem : 12-08-07 at 03:05 PM.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 04:55 PM  
JoshBorke
A Chromatic Dragonspawn
 
JoshBorke's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 59
Uploads: 5
sure can, just call LegoBlock:New() again and you'll get a second lego block, you can have as many as you want. There's a Lego Addon on the LegoBlock SVN that lets you create as many blocks as you want for testing.
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 08:54 PM  
Kelem
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 118
Uploads: 2
Originally posted by JoshBorke
sure can, just call LegoBlock:New() again and you'll get a second lego block, you can have as many as you want. There's a Lego Addon on the LegoBlock SVN that lets you create as many blocks as you want for testing.
Thanks, I'll have to jack around with it.

I'm far from a coder, especially with LUA.

But I have managed to hack apart PerfBlock and make it work with movement (just not locking) and got it to list out the different spell functions I'm wanting.

However, I think that addon is using an older version of LB and I have yet to figure out any of the others (time, spell, haste, etc) to get them to do what I'm wanting to do.

Oh wells, learning curves
Report comment to moderator  
Reply With Quote
Unread 12-11-07, 08:07 AM  
JoshBorke
A Chromatic Dragonspawn
 
JoshBorke's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 59
Uploads: 5
you can join us on IRC if you want to have a real time discussion with many different coders. you can also PM me here if you have specific questions, more than happy to help
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: