Commit Graph

66 Commits

Author SHA1 Message Date
Lynix 1d86d90ca0 SDK/(Rich)TextAreaWidget: Add character and line spacing offsets 2020-01-26 17:06:39 +01:00
Lynix ea8b71407e Minor improvement 2019-12-29 16:24:38 +01:00
Lynix 453c7a7e77 SDK: (Rich)TextAreaWidget now have alterable text styles 2019-12-28 11:47:34 +01:00
Lynix ba405aaa5f Fix some missing override 2019-12-28 11:44:13 +01:00
Lynix 97418bfe04 RichText: Add support for outline color/thickness 2019-12-28 11:43:48 +01:00
Lynix 8e4df4cadc SDK: Add RichTextAreaWidget (WIP) 2019-09-25 09:36:57 +02:00
Lynix 7da8945c72 SDK/ScrollAreaWidget: Add EnableScrollbar 2019-07-07 16:28:09 +02:00
Lynix 3bda97a60a SDK/TextAreaWidget: OnTextAreaCursorMove now uses a Vector2ui as its second argument
Also add OnTextAreaSelection signal
2019-07-07 00:27:20 +02:00
Lynix d8f6af3191 Fix some stuff 2019-07-07 00:24:02 +02:00
Lynix 8457cb4df7 SDK/TextAreaWidget: Add [Get|Set]TextFont 2019-07-07 00:23:49 +02:00
Lynix e1621bc044 Fix build 2019-07-06 01:09:20 +02:00
Lynix 0ec1480024 Add line wrapping 2019-07-05 23:12:12 +02:00
Lynix 42aa7ca355 SDK: Add ScrollAreaWidget (WIP) 2019-07-05 22:26:11 +02:00
Lynix c4b7534ac1 SDK/TextAreaWidget: Fix clear not setting preferred size 2019-07-05 22:20:13 +02:00
Lynix 2c3bf482de Merge branch 'master' into console-widget 2019-07-03 22:31:17 +02:00
Lynix 29718db085 SDK/TextAreaWidget: Add TextOutline property 2019-06-13 19:05:25 +02:00
Lynix 1c0a234d04 Merge branch 'master' into console-widget 2018-10-31 18:39:14 +01:00
Lynix 400e8e92aa Merge branch 'master' into console-widget 2018-10-29 22:20:58 +01:00
S6066 56922001ba Widgets Fixes (#190)
* CheckboxWidget: Check

* ImageWidget: Check

* LabelWidget: Delete uselessly overridden Layout

* ProgressBarWidget: Check
2018-10-09 23:23:22 +02:00
Jérôme Leclercq 53aa9ea170 Layouts (#189)
* Layout WIP

* Widgets/BoxLayout: Fix layout algorithm

* Widgets/BoxLayout: Fix box layout algorithm for good

* SDK/Widgets: Remove padding

* Sdk/Widgets: Make use of minimum/preferred size

* Sdk/TextAreaWidget: Add Minimum/PreferredSize to TextArea

* Sdk/Widgets: Add height/width variants of get/set fixed, maximum, minimum and preferred size methods

* Sdk/BoxLayout: Remove useless code

* Sdk/TextAreaWidget: Fix compilation

* Widgets/TextAreaWidget: Fix cursor position
2018-09-11 21:03:44 +02:00
S6066 d83c12c2d3 TextAreaWidget: Make Tab writable (#175)
* TextAreaWidget: Make Tab writable

* Implement Tab ena/disabling, disable it by default

* Log change

* Rename Tab Enabling function

* Add useful Write/Delete functions

* Finished!

* whoops

* Fix everything

* whoops

* I don't know why but it works

* whoops

* I'M PUSHING.
2018-08-14 20:53:26 +02:00
S6066 05f277deeb Ndk/TextAreaWidget: Add possibility to write only one specific character category (#174)
* Ndk/TextAreaWidget: Add possibility to write only one specific character category

* Add support for multiple categories

* Use a predicate instead of an enum

* Log change

*  String::FindLast/FindWord: Fix bug where index wouldn't be used (#177)

* String::FindLast/FindWord: Fix bug where index wouldn't be used

* Log change

* Update Physics2D Component and Body (#178)

* Update

* Add: [Get/Set]AngularDaming for standardization

* Fix: Name error

* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D

* Forgot in last commit

* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter

* Add: Some forgotten inline

* Fix little error

* Fix: Indentation before case

* Move and Change GetCenterOfGravity

* Physics2D: Add Arbiter2D

* Fix deprecation warning

* Fix units tests :derp:

* Fixies
2018-08-03 08:43:48 +02:00
S6066 d91c48ab50 Widgets: Force parent parameter to be present (#172) 2018-07-31 13:24:28 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Lynix 65c6996ccd SDK/TextAreaWidget: Add support for line selection 2018-04-15 02:39:19 +02:00
Jérôme Leclercq f44a4dd349 Sdk/TextAreaWidget: Fix SetCharacterSize not updating displayed text 2018-04-12 13:41:09 +02:00
Jérôme Leclercq 917c41f90e Sdk/TextAreaWidget: Fix GetGlyphIndex not being const + add overload returning current glyph index 2018-04-12 13:40:39 +02:00
Jérôme Leclercq 2da086b7df New Render queues (#161)
* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Graphics/RenderQueues: Add full support for billboards

* Graphics/RenderQueue: Cleanup and improve billboard rendering

* Graphics/RenderQueue: Fix model drawing

* Examples/Particles: Fix lighting on space station

* Graphics: Cleanup forward render queue/technique

* Fix compilation under Linux

* Graphics/ForwardRenderTechnique: Fix case when scissoring is enabled on material but disabled on element

* Add support for Deferred Shading

* SDK/Widgets: Fix widget rendering

* Graphics: Remove legacy code from render queues

* Graphics: Fix some objects sometimes not showing up due to broken scissor box

* Fix compilation error

* Sdk/GraphicsGraphics: Fix bounding volume

* SDK/World: Fix self-assignation

* Update changelog for render queues
2018-04-11 19:36:52 +02:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 1d32557856 Sdk/TextAreaWidget: Fix Clear 2018-01-03 20:43:24 +01:00
Jérôme Leclercq 377dd992b9 Sdk/Canvas: Implement tab/shift-tab to switch to next/previous widget 2017-11-23 14:48:59 +01:00
Jérôme Leclercq 4116984f9f Sdk/Canvas: Rename widgetbox to widgetentry 2017-11-23 13:54:58 +01:00
Jérôme Leclercq 3cff3fbadc Sdk/TextAreaWidget: Fix cursor showing up on readonly text area 2017-11-23 13:24:13 +01:00
Jérôme Leclercq 0a5cbe656f Math/VectorI: Make array/pointer constructor explicit 2017-11-23 13:21:51 +01:00
Lynix 55bbc282db Sdk/TextAreaWidget: Fix compilation 2017-11-11 18:53:51 +01:00
Lynix 0487b282d7 Sdk/TextAreaWidget: Show cursor as long as focus is active 2017-11-11 18:42:30 +01:00
Lynix 2b88d81294 Sdk/TextAreaWidget: Refactor cursor position
In order to have only one cursor instead of two
2017-11-11 18:18:44 +01:00
Jérôme Leclercq e3f21b7268 Sdk/TextAreaWidget: Add OnTextChanged signal 2017-11-10 13:13:33 +01:00
Jérôme Leclercq bb6e032b60 Sdk/TextAreaWidget: Add support for EchoMode 2017-11-10 13:12:04 +01:00
S6066 2ed9691c80 Added ImageWidget (#139)
* Added ImageWidget

* Remove useless ResizeToContent function

* Add ResizeToContent function

* Forgot operators

* Added textures & colors functions

* oops
2017-11-06 16:50:52 +01:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Lynix bccbc0dbf1 Move warning fixes! 2017-09-30 15:23:05 +02:00
S6066 3d4585ec4a Added functions to customize ButtonWidget (#133)
* Made ButtonWidget more usable

* Fix static functions

* Reorder static functions

* Deteriorate ButtonWidget
2017-09-16 14:19:11 +02:00
S6066 81f7e943df Add Progress Bar Widget (#132)
* Started Checkbox Widget (buggy)

* Added features

* Added enabling feature

* Almost finished Checkbox

* Bugfix

* Bugfixes

* Use a better name

* Optimizations

* Added explicit colors

* ...

* changed lots of things

* Almost finished CheckboxWidget

* Almost almost finished

* Use better UTF8 box

* Edited encode resources script to encode SDK resources

* Finished checkbox widget

* Forgot to delete old function

* Forgot to delete todo comment

* Fix Travis compilation

* Fix Travis compilation a second time

* Fix Travis Compilation a third time

* Fix indentation

* Fix Files encoding

* Moved CheckboxState enum in (new) Enum.hpp

* Probably looks like more generated now

* Reorder CheckboxWidget members

* Reorder checkbox state members

* Reorder members 2...

* Oops

* Reorder members functions

* Fix encoding

* Fix files encoding

* Forgot to fix one file encoding

* Fix SDK Server

* Fix encoding again -_-

* Oops

* Added ProgressBarWidget

* Finished (?) Progress Bar Widget

* Optimize Checkbox Widget

* Fix .gitignore

* Removed .vs in gitignore

* Moved Enums into Widgets folder

* Bugfix

* Fix Encode Resources script

* Remove double line feeds

* Rename SetNextState to SwitchToNextState

* Added ProgressBarWidget

* Finished (?) Progress Bar Widget
2017-08-30 15:17:54 +02:00
S6066 55ca4a84ea Added CheckboxWidget (#130)
* Started Checkbox Widget (buggy)

* Added features

* Added enabling feature

* Almost finished Checkbox

* Bugfix

* Bugfixes

* Use a better name

* Optimizations

* Added explicit colors

* ...

* changed lots of things

* Almost finished CheckboxWidget

* Almost almost finished

* Use better UTF8 box

* Edited encode resources script to encode SDK resources

* Finished checkbox widget

* Forgot to delete old function

* Forgot to delete todo comment

* Fix Travis compilation

* Fix Travis compilation a second time

* Fix Travis Compilation a third time

* Fix indentation

* Fix Files encoding

* Moved CheckboxState enum in (new) Enum.hpp

* Probably looks like more generated now

* Reorder CheckboxWidget members

* Reorder checkbox state members

* Reorder members 2...

* Oops

* Reorder members functions

* Fix encoding

* Fix files encoding

* Forgot to fix one file encoding

* Fix SDK Server

* Fix encoding again -_-

* Oops

* Optimize Checkbox Widget

* Fix .gitignore

* Removed .vs in gitignore

* Moved Enums into Widgets folder

* Bugfix

* Fix Encode Resources script

* Remove double line feeds

* Rename SetNextState to SwitchToNextState
2017-08-30 10:25:42 +02:00
Jérôme Leclercq 061b358857 Sdk/ButtonWidget: Fix layout not triggering when updating text 2017-08-08 16:34:22 +02:00
Lynix 4e9508e23a TextAreaWidget: It feels natural now *.* 2017-08-06 23:40:41 +02:00
Lynix 5aa2efc737 TextAreaWidget: Add support for 2D cursor 2017-08-06 23:37:35 +02: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