Download
(110Kb)
Download
Updated: 10-14-20 04:20 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-14-20 04:20 PM
Created:10-30-08 11:44 PM
Downloads:36,637
Favorites:300
MD5:
Categories:Graphic UI Mods, Utility Mods, Battle for Azeroth Beta

GraphPaper  Popular! (More than 5000 hits)

Version: 1.4.12
by: Vrul [More]

Places a configurable grid on screen to assist in positioning UI components.

Slash Command Options (/graphpaper or /gpaper)
/gpaper backdrop - Toggle displaying the backdrop
/gpaper config - Toggles the Interface options panel
/gpaper gui - Toggles the Interface options panel
/gpaper overlay - Toggles the grid between background/foreground
/gpaper - Toggles hiding/showing the grid lines

Translators: To submit a translation please just edit existing files (example: GraphPaper\Locales\zhCN.lua and GraphPaper_Config\Locales\zhCN.lua) and send them to me.

Version 1.4.12 (10/14/2020)
- Updated for 9.0

Version 1.4.11 (12/24/2018)
- Updated for 8.1
- Changed from using the method CreateTexture to CreateLine
- Removed the Line Spacing option Squaring

Version 1.4.10 (08/17/2018)
- Fix for when GetCVar('gxMonitor') returns a value less than 0

Version 1.4.9 (07/21/2018)
- Library update

Version 1.4.8 (06/09/2018)
- TOC bump for 8.0

Version 1.4.7 (09/02/2017)
- Updated for 7.3

Version 1.4.6 (05/14/2016)
- Resolved a Legion compatibility issue

Version 1.4.5 (10/14/2014)
- Updated for 6.0

Version 1.4.3 (07/07/2014)
- Fixed a bug with the squaring option

