Download
(25 Kb)
Download
Updated: 02-19-12 02:18 PM
Pictures
File Info
Updated:02-19-12 02:18 PM
Created:02-19-12 02:22 AM
Downloads:463
Favorites:3
MD5:
Notepad
Version: 0.02
by: TimeBomb [More]
A simple notepad addon that allows you to save text notes.

Notes are saved in account-wide profiles, and thus one character's notes can be easily viewed/modified by another character.

Currently, the only way to open Notepad is to type: /notepad
To reset the UI(not the profiles) to default, type /notepad reset
Please note that resetting notepad will revert all unsaved changes.
V0.02
- Increased width and height of text area
- Darkened text area a bit
- Now, when you click anywhere on the text area, it will allow you to start editing the text. (You no longer have to click directly on the line of the text.)
- Some backend UI optimizations. (Thanks adelea.)

V0.01
Initial Release
Archived Files (1)
File Name
Version
Size
Author
Date
0.01
25kB
TimeBomb
02-19-12 02:22 AM


Post A Reply Comment Options
Unread 02-19-12, 09:29 AM  
adelea
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 285
Uploads: 6
Very useful thank you!

One request - is it possible to make the text area a bit darker - sometimes seems a bit hit and miss as to whether I click in it to make it active.

And a note you may not be aware of (bearing in mind your commnet on the riftforums) =)

When you do a UI.CreateFrame(..., context)

You can pass in a frame as the context, which then parents the old frame to the new one. You can then hide/show everything by toggling the display of the parent frame.

Code:
gui.frame = UI.CreateFrame("SimpleWindow", "", Notepad.context)
gui.textArea = UI.CreateFrame("SimpleTextArea", "textarea", gui.frame)
gui.textField = UI.CreateFrame("RiftTextfield", "Textfield", gui.frame)
Then your ToggleVisibility() function can become much shorter:

Code:
function Notepad.ToggleVisibility()
    if not Notepad.visible then
        Notepad.interface.frame:SetVisible(true)
    else
        Notepad_Config.y = Notepad.interface.frame:GetTop()
        Notepad_Config.x = Notepad.interface.frame:GetLeft()
        Notepad.interface.frame:SetVisible(false)
    end
    Notepad.visible = not Notepad.visible
end
adelea is offline Report comment to moderator  
Reply With Quote
Unread 02-19-12, 02:19 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Quote:
Originally Posted by adelea
Very useful thank you!
-snip-
Thanks a lot for your feedback and help. I've just updated to V0.02, and I imagine it'll be approved soon.
Quote:
Originally Posted by V0.02
- Increased width and height of text area
- Darkened text area a bit
- Now, when you click anywhere on the text area, it will allow you to start editing the text. (You no longer have to click directly on the line of the text.)
- Some backend UI optimizations. (Thanks adelea.)
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 02-19-12, 02:51 PM  
adelea
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 285
Uploads: 6
Perfect - thanks - having the whole text area clickable to make it active makes it much much easier!
adelea is offline Report comment to moderator  
Reply With Quote
Unread 06-29-12, 02:39 AM  
D-BorG

Forum posts: 0
File comments: 2
Uploads: 0
list of saved notes

is it possible to have slash command to list all saved notes?
D-BorG is offline Report comment to moderator  
Reply With Quote
Unread 06-27-15, 11:00 PM  
CustomProfile
Premium Member
 
CustomProfile's Avatar

Forum posts: 17
File comments: 19
Uploads: 0
Would it be possible for this to be updated to the current build?
__________________
To be a healer you have to have a pure heart, one that will always think about others before yourself. My fellow man shall not fall as long as I have breathe. Trust me and stand by my side and you shall always be rewarded with life.
CustomProfile is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: