Commit Graph

477 Commits

Author SHA1 Message Date
Lynix e3514db87f Sdk/GraphicsComponent: Add methods to update local matrix and render order 2017-04-22 17:11:42 +02:00
Lynix ec310b9577 Sdk/Entity: Fix removed components sometimes not being removed 2017-04-22 12:59:06 +02:00
Gawaboumga eb70453574 State machine as a stack (#123)
* State machine as a stack

* Fix comments linked to code review

* I will think to compile, next time
2017-04-20 12:30:43 +02:00
Lynix 02508fb99d Sdk/BaseComponent: Add GetEntity method 2017-03-20 07:49:01 +01:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Jérôme Leclercq 4ea43e0b0b Sdk/Entity: Fix problem when moving entities 2017-03-08 17:36:13 +01:00
Jérôme Leclercq 0818a2187b Sdk/Entity: Fix OnDetached being called after OnEntityRemove when destructing 2017-03-08 16:32:08 +01:00
Jérôme Leclercq 9c7b2ed4b8 Sdk/World: Fix entity ids being reused before destruction 2017-03-08 15:52:59 +01:00
Lynix 3fe54ff777 Sdk/Entity: Add OnEntityDestruction callback 2017-03-03 17:52:19 +01:00
Lynix 605e5c2fd0 Sdk/BaseComponent: Add OnEntityDestruction callback
Also fixes physics component callbacks (OnContactEnd by example) being
fired while entity is destroyed
2017-03-03 17:52:07 +01:00
Lynix 55d9a22665 NDK/BaseWidget: Children widgets are now automatically parented to their parent 2017-02-23 00:09:39 +01:00
EloD10 ce6eb1d6d9 Update Console.cpp (#117)
* Update Console.cpp

Deleting a semicolon

* Update ButtonWidget.cpp

Removing empty fuction

* Update ButtonWidget.hpp

Removing unnecessary variable
2017-02-22 17:54:00 +01:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Jérôme Leclercq 4df5ec776c Sdk/Entity: Fix entity destruction not calling Component::OnDetached 2017-02-08 16:27:55 +01:00
Lynix 174feda1e9 Sdk/TextAreaWidget: Make cursor sprite black 2017-01-20 20:03:17 +01:00
Lynix cf286e0413 Sdk/Widgets: Add possibility to set cursor when mouse hover a widget 2017-01-20 20:03:00 +01:00
Lynix bb3f395319 Revert "Spoilers.."
This reverts commit e00d00931c.
2017-01-20 19:40:54 +01:00
DrLynix 18862fd1ba Forgot to save those two files 2017-01-20 13:02:19 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
DrLynix e00d00931c Spoilers.. 2017-01-20 10:07:20 +01:00
Lynix 6ba35700bf Sdk/BaseWidget: Cleanup canvas index 2017-01-19 23:09:23 +01:00
Lynix 439f8d0033 Sdk/Canvas: Little cleanup 2017-01-19 21:44:53 +01:00
Lynix 27b000470d Sdk/Canvas: Fix warning and optimize integer to float conversion 2017-01-18 23:39:22 +01:00
Lynix ec795269ad Sdk/TextAreaWidget: Add signals (allowing for controlling the cursor/keys) 2017-01-18 23:38:29 +01:00
Lynix 5d39d60f94 Sdk/TextAreaWidget: Fix commit fail 2017-01-18 23:36:19 +01:00
Lynix 36bcdcdb8c Sdk/Widgets: Make the canvas aware of itself as a widget 2017-01-18 23:35:43 +01:00
Lynix c1dfc5c4b8 Sdk/Widgets: Properly fixes padding 2017-01-18 23:06:31 +01:00
Lynix 679f599c79 Sdk/Console: Fix crash 2017-01-16 21:25:23 +01:00
Lynix c9458eeb17 Sdk/BaseWidget: Add visibility control 2017-01-15 12:13:29 +01:00
Lynix e1e290808a Sdk/Canvas: Fix crash at Canvas destruction 2017-01-15 12:12:58 +01:00
Lynix 5865679891 Sdk/BaseWidget: Add a way to change background color 2017-01-15 12:11:59 +01:00
Lynix 14e327c603 Sdk/TextAreaWidget: Add SetTextColor 2017-01-15 12:11:15 +01:00
Lynix fd923ed58b Sdk/BaseWidget: Add Destroy method 2017-01-11 19:14:32 +01:00
Lynix 6acf101d77 Sdk/BaseWidget: Fix crash at Canvas destruction 2017-01-11 19:14:21 +01:00
Lynix d57498be10 Sdk/BaseWidget: Widget::Add now returns a pointer (easier to use) 2017-01-11 19:13:40 +01:00
Lynix 4f1438f0f1 SDK/BaseWidget: Add OnParentResized method 2017-01-11 18:27:32 +01:00
Lynix e36374dfc4 SDK/Lua: Fix EulerAngles constructor 2016-12-19 18:23:24 +01:00
Lynix e66e0dfdce SDK/TextAreaWidget: Add multiline option 2016-12-06 16:34:23 +01:00
Lynix 7dc600fb34 SDK/TextAreaWidget: Add ReadOnly option 2016-12-06 16:33:55 +01:00
Lynix c781f7cb45 SDK/TextAreaWidget: Improve glyph selection 2016-12-05 20:39:33 +01:00
Lynix d3e3e9cbe2 SDK/TextAreaWidget: Expose cursor 2016-12-05 20:39:13 +01:00
Lynix 6138c02b9b SDK/TextAreaWidget: Make Write public 2016-12-05 16:48:29 +01:00
Lynix 2960157f8f SDK/TextAreaWidget: Fix insertion with accents 2016-12-05 16:10:48 +01:00
Lynix 60fee4bba6 SDK/TextAreaWidget: Add getters methods 2016-12-05 15:22:01 +01:00
Lynix e3e254532d SDK/TextAreaWidget: Add Clear() method 2016-12-05 15:21:47 +01:00
Lynix d6e02d486b SDK/TextAreaWidget: Fix cursor position after inserting special characters 2016-12-05 15:17:11 +01:00
Jérôme Leclercq 58866fd4ac SDK/LuaBinding: Fix File binding 2016-12-03 11:01:57 +01:00
Lynix 85c5f4b48b SDK/TextAreaWidget: Make character erasing work with cursor
Adds support for delete key
2016-12-03 00:41:27 +01:00
Lynix 6c03803c5e SDK/TextAreaWidget: Add cursor shifting by left and right arrows 2016-12-03 00:40:31 +01:00
Lynix d28dab2e36 SDK/TextAreaWidget: Fix cursor handling 2016-12-03 00:39:19 +01:00