Alpha - Use this to set the transparency of just the texture. It's a percent value. Typed-in values must range from 0 to 100. Anchors - Type in the name of the frame to attach the texture to. Use the Attach Point menu to select which part of the texture attaches to that frame. Use the Attach To menu to select which part of that frame the texture's Attach Point attaches to. Use the X and Y boxes to set how far from the anchor point the texture displays. If a frame has more than one anchor, it will be stretched between all its anchors and will automatically resize if one or more objects it's attached to are moved. Backdrop - Click this button to bring up options for the texture's background. See Backdrop Options. Background Alpha - Use this to set the transparency of just the texture's background. It's a percent value. Typed-in values must range from 0 to 100. Background Color - Use this to modify the color of the texture's background. Clicking the button will bring up a color chooser window you use to set the color. It's the same window chat frames use. Because it modifies a texture's color rather than replaces it, you won't get true color unless your texture is a grayscale. Border Alpha - Use this to set the transparency of just the texture's border. It's a percent value. Typed-in values must range from 0 to 100. Border Color - Use this to modify the color of the texture's border. Clicking the button will bring up a color chooser window you use to set the color. It's the same window chat frames use. Because it modifies a texture's color rather than replaces it, you won't get true color unless your texture is a grayscale. Disable Mouse - Check this to disable all mouse events on the texture. It won't intercept clicks or dragging and it won't detect mouseovers/mouseouts. Font Size - Use this to set the size of the font in which the texture's text displays. Typed-in values can be greater than what the slider allows. Font - Enter the filepath of a font to use for the texture's text. Entering just the file's name will cause the mod to assume it's in the DiscordArt/CustomFonts folder. Frame Strata - Select a strata in which the frame displays. They're listed in order from lowest to highest. Note on some of the higher stratas the texture won't receive mouse input. Height - Use this to set the height of the texture. Typed-in values can be higher than what the slider allows. Hide Background - Check this to hide just the background that displays behind the texture. Hide Text - Check this to hide just the text that displays with the texture. Hide - Check this to hide the entire texture. Highlight Alpha - Use this to set the transparency of just the texture's highlight. It's a percent value. Typed-in values must range from 0 to 100. Highlight Color - Use this to modify the color of the highlight texture. Clicking the button will bring up a color chooser window you use to set the color. It's the same window chat frames use. Because it modifies a texture's color rather than replaces it, you won't get true color unless your texture is a grayscale. Highlight On Mouseover - Check this to cause a highlight texture to be displayed when you move the mouse over the texture. Highlight Texture - Enter the filepath of a texture to use as the highlight texture. Entering just the file's name will cause the mod to assume it's in the DiscordArt/CustomTextures folder. Horiz. Justify - Use this to set the horizontal justification of the texture's text within its bounding box. Move Anchor - Use the drop-down menu to select which anchor you want to move. Left-clicking on the directional buttons (<>v^) will move that anchor by 1 unit in the direction you clicked. Right-clicking a button will move the anchor 10 units. Middle-clicking and holding on a button will keep that anchor moving until you release the middle mouse button. Padding - Use this to set the distance between the texture and its border. Typed-in values can be greater or less than what the slider allows. Parent - Type in the name of a frame you want to set as the texture's parent frame. The texture will hide and show when its parent frame hides and shows. Scale - Use this to set the scale of the texture. It's a percent value. Typed-in values can be higher than what the slider allows. Text Alpha - Use this to set the transparency of just the texture's text. It's a percent value. Typed-in values must range from 0 to 100. Text Color - Use this to modify the color of the texture's text. Clicking the button will bring up a color chooser window you use to set the color. It's the same window chat frames use. Text Height - Use this to set the height of the box that holds the texture's text. Text will be cropped to fit within that box. Text Width - Use this to set the width of the box that holds the texture's text. Text will be cropped to fit within that box. Text - Use this to set the text displayed as a texture's text. Texture Color - Use this to modify the color of the texture. Clicking the button will bring up a color chooser window you use to set the color. It's the same window chat frames use. Because it modifies a texture's color rather than replaces it, you won't get true color unless your texture is a grayscale. Vert. Justify - Use this to set the vertical justification of the texture's text within its bounding box. Width - Use this to set the width of the texture. Typed-in values can be higher than what the slider allows.
** Parent and Anchors:
Color Code | $co | Used to place hexadecimal color codes. All following text will be in that color. Format is $coAARRGGBB; AA = alpha, RR = red, GG = green, BB = blue. $coFFFFFFFF is white and $coFF000000 is black. | ||
Default Color Code | $cs | After using $co you can use $cs to return to the default coloring set for the textbox. |
Preset Backdrops: - Choose a backdrop from the drop-down menu to load its settings. Background Texture - Enter the filepath of a texture to use as the background texture. Entering just the file's name will cause the mod to assume it's in the DiscordArt/CustomTextures folder. Border Texture - Enter the filepath of a texture to use as the border texture. Entering just the file's name will cause the mod to assume it's in the DiscordArt/CustomTextures folder. Tile - Check this to cause the background texture to be tiled. Tile Size - Use this to set the size of the tiles in which the background texture displays. Edge Size - Use this to set the width of the border. Insets - Use these to define how far the background is inset from the outer edge of the border....I think.
KeybindingDown(self, param, ti) - The block of code will be executed whenever the keybinding for the texture is pressed down. KeybindingUp(self, param, ti) - The block of code will be executed whenever the keybinding for the texture is released. OnClick(self, param(mousebutton pressed: "LeftButton", "RightButton" or "MiddleButton"), ti) - The block of code will be executed whenever the texture is clicked. All mouse buttons are registered for each texture. OnEnter(self, param, ti) - The block of code will be executed when the mouse pointer is moved over the area the texture occupies. It only works if the button that holds the texture is visible. OnEvent(self, param(event: the event to be actioned), ti) - The block of code will be executed in response to any game events the texture has been registered to receive. To have a texture register an event, use self:RegisterEvent("event's name"); in the texture's OnLoad handler. OnHide(self, param, ti) - The block of code will be exectued whenever the texture changes state from shown to hidden. OnLeave(self, param, ti) - The block of code will be executed when the mouse pointer is moved over the area the texture occupies. It only works if the button that holds the texture is visible. OnLoad(self, param, ti) - The block of code will be executed once immediately after the mod initializes and once each time you change any of your scripts. OnMouseDown(self, param(mousebutton pressed: "LeftButton", "RightButton" or "MiddleButton"), ti) - The block of code will be executed when a mouse button is clicked down on the texture. OnMouseUp(self, param(mousebutton pressed: "LeftButton", "RightButton" or "MiddleButton"), ti) - The block of code will be executed when a mouse button previously clicked down on the texture is released. OnMouseWheel(self, param(delta (direction): 1 for a scroll-up action, -1 for a scroll-down action "), ti) - The block of code will be executed when the mouse wheel is rolled while the mouse pointer is over the texture. OnReceiveDrag(self, param, ti) - The block of code will be executed when an object attached to the cursor is dragged to the texture and released. OnShow(self, param, ti) - The block of code will be exectued whenever the texture changes state from hidden to shown. OnUpdate(self, param(elapsed: time elapsed since last call to OnUpdate), ti) - The block of code will be executed repeatedly in fraction of a second intervals. Generally it's executed a number of times per second equal to your framerate. The max updates per second can be set in Misc Options. This handler only operates as long as the button that holds the texture is visible.
Scripts Button - - Opens the section of DART for creating and editing texture scripts. Function - The name of your function. Parameters - Function parameters. Can be left blank or define the parameters for your function in the form: param1, param2 or: (param1, Param2). New - Allows for the creation of a new function. Replace the information in the Function and Parameters with you function prototype Test - Test your function for errors before adding or saving. An addon like bugsack is invaluable for testing. Add/Save - This will add your new function or save the function you are editing. Edit - Makes the selected function available for editing testing and saving. Delete - Permanently deletes the selected function.
Options Scale - Use this to set the size of the options window. Updates Per Second - Use this to cap the number of times per second the OnUpdate handlers for your textures are performed. Auto-Lock Dragging - Check this cause dragging to automatically lock when you close the options window. Current Profile - This displays the name of the profile your character is currently using. Different characters can use different profiles and a new profile can be loaded at any time. New Profile - Enter the name of a new profile and click the CREATE button. Your current settings will be copied to the new profile and it will become the active profile. Set Profile - Select a profile from the drop-down menu. Click the LOAD button to load it. Click the DELETE button to delete it. Number of Textures - Use the + and - buttons to set the total number of textures you have available. When you remove a texture, it will always be the highest numbered texture.
World View:
The DART World View small pad of functions that allow you to better see and position your artwork without the full DART Options frame blocking the screen. Closing the World View pad will return you to DART options.
The World View grid* [#]:
Allows you to dislay an alignment grid as well as show/hide and move your textures.
It has the following options:
[| |] Divide the screen in each direction (horizontal, vertical) into the number segments specified (half in each quadrant, requires an even number). [><] Divide the screen into segments separatating the lines using the number of pixels specified. [: :] Show/Hide the grid lines (end points remain visible). [x] Remove the grid. [+] Display both horizontal and vertical lines (toggle). [^] Display vertical lines only (toggle). [>] Display horizontal lines only (toggle)./li> [#] Reset the grid lines after moving. Click a line end point to toggle highlighting of the line. Shift-Click any end point will clear all highlights for that axis. Drag a line end point to move the line (see Reset [#]).
The World View Grid Options [*]:
Allows you to customize the grid colors.
Grid options include:
(+) Set the color of the center lines. ( | ) Set the color of the standard lines. (++) Set the color of the end point highlights (mouse over). (12) Set the color of the line number indicators. (**) Set the color of a line when highlighted. (@) Restore the defult color settings for the grid.
The World View Movers [<>]:
Allows you to select, move and show/hide you DART textures
Pinning the World View:
This will allow you to pin the Wold View (and it's options) open along with the main DART options frame.
If you want just the art to hide so that OnEnter and OnLeave scripts work to show/hide it, use DART_Texture_#_Texture:Show() and DART_Texture_#_Texture:Hide() instead of the DART_Show and DART_Hide functions. Replace # with the number of the texture object.OnUpdate - It holds the amount of time that's passed since the last time OnUpdate was called. It's a fraction of a second. OnEvent - It holds the name of the game event that was just thrown. OnClick, OnMouseUp, OnMouseDown - It holds the name of the mouse button that was just clicked on the texture: LeftButton, RightButton, MiddleButton, Button4, or Button5. OnMouseWheel - It holds the direction the mouse wheel was moved. If param > 0 then the mouse wheel moved up.
DART_Alpha(textureIndex, alpha) - Sets the transparency of the texture; alpha must be a number from 0 to 1. DART_Attach(textureIndex, attach, attachframe, attachpoint, attachto, xoffset, yoffset) - Sets the specified attach point of the texture. Attach is a number from 1 to 4 specifying which attach point to set. Attachframe must be the name of a frame, not a frame object. DART_BackgroundAlpha(textureIndex, a) - Sets the transparency of the texture's background; a must be a number from 0 to 1. DART_BackgroundColor(textureIndex, r, g, b, a) - Set's the color of the texture's background. All parameters must be a number from 0 to 1; a is optional. DART_BorderAlpha(textureIndex, a) - Sets the transparency of the texture's border; a must be a number from 0 to 1. DART_BorderColor(textureIndex, r, g, b, a) - Sets the color of the texture's border. All parameters must be a number from 0 to 1; a is optional. DART_Color(textureIndex, r, g, b, a) - Sets the color of the texture. All parameters must be a number from 0 to 1; a is optional. DART_Height(textureIndex, height) - Sets the height of the texture. DART_Hide(textureIndex) - Hides the texture. DART_HighlightAlpha(textureIndex, alpha) - Sets the transparency of the texture's highlight; alpha must be a number from 0 to 1. DART_HighlightColor(textureIndex, r, g, b, a) - Sets the color of the texture's highlight. All parameters must be a number from 0 to 1; a is optional. DART_MoveDown(textureIndex, attachIndex, amount) - Moves the specified anchor down by the specified amount; attachIndex must be a number from 1 to 4 specifying the anchor point. DART_MoveLeft(textureIndex, attachIndex, amount) - Moves the specified anchor left by the specified amount; attachIndex must be a number from 1 to 4 specifying the anchor point. DART_MoveRight(textureIndex, attachIndex, amount) - Moves the specified anchor right by the specified amount; attachIndex must be a number from 1 to 4 specifying the anchor point. DART_MoveUp(textureIndex, attachIndex, amount) - Moves the specified anchor up by the specified amount; attachIndex must be a number from 1 to 4 specifying the anchor point. DART_Padding(textureIndex, padding) - Sets the amount of space between the texture and its border. DART_Scale(textureIndex, scale) - Sets the texture's scale; scale is a percent. DART_Show(textureIndex) - Shows the texture. DART_StartFlashing(textureIndex) - Causes the texture to start fading in and out repeatedly. DART_StopFlashing(textureIndex) - Stops the texture from fading in and out repeatedly. DART_Text(textureIndex, text) - Sets the texture's text. DART_TextAlpha(textureIndex, a) - Sets the transparency of the texture's text; alpha must be a number from 0 to 1. DART_TextColor(textureIndex, r, g, b, a) - Sets the color of the texture's text All parameters must be a number from 0 to 1; a is optional. DART_TextFontSize(textureIndex, fontsize) - Sets the size of the font the texture's text uses. DART_TextHeight(textureIndex, height) - Sets the height of the box the texture's text is contained within. DART_TextHide(textureIndex) - Hides the texture's text. DART_TextMoveDown(textureIndex, amount) - Moves the text down by the specified amount. DART_TextMoveLeft(textureIndex, amount) - Moves the text left by the specified amount. DART_TextMoveRight(textureIndex, amount) - Moves the text right by the specified amount. DART_TextMoveUp(textureIndex, amount) - Moves the text up by the specified amount. DART_TextShow(textureIndex) - Shows the texture's text. DART_TextWidth(textureIndex, width) - Sets the width of the box the texture's text is contained within. DART_Texture(textureIndex, file, coords) - Sets the texture. File must be a full filepath and you must use 2 \'s where you'd normally use one. For example, Interface\\AddOns\\DiscordArt\\CustomTextures\\Elite. Coords is optional. It's used to define a subsection of the texture to use. It's a table parameter in the form {x1, x2, y1, y2}. DART_Width(textureIndex, width) - Sets the width of the texture.