Version 1.4.3 (05/01/2014)
- Added options for a backdrop
- Added an option to change which window gets the grid lines: UIParent, WorldFrame, or the entire screen (for most UI's all three will behave the same)

Version 1.4.2 (12/25/2013)
- Changed slash commands
- Added a LDB plugin

Version 1.4.1 (09/09/2012)
- Updated for MoP

Version 1.4 (12/03/2011)
- Updated for 4.3

Version 1.3.5 (07/10/2009)
- Added ConfigMode support
- Added MMOUI Minion support to TOC file (X-WoWI-ID)

Version 1.3.4 (04/28/2009)
- Library update
- Updated zhTW to use zhCN translations

Version 1.3.3 (03/20/2009)
- Using slash commands will now update the configuration panel if its open

Version 1.3.2 (03/10/2009)
- Updated zhCN file

Version 1.3.1 (03/09/2009)
- Fixed a bug with localization files

Version 1.3 (03/09/2009)
- Now uses Ace3 and supports profiles
- Changed to facilitate localization
- Slash commands changed slightly
- Corrected some minor display bugs

Version 1.2 (11/09/2008)
- Removed the Correction setting as it is now calculated automatically

Version 1.1.1 (11/05/2008)
- Fixed a minor bug

Version 1.1 (11/05/2008)
- Added some new options

Version 1.0.2 (11/03/2008)
- Changed the slash command to /graphpaper or /gpaper

Version 1.0.1 (11/01/2008)
- Added some slash command options and fixed an issue with the "correction" setting not saving/reseting properly

Version 1.0 (10/30/2008)
- Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 07-10-09, 11:45 PM  
Trond
A Cliff Giant
 
Trond's Avatar

Forum posts: 74
File comments: 32
Uploads: 0
Just what I was looking for to get my UI elements placed in correct position. Thanks!
__________________
Trond, because you deserve it...?
SDMF
Report comment to moderator  
Reply With Quote
Unread 04-24-09, 11:01 AM  
Zabbath
A Kobold Labourer
 
Zabbath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 16
Uploads: 2
could u have changed the TOC to 30100? I'm one of those who don't like to click on "Load Out of Date Addons" :P
Report comment to moderator  
Reply With Quote
Unread 03-19-09, 06:24 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 143
Uploads: 1
LDB Launcher

I was going to request that an LDB panel button launcher be added for quick click access to the grid and config panels of GraphPaper.

But then I decided it might be a decent starter project for me. So, if anyone is interested and wants a clicky button for GraphPaper, you may try out GraphPaper LDB found under the Optional Files tab here at the GraphPaper portal, or on it's own page here:

GraphPaper LDB

Surprisingly, it works on my system. I would be more than surprised if it worked on other people's systems.
__________________
-- ęsir
Report comment to moderator  
Reply With Quote
Unread 03-15-09, 09:26 PM  
Kuzah
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
Originally posted by Vrul
To submit a translation please just edit the appropriate file (example: GraphPaper\Locales\deDE.lua) and email it to me.
I am working on a new ui and this definitely helped a ton. THANK YOU!

On a side note would you be up for a lib data broker plugin for gpaper or is there one already out there? (I haven't been able to find one yet)
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 08:55 PM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally posted by Aesir
Actually there's a Lua error with 1.3 apparently relating to localization.
Sorry about that. I forgot to trim the commas out after cutting and pasting but it should be fixed now.
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 05:54 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 143
Uploads: 1
Originally posted by Vrul
To submit a translation please just edit the appropriate file (example: GraphPaper\Locales\deDE.lua) and email it to me.
Actually there's a Lua error with 1.3 apparently relating to localization. Here's the ~!Swatter log:

Code:
Date: 2009-03-09 19:51:44
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GraphPaper\Locales\deDE.lua line 6:
   unexpected symbol near '='
Debug:
   [C]: ?
The same error occurs for each of the locales (Edited: Except for my locale - enUS), but I don't include each log entry as it's repetitive.

I tried wrapping each non-enUS block of translations with L={ ... } like we see it done in enUS.lua, but that created a different error. Removing the commas at the ends of each line of translation text eliminated the errors - but I have no way of checking whether or not that breaks the translations in some way. Deleting all the non-enUS also 'fixes' the issue, but that doesn't help the localization requirement too much.
__________________
-- ęsir
Last edited by Aesir : 03-09-09 at 06:51 PM.
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 05:51 PM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
To submit a translation please just edit the appropriate file (example: GraphPaper\Locales\deDE.lua) and email it to me.
Report comment to moderator  
Reply With Quote
Unread 02-21-09, 08:07 PM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
It was /gp originally but there was a conflict with the addon GhostPulse so I changed it to /gpaper. I'll look into changing it so /gpaper toggles the grid on/off for ease of use.

EDIT:

To toggle the grid the slash command is now:
/gpaper

To open the options panel the slash command is now:
/gpaper config
Last edited by Vrul : 03-09-09 at 05:51 PM.
Report comment to moderator  
Reply With Quote
Unread 02-21-09, 02:35 PM  
Kuzah
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
First, thank you for this addon. I was using Align, but this one is so much more versatile.

There's one small suggestion I have.

I was wondering if you could add a /gp that would be the same as typing /graphpaper. Every time I want to show the lines I have to type "/graphpaper show" then "/graphpaper hide" but if you added the /gp that would be awesome!
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 09:29 AM  
Spinhalf
A Defias Bandit

Forum posts: 2
File comments: 41
Uploads: 0
Nice work on this mod

I'm getting this error since the latest upgrade.

[2008/11/06 09:22:42-462-x1]: GraphPaper-1.1\GraphPaper.lua:36: bad argument #2 to 'strsplit' (string expected, got nil)
GraphPaper-1.1\GraphPaper.lua:36: in function <Interface\AddOns\GraphPaper\GraphPaper.lua:35>
GraphPaper-1.1\GraphPaper.lua:46: in main chunk
Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 03:35 AM  
Hapepe82
A Kobold Labourer

Forum posts: 0
File comments: 80
Uploads: 0
This addon is s avery nice idea!! Thank you very much... I have fiddled so often with perfect alignment... It might save me hours for playing instead of configuring
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 12:07 AM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
The bug should be fixed now.
Report comment to moderator  
Reply With Quote
Unread 11-05-08, 10:30 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 143
Uploads: 1
Originally posted by Malice.US
Not that it makes much of a difference, but why don't you give /align 64 a try and see what happens in Align (also works with any value in increments of 32 up till 256)
The documentation for Align isn't so dense that I'd missed the command line switches. However, since you responded indicating that it should work, I decided to test it again and trace through the lua.

The issue I had is that subsequent entries of /align ignore the argument, so when I'd run /align to run it, followed by (for example) /align 64, that just toggled the grid off instead of creating a 64-square wide grid. If I enter /align 64 a second time, it toggles back on with the expected grid. If I edit it, I'll make it so it only toggles off with /align (nil), and otherwise creates a new grid with /align (arg). Thanks.

[Edited: And, yes, thanks for adding in the new option to GP. Playing around with it now.]

Get this !Swatter log at logon:

Date: 2008-11-06 00:52:34
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\GraphPaper\GraphPaper.lua line 36:
bad argument #2 to 'strsplit' (string expected, got nil)

Debug:
[C]: ?
[C]: strsplit()
GraphPaper\GraphPaper.lua:36:
GraphPaper\GraphPaper.lua:35
GraphPaper\GraphPaper.lua:46: in main chunk

__________________
-- ęsir
Last edited by Aesir : 11-05-08 at 11:54 PM.
Report comment to moderator  
Reply With Quote
Unread 11-05-08, 08:51 PM  
Malice.US
A Murloc Raider
 
Malice.US's Avatar

Forum posts: 5
File comments: 40
Uploads: 0
Originally posted by Aesir
One difference is that Align does not display a grid at all when selecting a grid size other than the default value (32) on my display (a resolution of 1680x1050).

Not that it makes much of a difference, but why don't you give /align 64 a try and see what happens in Align (also works with any value in increments of 32 up till 256)
Last edited by Malice.US : 11-05-08 at 08:54 PM.
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 04:49 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 143
Uploads: 1
Originally posted by Samasnier
How is this different from Align?
One difference is that Align does not display a grid at all when selecting a grid size other than the default value (32) on my display (a resolution of 1680x1050).

Suggestions for Graphpaper improvements:
* Disconnect the center line from the rest of the grid. If you change the centerline thickness value from the default (thickest) to another value (e.g, thinnest) you'll see that it moves the grid spacing when it probably shouldn't. The 'fix' option might help - but it is imprecise (because it depends upon the human Mark II Eyeball to determine whether you've created a grid that is perfectly symmetrical).

* Change the slider control for grid spacing so that it displays a numerical value and/or provide an input box so that you can set the value by hand. It's helpful to know the size of a grid square, so that you can ensure you're setting up a grid that divides evenly for a given display resolution. I wouldn't be opposed to seeing the ability to set X axis grid values independently of y-axis grid values, since no monitor in common usage has a 1:1 aspect ratio, meaning it would be (potentially) more useful to be able to setup a grid of rectangles, as opposed to a grid of perfect squares.
__________________
-- ęsir
Last edited by Aesir : 11-03-08 at 04:53 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: