Commit Graph

188 Commits

Author SHA1 Message Date
Kenny Shields
73b8c03b74 Fix #129 2014-07-01 20:02:30 -04:00
Kenny Shields
e975a11247 Add button:GetDown 2014-06-29 12:58:59 -04:00
Kenny Shields
3333dd5202 Add tree object 2014-06-29 01:16:25 -04:00
Kenny Shields
a986bc926a Fix #125 2014-06-20 20:19:33 -04:00
Kenny Shields
9eca9e73ab Fix #123 2014-05-26 19:14:22 -04:00
Kenny Shields
0472742468 Fix bug that would cause tabbuttons to be positioned incorrectly when scrolling with the mouse wheel 2014-05-26 00:54:15 -04:00
Kenny Shields
eb4b5598f0 Prevent textinput.alltextselected from being set to true when the object contains no text 2014-05-17 17:21:33 -04:00
Kenny Shields
c674b46a0c tabs:AddTab now returns the tabbutton object associated with the new tab 2014-05-13 19:35:02 -04:00
Kenny Shields
989c3ebb5e Prevent textinput tabbing when all text is selected 2014-05-07 16:04:12 -04:00
berghton
6fe59ed15d Check if editable when entering text 2014-05-07 01:36:02 +02:00
Kenny Shields
a70de4136a Fix error when calling frame:MakeTop
This error was a result of changes made in commit 1642d10816
2014-05-02 17:14:45 -04:00
Qais Patankar
b564f42a83 Reduce variable usage in Frame:MakeTop fix 2014-04-20 16:26:08 +01:00
Qais Patankar
1642d10816 Removed variables that were only used once
Overoptimisation.
2014-04-16 16:23:04 +01:00
Qais Patankar
cea6a20ea3 Fixed Frame:MakeTop() chaining issue
Thanks to htaeD for reporting this.
2014-04-16 16:14:34 +01:00
Romet
49d8772c15 Added frame close event cancelling
Adds a check whether the OnClose event handler returned false, in which
case it will not remove the object.
2014-04-14 18:52:06 +03:00
Kenny Shields
60ad73f8b7 Remove support for LOVE 0.8.0 2014-04-03 18:55:46 -04:00
Kenny Shields
50718f04c3 Fix #116 2014-03-29 12:07:26 -04:00
Kenny Shields
669fa83d68 Code cleanup 2014-02-26 07:37:20 -05:00
Kenny Shields
f5ca78d4ff Fix minor conflicts in frame drag/resize detection code 2014-02-26 07:37:03 -05:00
Kenny Shields
55869912e4 Frames can now be configured to always be drawn on top of other objects 2014-02-26 07:34:04 -05:00
Ethan Shaughnessy
135fc0b436 Parse new lines in text objects correctly 2014-02-22 14:48:49 -07:00
Kenny Shields
470632ae64 Fix #106 2014-02-14 02:22:02 -05:00
Kenny Shields
6ac09e51ec Add tooltip:GetPadding 2014-02-11 07:35:00 -05:00
Kenny Shields
ffed66b9af Add support for method chaining 2014-02-11 07:34:07 -05:00
Kenny Shields
838ac1c85c Fix text width being calculated incorrectly in certain situations 2014-01-27 07:41:00 -05:00
Kenny Shields
3265575d1e Prevent base menus from extending beyond the boundaries of the application window 2014-01-26 05:40:08 -05:00
Kenny Shields
96726ef447 Add closebutton:SetAutoPosition and closebutton:GetAutoPosition 2014-01-24 22:50:13 -05:00
Kenny Shields
5156ca3ca5 Position closebuttons automatically 2014-01-24 22:48:42 -05:00
Kenny Shields
69e38a4972 Update scrollarea position after initial calculations 2014-01-24 22:45:40 -05:00
Kenny Shields
cb59b59a73 Position scrollbuttons immediately after their creation 2014-01-24 22:17:48 -05:00
Kenny Shields
b8648541a6 Add checkbox skin directives 2014-01-23 08:04:21 -05:00
Kenny Shields
476a11b1e9 The tabs object will only draw tabbuttons that are within its button area 2014-01-20 17:22:40 -05:00
Kenny Shields
63e6f2fdb7 The tabs object will only update its active tab 2014-01-20 17:21:21 -05:00
Kenny Shields
8fddb8635a The list object will only update its children if they are within its boundaries 2014-01-20 17:20:08 -05:00
Kenny Shields
6cede1d844 The columnlistarea object will only update its children if they are within its boundaries 2014-01-20 17:19:21 -05:00
Kenny Shields
eb92fdbb00 Prevent tabbing in numberbox textinputs 2014-01-18 13:14:10 -05:00
Kenny Shields
8d65bf7f2d Add tooltip:GetFollowObject 2014-01-15 10:53:53 -05:00
Kenny Shields
d7964547fb Add tooltip:GetFont 2014-01-15 10:35:30 -05:00
Kenny Shields
97e1877fc7 Add tooltip:GetObject 2014-01-15 10:27:33 -05:00
Kenny Shields
4caf207d62 Add tooltip:GetFollowCursor 2014-01-15 10:21:25 -05:00
Kenny Shields
a714e037c7 Update copyright notices 2014-01-14 06:29:11 -05:00
Kenny Shields
bc3b0427d0 Add tooltip:GetOffsets 2014-01-14 06:19:51 -05:00
Kenny Shields
bbfc10af5e Add tooltip:GetOffsetX and tooltip:GetOffsetY 2014-01-14 06:17:23 -05:00
Kenny Shields
10a1eb31bb Fix #98 2014-01-13 04:24:03 -05:00
Kenny Shields
7f627a2eb6 Fix textinput key repeat not working in 0.8.0 2014-01-10 14:36:32 -05:00
Kenny Shields
baa483b4ba Fix #101 2014-01-08 19:25:13 -05:00
Kenny Shields
2b1627d2a0 Add frame min/max size methods 2014-01-07 20:06:51 -05:00
Kenny Shields
0960a2a08d Add frame:SetResizable and frame:GetResizable 2014-01-07 19:33:30 -05:00
Kenny Shields
83e2dc1adb Rework custom cursor code 2014-01-07 19:21:22 -05:00
Kenny Shields
49dc7ec8ca Add frame resizing functionality 2014-01-07 19:06:03 -05:00
Kenny Shields
ca26c83414 Add menu:RemoveOption 2014-01-06 22:50:52 -05:00
Kenny Shields
d2b76b191d Fix submenu positioning 2013-12-27 06:13:07 -05:00
Kenny Shields
c633156334 Add menu object 2013-12-26 13:30:35 -05:00
Kenny Shields
d38ab2c621 Fix textinput key repeat behavior 2013-12-24 05:55:01 -05:00
Kenny Shields
ebf541e3b6 Added button area methods to the tabs object
Added tabs method: SetButtonAreaX
Added tabs method: GetButtonAreaX
Added tabs method: SetButtonAreaWidth
Added tabs method: GetButtonAreaWidth
Added tabs method: SetAutoButtonAreaWidth
Added tabs method: GetAutoButtonAreaWidth
2013-12-14 11:50:59 -05:00
Kenny Shields
1c5b226ce2 Customizable button areas for the tabs object 2013-12-14 11:29:59 -05:00
Robert Burke
9b556f4c51 Cutting uneditable text is not allowed 2013-12-03 14:16:26 -08:00
Robert Burke
9d1db0343f Add ctrl+x to cut in textinput
Use cmd to do ctrl-ish things on macs
2013-12-03 13:56:33 -08:00
Kenny Shields
9aaf07f66f tabs:AddTab now sets object visibility properly 2013-11-25 23:49:21 -05:00
Kenny Shields
2e71e96cf5 New progressbar methods
Added progressbar method: SetText(text)
Added progressbar method: GetText()
2013-11-25 18:16:59 -05:00
Kenny Shields
f7e96e1ab8 Changes to text object formatting system
Text formatting options are now specified in a single table
Text can now be specified as a link via text formatting options
Link colors can now be specified via text formatting options
2013-11-25 10:18:26 -05:00
Kenny Shields
dbe681ab52 Added form object 2013-11-25 08:06:41 -05:00
Kenny Shields
dbe1ba8170 Changes/fixes for the textinput object
Fixed text duplication while using the arrow keys to move a textinput's
indicator
The textinput's indicator will now move to the beginning or end of the
object's text when using the left or right arrow keys while the object's
text is selected
2013-11-23 08:52:14 -05:00
Kenny Shields
86dd7c2730 Reworked collision detection system 2013-11-22 12:00:06 -05:00
Kenny Shields
0b00ef26d0 fixed textinput keyrepeat (0.8.0) 2013-11-15 01:15:26 -05:00
Kenny Shields
f72f14f7d6 misc textinput changes/fixes
Fixed textinput:Paste not replacing selected text
Fixed text positioning issues when moving a textinput's indicator with
the left and right arrow keys
textinput:SetText now repositions the object's indicator
2013-11-13 15:25:34 -05:00
Kenny Shields
69d0988f5c added skin directives for the text object 2013-11-09 09:30:08 -05:00
Kenny Shields
973bb1b8ef method name changes and misc fixes
Renamed textinput:SetPlaceholder to textinput:SetPlaceholderText
Renamed textinput:GetPlaceholder to textinput:GetPlaceholderText
Fixed textinput placeholder text not displaying correctly in multiline
mode
Fixed columnlist row selection issues
2013-11-07 18:24:23 -05:00
Darkwater
42db717bef Added placeholder to textinput 2013-11-06 23:50:26 +01:00
Kenny Shields
549a1012a6 added 0.9.0 checks to custom cursor operations 2013-11-04 11:50:24 -05:00
Kenny Shields
4734d92376 base code for text object clickable links 2013-11-04 11:23:39 -05:00
Kenny Shields
c9f3d785cb added loveframes.util.GetHoverObject 2013-10-31 04:10:56 -04:00
Kenny Shields
072918fbea textinput custom cursor fixes
Updated the textinput custom cursor code to use the newest 0.9.0 cursor
functions
Fixed textinput custom cursors not being reset in certain situations
loveframes.hoverobject is now used to reference the currently hovered
object
loveframes.downobject has been added to assume the previous role of
loveframes.hoverobject
2013-10-30 19:05:10 -04:00
Kenny Shields
a46a6d697c textinput fixes for 0.9.0
Added callback: textinput(text)
Added base method: textinput(text)
Fixed text processing issues with the textinput object when running Love
Frames with 0.9.0
2013-10-22 18:38:24 -04:00
Kenny Shields
7ed08c984e base code for textinput masking 2013-10-21 12:25:50 -04:00
Kenny Shields
db4979e5dd base code for textinput custom cursors 2013-10-11 05:18:48 -04:00
Kenny Shields
1e987c50a1 Ctrl+v key repeat fix 2013-09-21 06:00:39 -04:00
Kenny Shields
1a6c27c8ba More clipboard functionality/methods
Added ctrl+v key repeat support for the textinput object
Added textinput method: Paste()
2013-09-21 05:51:47 -04:00
Kenny Shields
12ba65041f fixed nil index error in tabbutton:initialize 2013-09-17 22:22:11 -04:00
Kenny Shields
bb5135c8e7 textinput code cleanup 2013-09-17 21:56:16 -04:00
Kenny Shields
bd21bc9887 Integrated textinput.OnTextChanged event with clipboard functionality
textinput.OnTextChanged is now called when the object's text has been
changed via clipboard functionality
fixed clipboard functionality conflicts with the numberbox object
2013-09-16 18:04:28 -04:00
Kenny Shields
8431f323b1 new util library function and textinput fixes
added util library function: TableHasValue(table, value)
fixed ability to bypass textinput restrictions with clipboard
functionality
fixed textinput:GetText appending an extra newline to then end of the
text string
2013-09-16 17:29:53 -04:00
Kenny Shields
bc768d7165 new textinput event callbacks
added textinput event callback: OnCopy(object, text)
added textinput event callback: OnPaste(object, text)
added textinput method: Copy()
added textinput method: SelectAll()
added textinput method: DeselectAll()
2013-09-15 19:51:30 -04:00
Kenny Shields
4d2da0c869 clipboard code cleanup
cleaned up the clipboard code
fixed the ability to paste clipboard contents into a non-editable
textinput
the textinput indicator is now repositioned correctly when pasting
clipboard contents into a multiline textinput
2013-09-14 12:57:15 -04:00
Kenny Shields
fb1acecd63 Merge pull request #78 from qaisjp/patch-1
Rename coulmnlistheader.lua to columnlistheader.lua
2013-09-14 08:40:20 -07:00
Kenny Shields
6d59ccc879 new tooltip methods and clipboard support
added tooltip method SetOffsetX(offsetx)
added tooltip method SetOffsetY(offsety)
added basic clipboard support for the textinput object (0.9.0 only)
fixed text object width issues
fixed an error caused by pressing a function key while a textinput
object was focused
fixed the tooltip object not setting the state of its text object
cleaned up the tooltip object
modified textinput:RunKey to account for changes in the 0.9.0 api
2013-09-14 11:37:01 -04:00
qaisjp
3ba1da6979 Rename coulmnlistheader.lua to columnlistheader.lua 2013-09-07 05:15:43 +01:00
Kenny Shields
8877eb4397 Version 0.9.6.2 - Alpha (see changelog.txt) 2013-08-14 22:09:22 -04:00
Kenny Shields
81837c0095 Version 0.9.6 - Alpha (see changelog.txt) 2013-08-12 09:48:51 -04:00
Kenny Shields
6947e97cc5 Version 0.9.5.14 - Alpha (see changelog.txt) 2013-06-25 06:58:35 -04:00
Kenny Shields
27cad61b0a Version 0.9.5.13 - Alpha (see changelog.txt) 2013-06-24 11:11:02 -04:00
Kenny Shields
0b5cdb6697 Version 0.9.5.12 - Alpha (see changelog.txt) 2013-06-10 12:34:01 -04:00
Kenny Shields
76c6846201 Version 0.9.5.11 - Alpha (see changelog.txt) 2013-05-15 14:02:55 -04:00
Kenny Shields
49b47722e0 Version 0.9.5.10 - Alpha (see changelog.txt) 2013-05-12 07:36:40 -04:00
Kenny Shields
33fd22b1b2 Version 0.9.5.9 - Alpha (see changelog.txt) 2013-05-08 05:13:01 -04:00
Kenny Shields
0723726757 Version 0.9.5.8 - Alpha (see changelog.txt) 2013-05-05 19:51:20 -04:00
Kenny Shields
ed8a78a10c Version 0.9.5.7 - Alpha (see changelog.txt) 2013-04-09 10:51:00 -04:00
Kenny Shields
4614444ca4 Version 0.9.5.6 2013-03-29 15:14:45 -04:00
Kenny Shields
cfa6c17108 Version 0.9.5.5 - Alpha (see changelog.txt) 2013-03-23 15:50:44 -04:00
Kenny Shields
6bbdde17a8 Version 0.9.5.4 - Alpha (see changelog.txt) 2013-03-05 14:46:01 -05:00